beautypg.com

Paxar Gold 6037EX User Manual

Page 209

background image

Sample Applications A-3

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

Function

Prints a strip of labels.

Algorithm

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.