From: Jim (jahoward@iastate.edu)
Date: 10/27/92


From: jahoward@iastate.edu (Jim)
Subject: Hp Deskjet Problems
Date: Tue, 27 Oct 1992 07:15:20 GMT

Hello all. I am currently running linux .96c with plans to
upgrade soon... I love it now that I have learned enough how
to use it well, and have been able to customize it to nearly
the way I want.

However...

I have one problem that I have not been able to fix or figure out.

Every so often, I want to dump a text file directly to the printer.
I first tried just using cp file.txt /dev/lp1
as far as I know, this should work... except...

I had the same problem in dos. When you copy (cp) a file to an HP
printer, or so I am told by one of their reps, the HP is expecting it
to be coded for said printer. When it is not, the printer doesn't know
exactly what to do.

The problem is, when using copy, I get linefeeds ok, but no carriage return.
There is a linefeed/lfcr DIP switch, but it makes no difference.
I got around this problem in dos by doing this...

type file.txt >prn:

This works great. So, ok, no problem. In linux, I try cat file.txt >/dev/lp1

Hmm, busy light comes on, but no printing... busy light goes off again.

When I try to pipe it with |/dev/lp1, I get a access denied to /dev/lp1

Anyone out there have similar problems/fixes/hints/etc?

Thank you.

Jim
jahoward@iastate.edu