S a m p l e 6
F u n c t i o n
Scans and prints.
A l g o r i t h m
1. Initializes the Print subsystem without allocating font storage memory.
2. Loads a format.
3. Enables the scanner.
4. Performs the following until the operator presses the trigger, b (to break out of the loop), or f+0 to calibrate supplies.
A. Initiates a scan.
B. Checks whether the battery is charged enough for printing.
C. Loads the batch, prompting for a quantity.
D. Waits until the label prints by checking the status repeatedly until it returns something other than “busy.”
5. Disables the scanner.
6. Closes the Print subsystem.
S a m p l e 7
F u n c t i o n
Scans and prints.
A l g o r i t h m
1. Initializes the Print subsystem without allocating font storage memory.
2. Loads a format.
3. Enables the scanner.
Sample Applications