Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ALL I WANT TO DO IS PRINT TEXT

0 views
Skip to first unread message

TomS806319

unread,
Dec 13, 1995, 3:00:00 AM12/13/95
to
Has anyone achieved the ability to print ( just simple printing..like
cat <filename>/dev/lp1 ) under SLACKWARE Linux 3.0, with the
HP600/600C/660C, printers ? I tried the PRINTIN HOW-TO, MagicFileter
convolutions, and other more insane solutions, and all I get is printer
staircase, and/or printer shutoff/blank pages, etc..etc...If anyone has
been successful, please e-mail the /etc/printcap file and the filter
file. I will be eternally indebted . All I want is to be to able to sit
here and type #cat <filename> >/dev/lp1 and see a non-staircased page
of text emerge from the printer : ) Thanks in advance. PLEASE HELP.
-thomas

Eric M. Freden

unread,
Dec 14, 1995, 3:00:00 AM12/14/95
to
In article <4ap074$6...@peg.apc.org>, david...@acslink.net.au (David Segall) writes:
|> Hewlett Packard printers, by default, treat the Line Feed (LF)
|> character which terminates each Unix text line as only a new line but
|> you want a Carriage Return (CR) to start printing at the begining of
|> the line in addition to the line feed. You can either use a filter
|> such as tr to convert every LF to CR LF or change the default
|> behaviour of your printer. If I send my Laserjet 4L the PCL command
|> ESC &k3G subsequent LF characters are automatically interpreted as CR
|> LF.
|> David Segall david...@acslink.net.au
|> Profectus Pty Ltd Compuserve: 100241,1211
|> 25 Myrtle Road Telephone: +61 3 9830 5026
|> Canterbury, VIC, 3126 AUSTRALIA Fax: +61 3 9830 0959
|>

Another way to do this is to use "unix2dos", available from sunsite.
It works for me.
Eric

David Segall

unread,
Dec 14, 1995, 3:00:00 AM12/14/95
to

Richard V. Durand

unread,
Dec 15, 1995, 3:00:00 AM12/15/95
to
Brian Peterson (b...@psycfrnd.interaccess.com) wrote:
: toms8...@aol.com (TomS806319) writes:

: } Has anyone achieved the ability to print ( just simple printing..like


: } cat <filename>/dev/lp1 ) under SLACKWARE Linux 3.0, with the
: } HP600/600C/660C, printers ? I tried the PRINTIN HOW-TO, MagicFileter
: } convolutions, and other more insane solutions, and all I get is printer
: } staircase, and/or printer shutoff/blank pages, etc..etc...If anyone has
: } been successful, please e-mail the /etc/printcap file and the filter
: } file. I will be eternally indebted . All I want is to be to able to sit
: } here and type #cat <filename> >/dev/lp1 and see a non-staircased page
: } of text emerge from the printer : ) Thanks in advance. PLEASE HELP.
: } -thomas

: do this...

: prompt% cat <filename> | todos | lpr

: this will pipe the file to the program 'todos' which will convert the LF's
: to CR's. and then send the output of that to the printer. this will not
: modify the original file. i put this in my 'elmrc' also so i can
: print my mail if i want.

: you should have the program 'todos'. i think its part of the distribution.

: Brian

I have a CanonBJ-200 and I had the same problem at first (staircase
effect). I installed apsfilter from sunsite and everything works great
now. For text files, it basically just runs it through a2ps before printing,
and you get two pages of text per physical page. It handles dvi and ps files
transparently too. Just 'lpr <filename>.' I think the HP550 (HP500?) drivers
will work with your printer.

Rick

Brian Peterson

unread,
Dec 15, 1995, 3:00:00 AM12/15/95
to

James Birmingham

unread,
Dec 22, 1995, 3:00:00 AM12/22/95
to
If you have Slackware, the user's manual contains a nice little shell script filter which you can add to your printcap file to automatically have this problem corrected. Sorry, I am not at my computer right now or I would send you a copy of my printcap and filter files. After making this change I have been able to print without any problems. In fact after setting up ghostscript as another filter I am able to print postscript files simply by changing my print command to lps -Pps and the output is excepti
onal!

Jim

0 new messages