Printer Codes behave differently with Report or Form

Bob Rasmussen ras at anzio.com
Fri Jun 11 09:21:03 PDT 2021


Reducing the strings to their dissimilarities, where the GOOD output has:
    ESC &l3X
the BAD output has
    ESC ESC E3X
Is that right?

Considering that in PCL a reset code is
    Esc E
is it possible that you're issuing a reset at some point where it outputs 
asynchronously, overwriting the
    &l
from the printcode?

Note that this reset (ESC E) is not needed here, because it's already 
included at the start of the sequence. So you might try NOT issuing the 
reset.

On Fri, 11 Jun 2021, Scott Nelson via Filepro-list wrote:

> I am using a printer reset code at the end of each output.
>
> The problem is the code string shown below is different coming out of 
> filePro.
>
>
>
> On 06/11/2021 07:15 AM, Robert Repko wrote:
>> Try resetting the printer between print jobs so the printer starts at the 
>> same settings for each separate form.
>> 
>>> On Jun 10, 2021, at 11:24 PM, Scott Nelson via Filepro-list 
>>> <filepro-list at lists.celestial.com> wrote:
>>> 
>>> 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>
>>> _______________________________________________
>>> Filepro-list mailing list
>>> Filepro-list at lists.celestial.com
>>> Subscribe/Unsubscribe/Subscription Changes
>>> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>

Regards,
....Bob Rasmussen,   President,   Rasmussen Software, Inc.

personal e-mail: ras at anzio.com
  company e-mail: rsi at anzio.com
           voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
             fax: (US) 503-624-0760
             web: http://www.anzio.com
  street address: Rasmussen Software, Inc.         NEW ADDRESS AS OF AUGUST 1, 2020
                  8835 SW Canyon Lane, Suite 401
                  Portland, OR  97225  USA


More information about the Filepro-list mailing list