Datamax-O'Neil APEX Series Programmer’s Manual User Manual

Page 35

Advertising
background image

29

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’–‘S

1

’ –‘S

2

’–‘0’–CR

Sets the printer Auto power down timer to S

1

S

2

seconds

Esc–‘M’–‘M

1

’–‘M

2

’–‘S

1

’ –‘S

2

’–‘0’–CR

Sets the printer Auto power down timer to M

1

M

2

minutes S

1

S

2

seconds

Esc–‘M’–‘H

1

’–‘H

2

’–‘M

1

’–‘M

2

’–‘S

1

’ –‘S

2

’–‘0’–CR

Sets the printer Auto power down timer to H

1

H

2

hours M

1

M

2

minutes S

1

S

2

seconds

Here, H

1

H

2

, M

1

M

2

and S

1

S

2

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


Advertising
This manual is related to the following products: