Mailinglist Archive: opensuse (2009 mails)
|< Previous||Next >|
RE: [SLE] Why HP printer is shifting each line to the right?
- From: s.hiemstra@xxxxxxx (Sjors)
- Date: Thu, 14 Sep 2000 19:23:25 +0200
- Message-id: <00091419275601.00699@earth>
The staircase effect is dealt with in the german SDB on the
distribution, at /usr/doc/sdb/de/html/ke_staircase.html.
There are basically two solutions, it says:
1. Adjust printer to the right convention, by the printer's dip
switches or menu.
2. Set the variable PRINT_RAW_SETUP_PRINTER in file /etc/apsfilterrc to
the right value; see the detailed description in this file.
My findings are that
cat <filename> > /dev/lp0
creates the staircase effect, but lpr works fine.
On Thu, 14 Sep 2000, you wrote:
> By default, the printer is configured for use under DOS, i.e. it expects
> each line to end in <CR><LF>. UNIX convention for line end is different,
> it's just <LF>. MacOS is different the other way, it uses just <CR>.
> The effect you observe is how <LF> works, the printer just advances to a
> new line, not returning to the beginning of the line.
> This concerns only text files. StarOffice produces its output in
> PostScript, that's why it is printed correctly.
> If you use the printer from UNIX environment only you may just change line
> end setting in the printer itself. It supports all three conventions. You
> need only to locate this setting in the printer menu.
> HTH, Kastus
> On Wed, 13 Sep 2000, Alex Daniloff wrote:
> > Hello Darren,
> > Thank you for your response.
> > Could you please send me an example of your printer configuration on SuSE Linux.
> > Thank you in advance.
> > Alex
> > On Wed, 13 Sep 2000, Darren R. Weber wrote:
> > > On Wed, 31 Dec 1969, you wrote:
> > > > Hello Linux folkz,
> > > > I've got problem with printing at work.
> > > > We use networked HP LajerJet 4050 printer.
> > > > When I'm trying to print something from command prompt like
> > > > lpr -Pprinter somefile - it is shifting each following line to the
> > > > right by diagonal like this.
> > > > blah blah blah
> > > > (white space) blah blah blah
> > > > (--------white space------) blah blah blah
> > > > However when I'm printing from Star Office the same HP printer is
> > > > printing OK.
> > > > How should I correct this issue in the first case?
> > > > Thank you in advance for any hints.
> > > > Alex
> > >
> > > You need to translate CR to CR->LF in your printer config.
> > > I just did this on a set up of mine at work. I did it the
> > > easy way though. I'm using Gnome on RH there and there is
> > > a tool called printtool that you can use to set it up. A
> > > simple switch that says fix stair-stepping takes care of
> > > it. I set up my printer here on SuSE ages ago or I could
> > > tell you how. . .I'll look and see if I can find it and
> > > post again. Maybe someone else will get to it before I do
> > > that. t
To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the FAQ at http://www.suse.com/support/faq
|< Previous||Next >|