beautypg.com

Paxar Gold 6037EX User Manual

Page 71

background image

Function Reference 4-35

p c

l

I n i t

Description

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

Initialize and close the Print subsystem only

once in the application.

Syntax

short far pclInit(void);

Parameters

None

Return Values

0 Successful.


Example

#include

#include

#include

#include "mmsultra.h"

void main(void)

{

short sStatus = 0;

// Status of comm. calls

// Start Print subsystem

sStatus = pc

l

Init(NULL);