Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-02-2007, 02:13 PM   #1
LQ Newbie
Registered: Aug 2007
Posts: 2

Rep: Reputation: 0
Angry "Printing to a program using CUPS".

I'm with A BIG problem - I'm looking for a for a tool in Linux which is able to print a file to a program which reads from stdin, similar to RedMon in Windows. First of all I looked for some tool already available, which can work as a generic printer in CUPS - without success. After I searched in internet and found a description how to install a shell script as a CUPS backend. I wrote a shell and move it to CUPS backend. I had no problems to install it with admin command - but when I sent data using lpr command return me a error "PID xxx stopped with status 22". Does anyone any tip about ?
Thanks in advance.
Old 08-02-2007, 02:55 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,671

Rep: Reputation: 218Reputation: 218Reputation: 218
Error 22 is EINVAL: Invalid argument. It seems that the data is not formatted correctly at a certain level.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM
CUPS v6 Windows Driver Printing Preferences--"Operation could not be completed" meself88 Linux - General 1 07-12-2006 07:44 AM
Getting error: "ALSA device "default" is already in use by another program." brynjarh Debian 7 02-04-2005 11:45 AM
cups Error "CUPS daemon has died" susesarus Linux - Software 2 08-21-2004 03:43 PM
RH "null" beta system freezes right after printing "INIT" markus1982 Linux - Hardware 0 09-09-2002 03:31 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:01 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration