Avery Dennison 6035 Programmer Manual Rev.CA 6/01 User Manual

Page 214

Advertising
background image

Sample Applications A-3

4. Uses pclBatteryOktoPrint to check whether the battery is

charged enough for printing.

5. Loads a fixed batch with pclWrite.

6. Waits until the label prints by checking pclStatus repeatedly

until it returns something other than “busy.”

7. Closes the Print subsystem with pclClose.

S a m p l e 3

Function

Prints a strip of labels.

Algorithm

1. Initializes the Print subsystem using pclInit without allocating

font storage memory.

2. Calibrates the supplies with pclCalibrate.

3. Loads a fixed format with pclWrite.

4. Uses pclBatteryOktoPrint to check whether the battery is

charged enough for printing.

5. Prompts the operator to enter a quantity and builds the batch

dynamically with that number and other data.

6. Loads a batch with pclWrite.

7. Waits until the labels print by checking pclStatus repeatedly

until it returns something other than “busy.”

8. Closes the Print subsystem with pclClose.

Advertising