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

Page 73

Advertising
background image

4-32 Programmer’s Manual

p c l G e t S u p p l y T y p e

Description

Retrieves the current supply type.

Syntax

unsigned short far pclGetSupplyType(void);

Parameters

None

Return Values

MMS_LOW_ENERGY

Paper

MMS_MEDIUM_ENERGY Fax

MMS_HIGH_ENERGY

Synthetic

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 <conio.h>

#include <stdio.h>

#include "mmsultra.h"

void main(void)

{

unsigned short usType = 0;

// Supply type

PRINTINIT pConfig;

// Print data structure

unsigned short usStatus = 0;

// Battery level

short sStatus = 0;

// Command calls status

pConfig.lpuchFntAddr = 0;

// Start Print subsystem

pConfig.ulFntSize = 0;

Advertising