5. Waits until the label prints by checking the status repeatedly until it returns something other than “busy.”
6. Closes the Print subsystem.
S a m p l e 3
F u n c t i o n
Prints a strip of labels.
A l g o r i t h m
1. Initializes the Print subsystem without allocating font storage memory.
2. Loads a format packet.
3. Performs the following until an error occurs
A. Checks whether the battery is charged enough for printing.
B. Prompts the operator to enter a quantity and builds the
batch dynamically with that number and other data.
C. Builds the batch and prints the label(s).
D. Waits until the labels print by checking the status repeatedly until it returns something other than “busy.”
3. Closes the Print subsystem.
Sample Applications