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

Page 75

Advertising
background image

4-34 Programmer’s Manual

p c l

I n i t

Description

Initializes the Print subsystem with normal memory. An
application must call this function before calling any other pcl
functions.

Before calling this function:

1. If you are using a font other than the internal font (ID #2),

allocate memory for font storage (the amount needed varies
by font). See “Font Memory Requirements” in Chapter 5 for
more information.

Use any C/C++ statement to allocate/de-

allocate the memory you need.

2. Set the values for the fields in the PRINTINIT data

structure. Enter zero in both fields if you are not using
downloadable fonts.

Initialize and close the Print subsystem only

once in the application.

Syntax

short far pcl Init(LPPRINTINIT lprPrintInit);

Parameters

lprPrintInit

Pointer to a PRINTINIT data structure.

Advertising