Oki X400 X400 Programming Command Manual - Page 135
<esc>h300<esc>v150<esc>xsin A Safe Place
![]() |
View all Oki X400 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 135 highlights
C00000000003 C00000000003 C00003C00003 C00007E00003 C0000FF00003 C0000FF00003 C0000FF00003 C0000FF00003 C00007E00003 C00003C00003 C00003C00003 C00003C00003 C00003C00003 C00003C00003 C00003C00003 C00003C00003 C00003C00003 C00003C00003 C00003C00003 C00001800003 C00000000003 C00000000003 FFFFFFFFFFFF FFFFFFFFFFFF 000000000000 000000000000 000000000000 000000000000 000000000000 000000000000 H300V100XSPLEASE PLACE YOUR DISK H300V150XSIN A SAFE PLACE Q1Z Note: Spaces shown in the hexadecimal listing above are for emphasis only. Spaces must not be encoded within the graphic portion of the data stream to the printer. Also, CR and LF characters to separate the lines must not be encoded in the data stream. 5. To send the data in binary format, the software must convert the data into binary format before transmitting it to the printer. Using the BASIC programming language for example, this is done by notation "CHR$(&HC0)" which sends the hexadecimal value of "C0" as binary data (11000000). The BASIC program listing for sending this graphic to the printer (using the RS232 port) in binary format is: OPEN "COM2:9600,N,8,1,CD,DS" FOR OUTPUT AS #1 E$=CHR$(27) PRINT #1,E$;"A";E$;"H100";E$;"V100";E$;"GB006006"; PRINT #1,CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF); PRINT #1,CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF); PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H03); PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H03); PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HF3); PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&H80);CHR$(&H00);CHR$(&H00);CHR$(&H13); PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&H80);CHR$(&H00);CHR$(&H00);CHR$(&H13); PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&H9F);CHR$(&HFF);CHR$(&HFF);CHR$(&H13); PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&H80);CHR$(&H00);CHR$(&H00);CHR$(&H13); PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&H80);CHR$(&H00);CHR$(&H00);CHR$(&H13); PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&H9F);CHR$(&HFF);CHR$(&HFF);CHR$(&H13); PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&H80);CHR$(&H00);CHR$(&H00);CHR$(&H13); 133
![](/manual_guide/products/oki-data-x400-x400-programming-command-manual-82e8f1d/135.png)