![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/b/d9/bd9e30cc-fc90-405c-8c02-9bf3135ac56c/bd9e30cc-fc90-405c-8c02-9bf3135ac56c-bgd0.png)
A-2 Programmer’s Manual
Sample 1
Function
Prints with the trigger.
Algorithm
1. Initialize the Print subsystem without allocating font storage
memory.
2. Loads a format packet.
3. Performs the following until the operator presses the trigger (to
print), b (to break out of the loop), or f+0 to calibrate
supplies.
A. Checks whether the battery is charged enough for printing.
B. Loads a batch packet and prints the format.
C. Waits until the label prints by checking the status
repeatedly until it returns something other than “busy.”
4. Closes the Print subsystem.
Sample 2
Function
Prints using the on-demand sensor.
Algorithm
1. Initializes the Print subsystem without allocating font storage
memory.
2. Loads a format packet. This format defines the feed mode as
on-demand.
3. Checks whether the battery is charged enough for printing.
4. Loads a batch packet and prints the format.