Datamax 7A300007 Rev. 2 manual Extended Auto Power Down Command, Command String Printer Response

Page 35

Example 1: The command Esc M 0 0 0 CR Disables the power out timer

Example 2: The command Esc M 9 9 0 CR Sets the timer to 99 seconds

Note that spaces are not part of the command

Extended Auto Power Down Command

ESC M HH MM SS 0 CR

The ‘Set Auto Power Down’ command allows the user to program the printer to automatically shut down after a certain length of inactivity. This command accepts the following formats: (1) seconds, (2) minutes and seconds, or (3) hours, minutes and seconds. When used in conjunction with the Default Power-Up Setup command, this command will allow for the power down timer value to be saved permanently in Flash.

The following table details the available formats for this command:

Command String

Printer Response

Esc–‘M’–‘S1 –‘S2’–‘0’–CR

Sets the printer Auto power down timer to S1S2

 

seconds

Esc–‘M’–‘M1’–‘M2’–‘S1 –‘S2’–‘0’–CR

Sets the printer Auto power down timer to M1M2

 

minutes S1S2 seconds

Esc–‘M’–‘H1’–‘H2’–‘M1’–‘M2’–‘S1 –‘S2’–‘0’–CR

Sets the printer Auto power down timer to H1H2

 

hours M1M2 minutes S1S2 seconds

Here, H1H2, M1M2 and S1S2 are two decimal characters that denote hours, minutes and seconds respectively. Values range from ‘00’ to ‘99’ with values over 59 being carried over. Up to 18 hours may be specified. The CR character at the end of the command is mandatory.

Example 1: This escape sequence sets the Auto power down timer to 54 seconds

Escape Sequence:

ESC

M

5

4

0

CR

Hexadecimal:

1B

4D

35

34

30

0C

Decimal:

27

77

53

52

48

13

Example 2: This escape sequence sets the Auto power down timer to 1 hour 16 minutes 54 seconds. Note that 76 minutes was converted to 1 hour 16 minutes.

Escape Sequence:

ESC

M

7

6

5

4

0

CR

Hexadecimal:

1B

4D

37

36

35

34

30

0C

Decimal:

27

77

55

54

53

52

48

13

Example 3: This escape sequence sets the Auto power down timer to 18 hours. Note that 98 hours got truncated to 18 hours

Escape Sequence:

ESC

M

9

8

7

6

5

4

0

CR

Hexadecimal:

1B

4D

39

38

37

36

35

34

30

0C

Decimal:

27

77

57

56

55

54

53

52

48

13

29

Image 35
Contents Apex & Andes Series Page Copyrights Document Revision History Contents Dip Switch Settings Communications Settings’Neil Line Print mode 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 SpacingAndes3 Select Character Pitch Mode ESC k nApex APEX4 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 OFFSelection R Reverse printing on n Reverse printing OFF Reverse Print ESC U nRight to Left and Left to Right Printing ESC F n 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 SpecificationsHEX DEC Code a Code B Code C Code 128 SpecificationsDescription Character set Elements per symbol Description UCC/EAN-128 SpecificationsUPC/EAN/JAN Specifications Interleaved 2 of 5 SpecificationsElements per Codabar SpecificationsSymbol Character density Character set QR Code Models GS1 DataBar SpecificationsDecimal Page Page Page QR Code Specifications Error correction Symbol Character/symbolElement Width Value Length in mil Compaction Mode Description Encoding CapabilitySecurity Level # Error-Check Code Words Bit Graphics GraphicsBarcode Height Multiplier ESC z h n Function Bit Compressed GraphicsGraphic String Component 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 CommandSYN Printer Status CommandsSTX 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 FormatESC Q R CR Black Mark Sensing Control CommandsESC C 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 ESC S L Download Printer Default SetupESC D S 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 LEDAction Required LED #LED Color/ Status Description LED # Replaceable Fonts Appendix a Flash Font TablesReplaceable Fonts Tables Factory FontsCourier PC Line Graphic Table Courier International Font TableRotated Font Table Monospace Font Table