|Subject:||printcmd falls back to LIT (display) after 512 bytes of print output|
|Date:||Wed, 28 Nov 2012 15:18:44 -0600|
I suspect printcmd is failing silently and never creating a pipe or forking a process.
When I set:
printcmd "cat > /tmp/screen.print"
and print this sample output:
^[[1;9H.R^[[24;1H^[[0K>Printing Receipt for the LAST Sale^[[5i^M
The display reads:
The output "ey from our" is right around the 512 byte marker for the print input. In other words, starting at ^[[5i and ending at ^[[4i equals approximately 512 bytes.
From looking at the source I see that MAXSTR is 512 bytes and PrintFlush() is called.
My limited knowledge of C leads me to WMsg and LMsg, which should be displayed on the caption. However, nothing is displayed indicating failure or success. I've tried logging and verbose mode. I'm not sure why the printcmd is failing. What else can I check?
|[Prev in Thread]||Current Thread||[Next in Thread]|