Datamax 7A300007 Rev. 2 manual Black Mark Sensing Control Commands, Esc C, Esc Q R Cr

Page 39

Cancel Magnetic Card Data Read Command

ESC C

This command cancels the MCR read process. The printer returns to online operation mode.

Escape Sequence:

ESC

C

Hexadecimal:

1B

43

Decimal:

27

67

Note that after executing this command the printer will send the message “, 09, Cancel Request” to the host.

Black Mark Sensing Control Commands

Set Paper-Out Sensitivity

ESC Q Q n CR

This command sets the paper-out sensor sensitivity level. 0 ≤ n ≤ 255.

This command sets the number of 0.125mm dot rows that the printer can advance paper before the sensor detects an out of paper error. The length of the paper sensitivity must be larger than the length of the black mark on the media to avoid paper out error.

The value selected for the sensitivity is dependent upon the height of the pre-printed black mark located on the label or form stock. The default power-on value n is 255 (0xFF).

Example: The following escape sequence sets the paper sensitivity to 6.25mm (50*0.125)

Escape Sequence:

ESC

Q

Q

50

Hexadecimal:

1B

51

51

32

Decimal:

27

81

81

50

Enable Black Mark Reporting

ESC Q R CR

This command enables the printer to send reporting messages to the host. Refer to “Black Mark Found” and “Black Mark not found” commands for details of the messages that are activated.

Escape Sequence:

ESC

Q

R

CR

Hexadecimal:

1B

51

52

0D

Decimal:

27

81

82

13

Disable Black Mark Reporting

ESC Q r CR

Prevents the printer from sending report messages to the host. Refer to “Black Mark Found” and “Black Mark not found” commands for details of the messages that are deactivated

Escape Sequence:

ESC

Q

r

CR

Hexadecimal:

1B

51

72

0D

Decimal:

27

81

114

13

33

Image 39
Contents Apex & Andes Series Page Copyrights Document Revision History Contents Communications Settings ’Neil Line Print modeDip Switch Settings Introduction Datamax-O’Neil Printer Command Language ExPCLXoff CommunicationsEOT XONSelect Character Set Esc F n Select Character Pitch Mode ESC K n CRCharacter Sets Character Size and Line SpacingSelect Character Pitch Mode ESC k n Apex APEX4Andes3 Character Size and Line Spacing Width and Height Character Attributes Emphasized Printing Mode ESC U nUnderline Printing Mode ESC U n Selection U Underline Mode on u Underline Mode OFFReverse Print ESC U n Right to Left and Left to Right Printing ESC F nSelection R Reverse printing on n Reverse printing OFF Horizontal Tab Horizontal PositionCarriage ReturnCR BackspaceVariable Size Reverse Line Feed ESC Q J n Vertical PositionLine FeedLF Variable Size Line Feed ESC J nSet Form Feed Length in Dot Lines ESC T F n1 n2 Bar CodesSet Vertical Tab Height ESC T V n Form FeedPrint Bar Code with Human Readable Text Code 39 SpecificationsCode 128 Specifications Description Character set Elements per symbolHEX DEC Code a Code B Code C Description UCC/EAN-128 SpecificationsUPC/EAN/JAN Specifications Interleaved 2 of 5 SpecificationsCodabar Specifications Symbol Character densityElements per Character set QR Code Models GS1 DataBar SpecificationsDecimal Page Page Page QR Code Specifications Error correction Symbol Character/symbolCompaction Mode Description Encoding Capability Security Level # Error-Check Code WordsElement Width Value Length in mil Graphics Barcode Height Multiplier ESC z h nBit Graphics Bit Compressed Graphics Graphic String ComponentFunction ESC P $ Enable Buffer ModeDisable Buffer Mode Select Online Mode Printer Controls Data ProcessingESC P Printer Controls Printed Output AdjustPrint Buffer Contents Buffer Mode ESC P +ESC @ Printer Controls ResetPrinter Controls Power CanCommand String Printer Response Extended Auto Power Down CommandPrinter Status Commands STXSYN Track Position Track2 Track3 Magnetic Card Command String DescriptionMagnetic Card Reader Query Printer Model and Hardware Revision LevelInterfacing to the Magnetic Card Reader Magnetic Card Read Error MessagesError # Magnetic Card Data Output FormatBlack Mark Sensing Control Commands ESC CESC Q R CR Black Mark Sensing Auto Mode Black Mark Sensing Command ModePrinted Receipt/Label Presenter Positive Adjust ESC Q P n Enable Back Black Mark Sensor ESC Q b e CRDisable Back Black Mark Sensor ESC Q b d CR Printed Receipt/Label Presenter Positive Adjust ESC Q D + nESC P P Print Commands ConfigurationPrinted Receipt/Label Presenter Negative Adjust ESC Q D n Enter the Page Printing ModePrint Commands Draw Commands Draw Rectangle DrawRectangle x1, y1, x2, y2,color,width Command NameHeight Type Value Barcode typeForm FiestaTM Download Printer Default Setup ESC D SESC S L Print Hardware Information ESC L g Download Self test Message Hardware InformationStart Hardware Information download process ESC SESC D L CR LF Download LogoDisplay Tables Information Enable Font DownloadingDownload Fonts ESC D F CRESC F Disable Font Download ModeDisplay Font Download Current Settings ESC F S m t k f CR ESC D I CRFlash Select Load Operating Mode ESC F M m CRESC F B CR Important Font Downloading NotesExample 2 BBX 08 23 0 Example 1 BBX 08 23 0Select Pass-Thru Command Mode ESC P U n1 U n2 T t0 t1 t2 CR Bluetooth & WiFi Setup CommandEmulation Language ’Neil Line Print modeEmulation Select Emulation ESC E nEsc C n Esc a n Can Esc V n1 n2 OFF 2USB Communications SettingsDip Switch Settings OFFXON/XOFF Protocol RJ25 Connector PIN # Functional Description Signal NameSerial Communication RS232C Serial Busy ProtocolOverview RS232C Technical SpecificationsDip switch setting USB Communication USBTeraTerm Example Bluetooth CommunicationsSoftware Driver Installation USB Technical SpecificationsSettings Bluetooth Interface Power ModificationManual Power OFF Mode Automatic Power OFF ModeStatus Condition Function Wi-Fi Communication OptionPrinter Status Indicator LED Panel LEDLED # LED Color/ Status Description LED #Action Required Replaceable Fonts Appendix a Flash Font TablesReplaceable Fonts Tables Factory FontsCourier PC Line Graphic Table Courier International Font TableRotated Font Table Monospace Font Table