Intermec CV30 Intermec Terminal Emulator (ITE) Programmer's Reference Manual - Page 142
ESC/P Examples, Using the #P Extended Command
View all Intermec CV30 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 142 highlights
Chapter 3 - Extended Commands ESC/P Examples For information on all ESC/P commands, see the ESC/P Programmer's Reference Manual. Using the #P Extended Command Because ESC/P does not echo received data, the #F extended command is not used for simply sending data to the printer. Since there is no response, you will get a timeout error. To send data to the printer, use the #P extended command, as seen in this typical control character sequence: ^9f#P8N8100000=0a=0d#^9c Control Character Sequence Descriptions Character ^9f #P 8N81 00 0 =0d =0a # ^9c Description APC character 0x9F Begin extended command for transmit and receive 115200 baud, no parity, 8 data bits, 1 stop bit Reserved bytes Disabled XON/XOFF flow control Data to be printed Carriage return (required for all command lines) Line feed Terminating character for the #F extended command ST control character 0x9c Printing a Basic Label This example prints the text "Hello" to an ESC/P printer: ^9f#P8N8100000Hello=0a=0d#^9c Printing a Bitmap Image Note: All bitmap commands must be preceded by =1bB and followed by =1bE commands. There are three commands used in printing bitmaps: • Line skip command: A The "A" command will skip ahead several lines. The next example skips ahead 10 lines. ^9f#P8N8100000=1bBA=0a=1bE=0a=0d#^9c Skip Lines Command Sequence Example Character ^9f#P8N8100000 =1bB Description ITE control character sequence Beginning of graphic command 130 Intermec Terminal Emulator (ITE) Programmer's Reference Manual