On Mon, Mar 15, 1999 at 10:32:11AM -0600, Jason Bodnar wrote:
>
> I hacked /etc/printcap by hand but I'm having some problems with
> printing from different applications. All programs spool the file find,
> but only Netscape and Emacs (when doing Print PostScript) actually
> print the contents of the file correctly. If I do an 'lpr file.txt',
> the contents of the file run off the side of the page.
The 'running off the side' is called the stair-case effect.
A HP printer expects a \n\r (dos-standard) and not a \n (unix-standard)
at the end-of-line.
The fix is easy.
Transform all \n to \n\r with a little script (unix to dos) or tell the
(HP) printer to use the unix-standard. Look it up in your printer manual.
Hint: Send a PCL-code (a Esc code) before the file.
> I'm guessing I need to setup a filter for my spools in
> /etc/printcap? Here's what I currently have:
>
> # HP printer, 7th floor, Plaza 1
> lp|lpbw:\
> :sd=/var/spool/lpd/lpbw:\
> :mx#0:\
> :sh:\
> :rm=pl1hpfl7:\
> :rp=ps:
>
> Any suggestions?
If I read 'man 5 printcap' correct, you send the output to the printer 'ps'
on the host 'pl1hpfl7'.
It sounds like you have a PostScript printer.
You most likely need a filer to transform 'any-format' to PostScript.
Greetings,
Cees.
--
tlhIngan maH!
We are Klingons!
Mark Okrand, "Star Trek: The Klingon Way - A Warrier's Guide"
--
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archive at http://www.suse.com/Mailinglists/suse-linux-e/index.html