Jump to content

- - - - -

Printer Escape Codes

6 replies to this topic

#1 gpmiller



  • Members
  • Pip
  • 2 posts

Posted 06 July 2005 - 06:08 PM

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

#2 CSuarezdelReal



  • Members
  • PipPipPip
  • 91 posts
  • Gender:Male

Posted 06 July 2005 - 09:41 PM

It might be a silly question... have you tried to print $ESC_CONTROL_CODE + CHAR(0) already?


Claudio Suárez 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_*

  • Guests

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

#4 Guest_Guest_*

  • Guests

Posted 07 July 2005 - 07:23 AM

I've found that when sending to printer through the client, the CHAR(0)s disappear. But when printing directly from the kernel, it's OK.

I guess it's a deficiency in Pro-IVs client-server protocol.


#5 Guest_Guest_gpmiller_*

  • Guests

Posted 07 July 2005 - 02:39 PM

Thanks to you all for the swift answers. At least I now know where to print from..

Regards Graham

#6 Guest_Guest_gpmiller_*

  • Guests

Posted 07 July 2005 - 04:47 PM

Thanks again for the help - printing from the kernel has cured the problem


#7 Vol Yip

Vol Yip

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 393 posts
  • Gender:Male
  • Location:Hong Kong

Posted 08 July 2005 - 02:57 AM

Hi all,

I am a bit curious, how's the different by printing thru client / printing thru kernel? How to acheive both of them?



Edited by Vol Yip, 08 July 2005 - 02:57 AM.

Reply to this topic


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users