Lost lpr Daemon

Lost lpr Daemon

Post by Ralph Albert » Fri, 13 Nov 1998 04:00:00



I think I trashed my lpr daemon. I was logged on as root and issued the
following command:

cat filename | lpr

I heard something being written to disk and knew that I had done the
wrong thing. The error
message that I now receive when trying to print something is as follows:

lpr: connect: No such file or directory
jobs queued, but cannot start daemon.

All I wanted to do was print filename and used the wrong syntax. Yes, I
am a newbie to
Linux and am fumbling around a bit. And I now remember that I should
have just typed:

lpr filename

Any suggestions would be much appreciated. Thanks.

  --Ralph

 
 
 

Lost lpr Daemon

Post by Kenneth Crud » Fri, 13 Nov 1998 04:00:00




Quote:>Any suggestions would be much appreciated. Thanks.

man lpc

# lpc

lpc> restart <your-printer-name>

        -Kenny

--
Kenneth R. Crudup, Unix Software Consultant, Scott County Consulting

I'm getting paroled out of Boston, so I've got no real address or phone yet.

 
 
 

Lost lpr Daemon

Post by Andreas Schweitz » Fri, 13 Nov 1998 04:00:00



>I think I trashed my lpr daemon. I was logged on as root and issued the
>following command:

Don't do too much as root.

Quote:

>cat filename | lpr

That is CORRECT !
maybe   " cat filename | lpd "   produces garbege ...

Quote:

>I heard something being written to disk and knew that I had done the
>wrong thing. The error
>message that I now receive when trying to print something is as follows:

>lpr: connect: No such file or directory
>jobs queued, but cannot start daemon.

Did it work before ?

It sounds, your daemon is not running.
try   lpc  (type ? for help)

Did you set up your printer for your distribution ?
A check list to try :
-- is lpd running upon booting
-- is your printer device under /dev correct
-- check the files and directories under /var/spool
   and compare it with your /etc/printcap file
If you have no clue what I just talked about,
check the docu below. Also, if you have a decent
distro, it should take care of all that.

Useful documentation is
man lpd
man printcap
Printing-HOWTO

Quote:

>All I wanted to do was print filename and used the wrong syntax. Yes, I
>am a newbie to
>Linux and am fumbling around a bit. And I now remember that I should
>have just typed:

>lpr filename

That's the straight forward way :-)

Cheers
Andreas

--
Andreas Schweitzer
Landessternwarte                                        Phone ++49 6221 509 235
Koenigstuhl 12                                            Fax ++49 6221 509 202
D-69117 Heidelberg                  http://www.lsw.uni-heidelberg.de/~aschweit/

 
 
 

1. Lpr -d file.dvi - no daemon present

I was trying to print a .dvi file on my Kodak Diconix 180si ink-jet, using
lpr -d file.dvi.  When I do that, lpc> stat says no daemon present, no
files queued.  But I can lpr file.txt and all is well.  Is .dvi support
broken, non-existent, or what?

I ended up using dvips to convert to .ps, then gs to print the postscript
to file, which I then sent to the printer with lpr -s (big 7Mb lpr-ready
file!).

Surely, there is an easier way to print .dvi files on this printer?  I
know next to nothing about TeX, and can't seem to find a PLAIN TEXT

I have no interest whatsoever in *producing* TeX documents, just printing
them when no other alternatives are available (it's the amd docs I was
trying to print, by the way).

*Please* developers, include plain text documentation along with .ps or
TeX docos, if you insist upon the latter two at all.
--
/////////////////////////////////////////////////////////////////////////////

/////////////////////////////////////////////////////////////////////////////
People are like a box of chocolates.  Yum!
                                           -- Forrest Dahmer

2. solaris7 & SB 16

3. The 'lpr' daemon and other stories......

4. how to 'pause' in a script ?

5. lpr problem: jobs queued, but cannot start daemon.

6. Strange arp problem with OS5, please help!

7. lpr problem (print daemon dies?)

8. Know Unix and wanna globe trot?? Get paid to do all the things you LOVE! !!

9. lpr "no daemon" error

10. Bug in lpr daemon

11. lpr lpc daemon probelm

12. RH 5.2: lpr fails, multiple lpd daemons

13. lpr: no daemon present