Mobile Printing Systems
CPCL Programming Manual
Section 8
Advanced
Commands
pg. 8-15
ON-OUT-OF-PAPER Command
This command can be issued to instruct the printer as to the course of action to take when it encounters
an error while printing the label (such as running out of stock)
Format:
{command} {action} {number of retries}
where:{ command}: ON-OUT-OF-PAPER
{action}: Choose one of the following:
PURGE: Discard the label if print error is encountered after the specified number of
attempts.
WAIT: Do not discard the label if print error is encountered. In this mode the printer will wait
for the error to be corrected before making the next print attempt.
{number of retries}: n: Specify how many times the printer should attempt to print the label.
The default printer configuration is: ON-OUT-OF-PAPER PURGE 2
ON-OUT-OF-PAPER Command Example
This example instructs the printer to attempt to print the label twice.
Input:
! 0 200 200 150 1
ON-OUT-OF-PAPER WAIT 2
TEXT 5 0 0 20 MAKE TWO ATTEMPT
FORM
PRINT
Comments to this Manuals