Home Devices
New Blog Posts: Merging Reports - Part 1 and Part 2

Plain Text Output

edited March 2003 in Devices
I'm trying to use Waler Devices to output hardcoded characters to a barcode
printing device on LPT1 and it appears I'm getting some unwanted printer or
report setup codes. It may be lines per inch or pitch?

I can output everything I need using an RB Report and stuffing a memo field
with the appropriate escape sequences and database fields. It's just the
extra junk at the very start of the report that I can't seem to control.

Thanks! Jon Gray

RB 7.01 Server / Reports stored in Oracle / Delphi 6 SP2


Here is some sample output for (2) barcode labels. Note the "junk" before
the first ^XA. That's what I need to get rid of.

@P2^XA^PRC
^LH0,0^FS
^LL254
^MD0
^LH0,0^FS
^FO40,20^A0N,37,33^CI13^FR^FDDIESEL^FS
^BY2,2.0^FO20,120^B3N,N,99,Y,N^FR^FD^FS
^FO286,68^A0N,37,33^CI13^FR^FDF1MADISON^FS
^PQ1,0,0,N
^XZ
^FX End of job^XA
^XA^PRC
^IDR:ID*.*^LH0,0^FS
^XZ^LL254
^MD0
^LH0,0^FS
^FO40,20^A0N,37,33^CI13^FR^FDUNLEADED GASOLINE^FS
^BY2,2.0^FO20,120^B3N,N,99,Y,N^FR^FD^FS
^FO286,68^A0N,37,33^CI13^FR^FDF2MADISON^FS
^PQ1,0,0,N
^XZ
^FX End of job^XA

Comments

  • edited March 2003
    The DotMatrix device is sending printer ESC codes. I will add an option
    to control this and send you the code.

    James Waler
    Waler Ltd
    http://www.waler.com
  • edited March 2003
    I know you have been busy with the latest release....

    Just curious if this enhancement made it in the latest maintenance release?

    I looked but couldn't find anything.

  • edited March 2003
    I sent you the latest with the new PrinterType property that should
    do what you want.

    James Waler
    Waler Ltd
    http://www.waler.com
  • edited March 2003
    Thanks for the quick response. It works great!

This discussion has been closed.