Help! - I need to send an set of escape control codes to an Epson printer. It all appears to be ok until I need to add hex 00 as a byte at the end of a control code. As the code sequence needs to end in this value I would greatly appreciate any help you can give.
Regards Graham

Printer Escape Codes
Started by gpmiller, Jul 06 2005 06:08 PM
6 replies to this topic
#2
Posted 06 July 2005 - 09:41 PM
It might be a silly question... have you tried to print $ESC_CONTROL_CODE + CHAR(0) already?
Where...
$ESC_CONTROL_CODE = CHAR(27) + $ANY_CONTROL_CODE.
Where...
$ESC_CONTROL_CODE = CHAR(27) + $ANY_CONTROL_CODE.
Claudio Suarez del Real "It is not the strongest of the species that survive, nor the most intelligent, but the ones most responsive to change."
#3
Guest_Guest_gpmiller_*
Posted 07 July 2005 - 05:51 AM
Hi - thanks for the swift reply. I have tried to send the character as the end byte of the control string. All the other characters sent arrive at the printer but the 00 sequence does not appear to. If I send the output to a file and not the printer then I can 'see' the 00 is missing. Weird as 01 will work!
Regards Graham
Regards Graham
Reply to this topic

0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users