Oki X400 X400 Programming Command Manual - Page 78
Expanded Memory Function, Graphics, PCX Store
View all Oki X400 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 78 highlights
Expanded Memory Function Graphics, PCX Store Command Structure PIaaa,bbbbb,{data} aaa = Storage area number. bbbbb = Size of PCX file in bytes. {data} = Data. Example: 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 Expanded Memory. Input to Printer 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 Printer Output There is no printer output as a result of this command. See PY PCX Graphics Recall command. Special Notes 1. This command requires Expanded Memory option. Call your Oki Data 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. 76