Variable sleep_after – CognitiveTPG DLXi User Manual
Page 257
P R I N T E R S E T U P
VARIABLE SLEEP_AFTER
Function
Sets the amount of time a portable printer will stay
awake after completing a print job.
Explicit Form
Implicit Form
VARIABLE SLEEP_AFTER duration
V SLEEP_AFTER duration
Parameters
duration
Length of time the printer will stay
awake, in seconds. The allowable
range is 0 to 255, with a default of
one second.
Setting duration to 0 will keep the
printer awake continuously.
? returns the current setting.
Comments
When using this command, send it to the printer
with VARIABLE WRITE in a nonprinting label
format. Do not use this command in stored label
formats.
NOTE: CognitiveTPG does not recommend setting a
long
SLEEP_AFTER
duration unless the printer is
powered from an external source. Keeping the printer
awake for long periods will substantially reduce battery
charge life.
See also
Example
The following label format tells the printer to stay
awake for 30 seconds after each print job:
! 0 0 0 0
VARIABLE SLEEP_AFTER 30
VARIABLE WRITE
END
248
Revision F, January 2012, CognitiveTPG