: :

Add Comment | Related Links | TrackBack
Related Content

lp: stdin is empty, so no job has been sent

This morning, when I tried to print a text file from the command-line on SuSE Linux 9.0, I got an error message, instead of a printed piece of paper. I issued the same basic print command:

cat t.txt | lp -d "myprinter"

Instead of printing the document, I got the following error message:

lp: stdin is empty, so no job has been sent error message

That's interesting. I just piped the content of t.txt into lp through stdin. With this kind of error message, I don't even know where to look.

After my sys admin's help, it turned out that I've ran out of space in "/var". After clearing out the logs, the print function worked just fine again. The next time you get a problem like this, you might want to check out your /var directory.

Chieh Cheng
Wed, 01 Aug 2007 20:42:55 +0000

Thank you this worked for me as well. It was quite a frustrating 3 hours till I found this solution as the printer command was working if you passed in the file as an argument or if root did the pipe to the printer.

Dave Severance
Thu, 08 Jul 2010 17:40:58 +0000

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.

Add Comment

Spam Control | * indicates required field
Your Name: *
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 2 + 7?
Click button only once, please!


TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.

Send Ping | TrackBack URL | Spam Control

No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.

Messages, files, and images copyright by respective owners.

Articles | Wiki
Forums | Latest | RSS
Library | Links | News
Search | Store | Help

392 Users Online

Hacking Digital Cameras
Fun for Photographers

Amazon Associate

Copyright © 2004 - 2024. All Rights Reserved.