05.01.2013 Views

Downloading - Weber Marking Systems

Downloading - Weber Marking Systems

Downloading - Weber Marking Systems

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Port Input/Output Commands<br />

HARDWARE-INPUT<br />

HARDWARE-OUPUT<br />

PORT-CHECK<br />

Reads byte from the hardware I/O port.<br />

Value: Portaddress, $state<br />

Default: None<br />

Appendix C: Automated Print Control<br />

Notes: The First argument is the port address. The second argument is<br />

the variable for storage of the return value.<br />

Writes byte to hardware I/O port<br />

Value: Portaddress, Data<br />

Default: None<br />

Returns the status of a communication port.<br />

Syntax: PORT-CHECK=port,$status, $inbytes, $outbytes,<br />

Notes:<br />

port is COMn or LPTn.<br />

$status specifies the status of transmission.<br />

$inbytes specifies the number of bytes in the receive buffer.<br />

$outbytes specifies the number of bytes in the transmit buffer.<br />

$JobsInQueue specifies the number of jobs in the printer manager<br />

queue for this port.<br />

The port must be opened by PORT-OPEN.<br />

$ERRORCODE<br />

0 = Success<br />

1 = Failure<br />

Legitronic User Manual (v3.4) 202

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!