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

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