linux filepro printing
Bill Campbell
bill at celestial.com
Thu Jun 2 23:39:28 PDT 2011
On Thu, Jun 02, 2011, davidrottkamp at echoes.net wrote:
>Hi
>I had client on sco unix with filepro printing a receipt on a oki ml320,
>parrallel printer worked fine.
>Moved application to centos5, same printer, still lp1, same filepro code,
>now it form feeds after every job.
>just to test went to operating system did a simple lp ???d store
>/usr/reg/.profile printed contents with no form feed
>so it must be filepro, ideas suggestions appreciated
>printer defined through CUPS system ion centos
CUPS has supported standard SYSV style printing for years.
We generally use the lpadmin command to define SYSV standard
printer interfaces, then use an interface script that takes care
of this type of thing. Doing it this way one can even use the
same interface scripts from the SCO system.
The interface scripts we use are ones we started using back in
the Radio Shack Xenix days when printers generally required only
a LF character, but the Radio Shack/RealWorld accounting software
created printer output with CR-LF line endings which would double
space. My interface script strips all trailing whitespace from
each line, adding back a line-ending if necessary for a specific
printer. It also counts blank lines, sending that number of LF
characters when it encounters a non-blank. This eliminates the
extra blank page at the end of print jobs where the application
pads output to 66 lines per page or some such.
Bill
--
INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
Voice: (206) 236-1676 Mercer Island, WA 98040-0820
Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792
Find out just what people will submit to, and you have found out the
exact amount of injustice and wrong which will be imposed upon them; and
these will continue until they are resisted with either words or blows, or
both. The limits of tyrants are prescribed by the endurance of those whom
they oppress. -- Frederick Douglass.
More information about the Filepro-list
mailing list