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.
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.
Did your message disappear? Read the Forums FAQ.
Spam Control | * indicates required field
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.
51 Users Online
Copyright © 2004 - 2017. All Rights Reserved.