SATO M-5900RV Printer User Manual


 
SATO M-5900RV Operator and Technical Reference Manual
Page 4-93
Section 4. Programming Reference
PN 9001081
Rev. C
Memory Card Function
Graphics, PCX Store
This command requires the Memory Card option.
Command Structure
<ESC>Plaaa,bbbbb,{data}
aaa = Storage area number (001 thru 999)
bbbbb = Size of PCX file in bytes
{data} = Data
Example: <ESC>PI001,32000,{data}
Placement: This command must be placed within its own data stream.
Default: None
Command Function
To store for later printing a PCX graphic file in the Memory Card.
Printer Input
BASIC Program to Download a PCX file to Memory Card #1, Location #1
OPEN "C:\WIZARD\GRAPHICS\LION.PCX"FOR INPUT AS #2
DA$=INPUT$(3800,#2)
C$=CHR$(27)
WIDTH"LPT1:",255
LPRINTC$;"A";C$;"CC1"
LPRINTC$;"PI001,03800,";DA$
LPRINTC$;"Z"
CLOSE #2
Printer Output
There is no printer output for this command. See <ESC>PY PCX Graphics
Recall command.
Special Notes
1. This command requires the Memory Card option. See your SATO
representative for details.
2. Graphics cannot be stored as part of a format
3. Only black and white PCX files can be stored.
4. The file size specified by this command is the DOS file size in bytes.