beautypg.com

Paxar Gold 6037EX User Manual

Page 49

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.

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);