Printer Codes behave differently with Report or Form
Scott Nelson
scott at logicdatasystems.com
Thu Jun 10 20:23:44 PDT 2021
I use different methods of printing based on the details and variables
needed for the output. A basic form will use the report filePro
function and more complex printing will use an input process calling
separate forms that build one report, such as inv_hdr, inv_det, inv_sub,
and inv_ftr.
The Odd part is when the same printer name is used and the same print
codes are on the top of both types of forms, they do not command the
printer in the same way.
Example the ESC codes in the file of one that works, selecting tray 4
and sending 3 copies using a report method: (spaces added to show more
clearly)
ESC E ESC (10UESC(s0p10h0s0b4099T ESC &l3X ESC &l8H
The same print code on an output using the formm and form commands from
the input process looks like this:
ESC E ESC (10UESC(s0p10h0s0b4099T ESC ESC E3X ESC &l8H
Has anyone come across this, or have a better method of setting the
print codes so what gets to the device will be as needed?
Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20210610/257505bd/attachment.html>
More information about the Filepro-list
mailing list