Avery Dennison 6035 Programmer Manual Rev.CA 6/01 User Manual
Page 63
4-22 Programmer’s Manual
p c l F e e d
Description
Feeds a label through the printer.
Syntax
unsigned short far pclFeed(void);
Parameters
None
Return Values
0
Successful.
703-793
A motion control error occurred. After the operator
corrects the printer condition, the application must
call pclClearError to reset the Motion Control
subsystem. Refer to the MPCLII Packet Reference
Manual for more information.
Example
#include <stdio.h>
#include <conio.h>
#include "mmsultra.h"
void main(void)
{
PRINTINIT pConfig;
// Print data structure
unsigned short usStatus = 0;
// Battery level
short sStatus = 0;
// Command call status
pConfig.lpuchFntAddr = 0;
// Start Print subsystem
pConfig.ulFntSize = 0;
sStatus = pcl
I
nit(&pConfig);
if (sStatus != 0)
printf("Init Failed \nError: %d", sStatus);
else
{
usStatus = pclGetBatteryLevel();
// Get the battery level