SATO M8485Se Programming Reference Manual page 167

E/pro programming reference
Hide thumbs Also See for M8485Se:
Table of Contents

Advertisement

PCX FILE, STORE
FUNCTION
To store for later printing a PCX graphic file in the Expanded Memory.
FORMAT
<ESC>PIaaa,bbbbb,{data}
Place within its own data stream.
EXAMPLE
BASIC Program to download a PCX file to Expanded Memory Area 1, Storage Area 1
OPEN .C:\WIZARD\GRAPHICS\LION.PCX. FOR INPUT AS #2
DA$ = INPUT$(3800,#2)
C$ = CHR$(27)
WIDTH .LPT1:.,255
LPRINT C$;"A";C$;"CC1";
LPRINT C$; .PI001,03800,.;DA$
LPRINT C$;"Z";
CLOSE #2
OUTPUT
There is no printer output as a result of this command. See <ESC>PY PCX Graphics Recall command.
NOTES
This command requires Expanded Memory option. See your SATO representative for details.
Graphics cannot be stored as part of a format.
Only black and white PCX files can be stored.
The file size specified by this command is the DOS file size in bytes.
E/Pro Programming Reference
Unit 5: Optional Command Codes
aaa
=
Storage number (001 to 999)
bbbbb
=
Size of PCX File in bytes.
{data}
=
Data
5-20
PN: 9001096B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents