beautypg.com

Paxar Gold 6037EX User Manual

Page 54

background image

4-18 Programmer’s Manual

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

Description

Calibrates supplies in the printer.

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 message (“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 and

pclPaperSetup, it should not use

pclCalibrate.

Syntax

unsigned short far pclCalibratePaper(

unsigned short far* lpusStockLength,

unsigned short far* lpusStockWidth);

Parameters

lpusStockLength

Pointer to the calibrated supply length in
hundredths of an inch. Returned values are
55-400.

lpusStockWidth

Pointer to the calibrated supply width in
hundredths of an inch. Returned values are

0

(not calibrated),

120, 150, or 200.