beautypg.com

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

Page 213

background image

A-2 Programmer’s Manual

S a m p l e 1

Function

Prints with the trigger.

Algorithm

1. Initializes the Print subsystem using pclInit without allocating

font storage memory.

2. Calibrates the supplies with pclCalibrate.

3. Loads fixed format and batch packets with pclWrite. The

quantity is 0, so the sample images the format, but does not
print it.

4. Waits for the operator to press the trigger.

5. Uses pclBatteryOktoPrint to check whether the battery is

charged enough for printing.

6. Loads the batch update packet with pclWrite.

7. Waits until the label prints by checking pclStatus repeatedly

until it returns something other than “busy.”

8. Closes the Print subsystem.

S a m p l e 2

Function

Prints using the on-demand sensor.

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. This format defines the

feed mode as on-demand.