2. Command Codes
Command Structure:
<ESC>PIaaa,bbbbb,{data}
aaa:
bbbbb:
{data}:
Example:
Placement:
Default:
Function:
To store for later printing a PCX graphic file in the Memory Card.
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)
E$ = CHR$(27)
WIDTH "LPT1:",255
LPRINT E$;"A";E$;"CC1";
LPRINTE$; "PI001,03800,";DA$
LPRINT E$;"Z";
CLOSE #2
Output:
There is no printer output as a result of this command. See <ESC>PY
PCX Graphics Recall command.
Note:
1. This command requires Memory Card option. See your SATO rep-
resentative 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.
112
Memory Card Function
Graphics, PCX Store
Storage area number (001 thru 999)
Size of PCX file in bytes
Data
<ESC>PI001,32000,{data}
This command must be placed within its own data st-
ream
None
Programming Manual
SATO RISC Printers