Graphics, Pcx Store - Oki OKIPOS X400 Manual

X400 programming command manual
Hide thumbs Also See for OKIPOS X400:
Table of Contents

Advertisement

Command Structure <ESC>PIaaa,bbbbb,{data}
Command Function To store for later printing a PCX graphic file in Expanded Memory.
Input to Printer
Printer Output
Special Notes
1.
2.
3.
4.
Expanded Memory Function

Graphics, PCX Store

aaa
=
Storage area number.
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.
BASIC Program to Download a PCX file to Expanded Memory (first 2MB or 4MB
installed).
OPEN "\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$;"PI011,03800,";DA$
LPRINT C$;"Z";
CLOSE #2
There is no printer output as a result of this command. See <ESC>PY PCX
Graphics Recall command.
This command requires Expanded Memory option. Call your Oki Data
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.
76

Advertisement

Table of Contents
loading

Table of Contents