Re: Oracle Report using printer code

From: <>
Date: Fri, 13 Mar 2009 23:26:41 -0700 (PDT)
Message-ID: <>

I've tried using the printer code from the epson manual and create a prt file, I can get the output to be set to bold or italic, however it is can get the barcode printed. May be using barcode true type font in Oracle Report is the better way, rather then using the manufacturer printer code....

On Mar 12, 3:29 am, (Malcolm Dew-Jones) wrote:
> wrote:
> : Dear All, I wish to sendprintercodetoepsonlq 590 to print the
> :barcodeusing theprinterbuilt-inbarcodefont. How would I do that
> : in report ?
> : Thanks.
> Never used this myself, but a Field has two properties called "PrinterCodeBefore" and "PrinterCodeAfter".
> I think you push the escape sequences of theprinterinto them.
> So, for example, if <ESC>[F3 turns on font 3 (that's a made up sequence,
> and also I am pretending 3 is thebarcodefont), then put those 4 bytes
> into "Before".  Then those bytes are send just before the value is sent
> and the value will print in thebarcodefont.
> How to get the escape sequence?  Perhaps as follows: Read theprinter
> manual (the easy part).  Then use some editor that allows you to control
> what bytes you use.  Then cut and paste that string into the property.  
> If your editor doesn't give you that kind of control, then perhaps
> something like  perl -e "print chr(27),chr(1),chr(2)" > temp.tmp, then use
> notepad to open that file and cut/paste the contents into the field.
> -- All guess work, having never done this myself. --
Received on Sat Mar 14 2009 - 07:26:41 CET

Original text of this message