SUMMARY: printer width problem..

From: selcuk karaca (selcuk.karaca@aski.gov.tr)
Date: Tue Jun 17 2003 - 08:56:33 EDT


Hi admins..
this is another late summary, excuse me for this too..

the answer of Ernest LaBonte is very very valuable...
thank you very much Mr LaBonte...
I just replaced la324of filter with the pcfof +Cgeneric_ansi.pcf and
problem disappeared...

Ernest's answer is the following;

> Hello,
>
> Try the generic ANSI print queue. The pcfof print filter doesn't have
> have the internal buffer restrictions that the la324of print filter has.
> Change the printcap entry to use the following:
>
> :if=/usr/lbin/pcfof +Cgeneric_ansi.pcf:\
> :of=/usr/lbin/pcfof +Cgeneric_ansi.pcf:\
>
> If Oracle provides all the file formatting then a print filter isn't
> necessary. You can verify this by entering the command lpr -Pmali02 -x
file.
> If this works you can remove the printcap :if= entry, and change the :of=
> to :of=/usr/lbin/xf:\. The xf print filter uses /bin/cat to pass the file
> directly to the printer eliminating all file formatting.
>
> Regards,
> Ernest
> ------
>
Question was:

> Hello admins...
>
> I have a LA324 printer
> I have reports which are 255 characters long..
> at the beginning of the file, oracle reports adds an escape sequence to
> adjust 18 char/inch formatting ( esc code is : CSI 13w )
>
> BUT I could print only the first 240 characters..There are still empty
> spaces on the paper, but printer does not prints anymore.. just cuts the
> text there and continues to next line...
> And document looks like erased after 240th colon...
>
> thanks for any help!
>
> command is:
> lpr -w255 -Pmali02 FName.lis
>
> printcap def is:
> mali02|lp23:\
> :br#9600:\
> :ct=dev:\
> :fc#0177777:\
> :fs#023:\
> :if=/usr/lbin/la324of:\
> :lf=/usr/adm/lp23err:\
> :lp=/dev/tty1N:\
> :mx#0:\
> :of=/usr/lbin/la324of:\
> :pl#66:\
> :pw#255:\
> :sb:\
> :sd=/usr/spool/lpd23:\
> :sh:\
> :xc#0177777:\
> :xf=/usr/lbin/xf:\
> :xs#044000:



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:23 EDT