Help/printing under Linux

Help/printing under Linux

Post by Alex Pomera » Sun, 01 Jun 1997 04:00:00



I finally got around to installing Linux (redhat 4.1), and to my surprise
the installation actually went pretty much without any hitches.  Now, I'm
trying to setup print services.  Basically, my printer is on LPT1, and I
know it works under plain MS-Dos.  However, cat filetoprint > /dev/lp1
under Linux doesn't do anything -- it just returns me to the command line.

Typing "lpc status" after that returns something to the effect of:

lp:
        queuing is enabled
        printing is enabled
        1 entry in spool area
        no daemon present

Well, my print job is obviously getting to the spool area, but the print
daemon isn't kicking in to send it to the printer.  So I figure either: a)
my printer isn't configured correctly, or b) my print daemon is never
getting activated in the first place.

Anybody have any ideas on the problem and how to fix it?

Thanks,
Alex

 
 
 

Help/printing under Linux

Post by Todd Stansel » Sun, 01 Jun 1997 04:00:00


Looks like you just need to get lpd going.  You should have it started
when the system initializes.  I'm using Slakware, but my /etc/rc.d/rc.M
file looks like this:

  /usr/sbin/syslogd
  /usr/sbin/klogd
  /usr/sbin/lpd

among other things...

Todd

 
 
 

Help/printing under Linux

Post by Mike Lew » Sun, 01 Jun 1997 04:00:00


: trying to setup print services.  Basically, my printer is on LPT1, and I
: know it works under plain MS-Dos.  However, cat filetoprint > /dev/lp1
: under Linux doesn't do anything -- it just returns me to the command line.

You have parallel printer support compiled into the kernel, right?

--
Mike Lewis               |     //  | Diamond-o!  Stick-on-a-string!


"And if you're feeling incomplete, the line is stretching up the street..."

 
 
 

Help/printing under Linux

Post by Todd Stansel » Sun, 01 Jun 1997 04:00:00


Looks like you just need to get lpd going.  You should have it started
when the system initializes.  I'm using Slakware, but my /etc/rc.d/rc.M
file looks like this:

  /usr/sbin/syslogd
  /usr/sbin/klogd
  /usr/sbin/lpd

among other things...

Todd

 
 
 

Help/printing under Linux

Post by Alex Pomera » Sun, 01 Jun 1997 04:00:00


I finally got around to installing Linux (redhat 4.1), and to my surprise
the installation actually went pretty much without any hitches.  Now, I'm
trying to setup print services.  Basically, my printer is on LPT1, and I
know it works under plain MS-Dos.  However, cat filetoprint > /dev/lp1
under Linux doesn't do anything -- it just returns me to the command line.

Typing "lpc status" after that returns something to the effect of:

lp:
        queuing is enabled
        printing is enabled
        1 entry in spool area
        no daemon present

Well, my print job is obviously getting to the spool area, but the print
daemon isn't kicking in to send it to the printer.  So I figure either: a)
my printer isn't configured correctly, or b) my print daemon is never
getting activated in the first place.

Anybody have any ideas on the problem and how to fix it?

Thanks,
Alex

 
 
 

Help/printing under Linux

Post by Mike Lew » Sun, 01 Jun 1997 04:00:00


: trying to setup print services.  Basically, my printer is on LPT1, and I
: know it works under plain MS-Dos.  However, cat filetoprint > /dev/lp1
: under Linux doesn't do anything -- it just returns me to the command line.

You have parallel printer support compiled into the kernel, right?

--
Mike Lewis               |     //  | Diamond-o!  Stick-on-a-string!


"And if you're feeling incomplete, the line is stretching up the street..."

 
 
 

Help/printing under Linux

Post by Alex Pomera » Mon, 02 Jun 1997 04:00:00


: : trying to setup print services.  Basically, my printer is on LPT1, and I
: : know it works under plain MS-Dos.  However, cat filetoprint > /dev/lp1
: : under Linux doesn't do anything -- it just returns me to the command line.
:
: You have parallel printer support compiled into the kernel, right?

That's a good question.  How do I tell?

After a bit of tweaking, I got the print daemon to come up and try to
print it, but still nothing happened.  It just said "1 entry in spool area
lp is ready and printing".  But no printing ensued.

Alex

 
 
 

Help/printing under Linux

Post by Alex Pomera » Mon, 02 Jun 1997 04:00:00


: Looks like you just need to get lpd going.  You should have it started

lpd is going.  It loads up the daemon when Linux boots.

Alex

 
 
 

Help/printing under Linux

Post by Gregory T. You » Mon, 02 Jun 1997 04:00:00


: I finally got around to installing Linux (redhat 4.1), and to my surprise
: the installation actually went pretty much without any hitches.  Now, I'm
: trying to setup print services.  Basically, my printer is on LPT1, and I
: know it works under plain MS-Dos.  However, cat filetoprint > /dev/lp1

Uhhhhh, doesn't LPT1 correspond to /dev/lp0 in linux?
-Greg

--
'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`Greg Young'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'

'77 & '78 Datsun 280z's                                      izcc #2554
:-)               Life is a Journey, Enjoy the Ride                 (-:
'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'

 
 
 

Help/printing under Linux

Post by Alex Pomera » Mon, 02 Jun 1997 04:00:00



: : I finally got around to installing Linux (redhat 4.1), and to my surprise
: : the installation actually went pretty much without any hitches.  Now, I'm
: : trying to setup print services.  Basically, my printer is on LPT1, and I
: : know it works under plain MS-Dos.  However, cat filetoprint > /dev/lp1
:
: Uhhhhh, doesn't LPT1 correspond to /dev/lp0 in linux?

Come to think of it, yeah. :)  When I try printing to /dev/lp0, it says
there is no device present.  Only /dev/lp1 sends the file to the spool and
doesn't return an error.

Alex

 
 
 

Help/printing under Linux

Post by Aaron » Mon, 02 Jun 1997 04:00:00




>: I finally got around to installing Linux (redhat 4.1), and to my surprise
>: the installation actually went pretty much without any hitches.  Now, I'm
>: trying to setup print services.  Basically, my printer is on LPT1, and I
>: know it works under plain MS-Dos.  However, cat filetoprint > /dev/lp1

>Uhhhhh, doesn't LPT1 correspond to /dev/lp0 in linux?
>-Greg

no, not necessarily...

My machine (Slackware 3.1) has lp1 at 0x378 (polling) and lp2 at 0x278
(polling).  These match the settings under DOS as LPT1 and LPT2.  In Linux,
lp0 is the "other" lp address (which escapes me right now).

I am successfully printing to a DeskJet 540 on lp1 and LaserJet 5p on lp2.  
BTW, try the Magicfilters, they work just great.

-----------------------------------------------------------
Aaron Weis
Dovetail Design & Development, Inc.

SPAM ALERT - Remove leading "X" from email address.

"Every man's conscience is vile and depraved.  You cannot depend on it to be your guide, when it's you who must keep it satisfied."  [Bob Dylan]

 
 
 

Help/printing under Linux

Post by Jeff Colli » Mon, 02 Jun 1997 04:00:00




: : I finally got around to installing Linux (redhat 4.1), and to my surprise
: : the installation actually went pretty much without any hitches.  Now, I'm
: : trying to setup print services.  Basically, my printer is on LPT1, and I
: : know it works under plain MS-Dos.  However, cat filetoprint > /dev/lp1
:
: Uhhhhh, doesn't LPT1 correspond to /dev/lp0 in linux?

No.  /dev/lp0 corresponds to the parallel port that only exists on old
mono/parallel cards (different IO address than the normal LPT1 under DOS).
/dev/lp1 is the correct port.  Under redhat, login as root, fire up the
"printtool", select the type of printer and port /dev/lp1, and you should
be in business.  

Regards,
Jeff
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Electrical and Computer Engineering, The University of California, Davis
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

 
 
 

Help/printing under Linux

Post by Jeff Colli » Mon, 02 Jun 1997 04:00:00




: : I finally got around to installing Linux (redhat 4.1), and to my surprise
: : the installation actually went pretty much without any hitches.  Now, I'm
: : trying to setup print services.  Basically, my printer is on LPT1, and I
: : know it works under plain MS-Dos.  However, cat filetoprint > /dev/lp1
:
: Uhhhhh, doesn't LPT1 correspond to /dev/lp0 in linux?

No.  /dev/lp0 corresponds to the parallel port that only exists on old
mono/parallel cards (different IO address than the normal LPT1 under DOS).
/dev/lp1 is the correct port.  Under redhat, login as root, fire up the
"printtool", select the type of printer and port /dev/lp1, and you should
be in business.  

Regards,
Jeff
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Electrical and Computer Engineering, The University of California, Davis
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

 
 
 

Help/printing under Linux

Post by Gregory T. You » Mon, 02 Jun 1997 04:00:00


: I finally got around to installing Linux (redhat 4.1), and to my surprise
: the installation actually went pretty much without any hitches.  Now, I'm
: trying to setup print services.  Basically, my printer is on LPT1, and I
: know it works under plain MS-Dos.  However, cat filetoprint > /dev/lp1

Uhhhhh, doesn't LPT1 correspond to /dev/lp0 in linux?
-Greg

--
'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`Greg Young'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'

'77 & '78 Datsun 280z's                                      izcc #2554
:-)               Life is a Journey, Enjoy the Ride                 (-:
'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'

 
 
 

Help/printing under Linux

Post by Alex Pomera » Mon, 02 Jun 1997 04:00:00


: Looks like you just need to get lpd going.  You should have it started

lpd is going.  It loads up the daemon when Linux boots.

Alex

 
 
 

1. HELP: Printing from Linux w/ HP LJ

I currently am running linux.  I have an HP LJ IIP+ printer.  How would
I print from linux on my HP LJ?  How would I print from doc from the
HP LJ?  Printcap file settings, and files or utilities I should get would
be appreciated.  Also an unrelated question.  How is spell checking done
from linux?

2. ESS Maestro-2M PCI soundcard

3. Help!Printing in linux as individual user

4. This may be the wrong news group but .........

5. Serial printers + Linux

6. Please help: printing to Linux printer from Win2K,...

7. This code will lock up any P5 machine, even usermode Linux! (F0 0F C7 C8)

8. Help printing to Linux lpd from Mac OSX 10.2

9. HELP PRINTING -- HELP PRINTING -- HELP PRINTING

10. Linux print client with *Linux* print server

11. Linux Client to Linux Server Printing - help!

12. Help required for printing through Barricade print server.