in reply to Re^2: No response from printer using Win32::SerialPort
in thread No response from printer using Win32::SerialPort

One thing - I'm pretty sure '^E' shouldn't be the literal string 'caret' and 'cap E'. The caret is usally used in printer code to denote a control code. In this case \x05 or ENQ.

From the manual it's actually not PCL - it's MPCL. It also does explain that '~' is used by the printer for decimal ascii codes - so that seems ok. I'm guessing the big problem is the Ctrl Codes. You can get more info here.



grep
One dead unjugged rabbit fish later
  • Comment on Re^3: No response from printer using Win32::SerialPort

Replies are listed 'Best First'.
Re^4: No response from printer using Win32::SerialPort
by woodycm (Initiate) on Oct 11, 2006 at 13:16 UTC
    The ~094 part of the Immediate Command sets the control code used for processing as the ^. I've spoken to PAXAR's support staff and have seen this in other scripts as well. At one point, before a reboot, I was getting intermitten responses from the printer using the same control codes. So, no, it's not the control code. I was not getting responses from the printer 100% of the time, but more like 1/3 of the time. Since the printer reboot, I can talk to it, but it won't reply. I've gone through every setup procedure that they have suggested and still nothing.
    Thanks