LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-02-2007, 02:13 PM   #1
llosekann
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
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:36 PM.

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