Function Reference 4-37
p c l O p e n
Description
Loads MPCL packets from the specified file. Generally you use
this function for fixed packets, such as formats. An application
can call this function as often as needed. It is not necessary to
open a particular file more than once in an application.
Syntax
short far pclOpen(char far* lpszFileName);
Parameters
lpszFileName
The fully-qualified path for the file containing the
MPCL packets. If it is in the same directory as the
application’s .EXE file, specify only the file name.
You must use the drive that the printer recognizes.
For example, if the files are on the PC’s C: drive, but
the printer refers to it as B:, use B: in the path.
Return Values
0
Successful.
Non-zero
An error occurred. For errors between 703-793, the
operator corrects the printer condition. Then the
application must call pclClearError to reset the Motion
Control subsystem. Refer to the MPCL
Packet
Reference Manual
for more information.
Example
See “pclGetErrorMsg” for an example.
Содержание Gold 6037EX
Страница 1: ... ROG TC6037EXPM Rev AA 8 03 Printed in the U S A 2003 Paxar Americas Inc All rights reserved ...
Страница 2: ... Trademarks 0 1 2 0 0 3 4 5 6 7 78 ...
Страница 10: ...viii Table of Contents ...
Страница 30: ...2 16 Programmer s Manual ...
Страница 36: ...3 6 Programmer s Manual ...
Страница 154: ...4 118 Programmer s Manual ...
Страница 228: ...14 Index ...
Страница 229: ......
Страница 230: ......