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

Page 54

Advertising
background image

Function Reference 4-13

p c l C a l i b r a t e

Description

Calibrates the supplies in the printer and gives the supply
information to the Print subsystem. You have the option of
writing other functions to prompt the operator to override the
calibrated values before the supply information is given to the
Print subsystem.

Operators can load supplies (as described in the Equipment
Manual) before running an application, but they cannot calibrate
the supplies until the application calls this function. In general,
you should display a prompt (“Load your supplies,” for example)
and require the operator to press a key (the trigger might be
easiest) prior to calling this function.

Do not use this function when using fax paper because it has no
black mark to detect.

If an application uses this function, it should

not use pclCalibratePaper and

pclPaperSetup.

Syntax

unsigned short far pascal pclCalibrate(

unsigned short usStockLength,

unsigned short usStockWidth,

unsigned short usStockType,

LPFNSUPPLYTYPEPROMPT

lpfnSupplyTypePrompt,

LPFNSUPPLYPROMPT lpfnSupplyPrompt);

Advertising