01-20-2009
Upon each bootup /dev/lp0 is getting created with permissions to allow root and group lp rw access.
The printer shows unavailable. print jobs error out saying "unable to write to /dev/lp0"
cupsd is running as root
parallel is running as lp
As soon as I add +rw to all users it is fine. This does not feel like the correct "solution".
10 More Discussions You Might Find Interesting
1. Linux
Hello,
I am using version:
cups-config --version - 1.2.4
However, when i use the -o land or -o landscape command it doesn't print in Landscape.
I have the same problem on another server. (Both running CENTOS).
Does landscape printing work in CUPS? Is there a fix?
Thanks in an... (0 Replies)
Discussion started by: stuaz
0 Replies
2. UNIX for Dummies Questions & Answers
Hello.
I have a slackware system running cups with an HP laserJet 2100 connected via parallel port in ECP mode. Print jobs are working. Very slowly.
15K test print out of cups takes about 2 minutes to complete.
When the printout is on the way to the printer, the process "parallel" uses... (0 Replies)
Discussion started by: agentrnge
0 Replies
3. SCO
Hi, i'm running Openserver 5.0.7 as a CUPS client for a Linux server. The root user can issue a "lpstat -t" to see the printers and can submit jobs without issues.
The problem presents when I try to work as a regular user. If I issue an "lpstat -t" all I get after a few seconds is "lpstat:... (1 Reply)
Discussion started by: cyruspy
1 Replies
4. Debian
I am trying to print from Debian and receive the following message: "Unable to open device file"/dev/lp0": Permission Denied"
The permissions for lp0 are 666.
Advice and comments, please.
:wall:
Thanks (0 Replies)
Discussion started by: woofy613
0 Replies
5. AIX
Hello all.
I am setting up a queue under AIX 4.2.1 to print to a remote Linux CUPS queue. At present I can print to the queue remotely from Windows but not AIX. What I am seeing is lpstat reads the state of the remote queue but at job submission time I am getting backend exit fatal errors. The... (4 Replies)
Discussion started by: tgx
4 Replies
6. UNIX for Advanced & Expert Users
I ported application from SysV to Linux and run into troubles with printing.
Application uses lp and HP JetDirect-based printers, it inserts HP control codes in the file and uses plain lp -d dest doc-file command to print it.
The Linux (Ubuntu 8) has CUPS system, which I am not familiar... (0 Replies)
Discussion started by: migurus
0 Replies
7. UNIX for Advanced & Expert Users
Hi Guys,
I've inherited a mess of an infrastructure in my new job, there hasn't been a sys admin in post for about a year, so things are falling apart. The first thing to break after I started was the printer server. I have it working again, and people can print, however it's very slow, slower... (0 Replies)
Discussion started by: rudigarude
0 Replies
8. Red Hat
Hi All,
Having searched for a solution to this issue i found no suggestions which help my particular problem.
I am getting the following error message on 1 of the 3 printers i have configured:
recoverable: Network host 'xxx.xxx.xxx.xxx' is busy; will retry in 30 seconds
All 3 printers are... (0 Replies)
Discussion started by: Tommyk
0 Replies
9. UNIX for Advanced & Expert Users
Hello Experts,
I have been facing an issue with printing through cups configured on Linux server.
All was going on well but all of a sudden the printers started giving an error message, "Unsupported format application/postscript!" and we cant get any prints of any printer.
Need your help as... (2 Replies)
Discussion started by: Rockyc3400
2 Replies
10. Shell Programming and Scripting
Objective: To recreate the partitioning setup of /dev/sda on /dev/sdc
How would I parse the below information and initialize variables
(an array?) that can be used to build sgdisk commands in a script, regardless of the number of partitions?
Something along the lines of:
sgdisk -n... (12 Replies)
Discussion started by: RogerBaran
12 Replies
LEARN ABOUT DEBIAN
p910nd
P910ND(8) System Manager's Manual P910ND(8)
NAME
p910nd - port 9100+n printer daemon
SYNOPSIS
p910nd [-f device] [-i bindaddr] [-bv] [0|1|2]
DESCRIPTION
p910nd is a small daemon that copies any data received on the port it is listening on to the corresponding printer port. It is primarily
intended for diskless Linux hosts running as printer drivers but there is no reason why it could not be used on diskful hosts. Port 9100
is copied to /dev/lp0, 9101 to /dev/lp1 and 9102 to /dev/lp2. The default is port 9100 to /dev/lp0.
The -f option can be used to specify a different printer device, e.g. /dev/usblp0.
The -i option can be used to specify binding to one address instead of all interfaces which is the default.
The -b option turns on bidirectional copying.
The -v option shows the version number.
INSTALLATION
p910nd can be run as a standalone daemon or from (x)inetd. It will automatically detect if it is running under (x)inetd.
A sample SysVinit script, p910nd.sh, is provided for operation as a daemon. p910nd will change its name under ps to match the printer
port, i.e. p9100d, p9101d and p9102d.
When running under (x)inetd, the /etc/inetd.conf entry should look something like this (with tcpwrappers protection):
p9101 stream tcp nowait root /usr/sbin/tcpd /sbin/p910nd
Don't forget to add an entry in /etc/services for the corresponding port.
If operating with lprng, use the host%port syntax for the printer device to send jobs to it.
If operating with CUPS, this is supported as the AppSocket protocol, also known as the JetDirect (probably TM) protocol.
If operating with classic Berkeley lpd, a sample client, client.pl, is provided. This should be installed as the ifilter (if=) in
/etc/printcap. banner.pl should be installed as the ofilter (of=) in /etc/printcap. It may be necessary to create a dummy spool file for
lpd (lp=). This file will be opened but not written to. The corresponding C versions are left as an exercise for the reader.
When running under inetd, more than one instance could be started. To avoid problems with multiple instances attempting to access the
printer at the same time, make sure that only one client is active at any one time. This can be done by designating one host as the spooler
and sending all jobs to this host. You will probably need to set up an intermediate queue anyway to provide print job filtering.
If built with USE_WRAP, it uses the libwrap library (tcpwrappers). Access control can be done with /etc/hosts.allow and /etc/hosts.deny.
The service name is p910nd.
DIAGNOSTICS
p910nd logs error messages to syslog.
SEE ALSO
printcap(5), hosts_access(5)
FILES
/var/run/p9100d.pid, /var/lock/p910nd/p9100d, /etc/hosts.allow, /etc/hosts.deny
COPYRIGHT
p910nd is under the GNU Public License Version 2
AUTHOR
Ken Yap (greenpossum ATSIGN users PERIOD sourceforge PERIOD net)
DATE
Version 0.95 February 2011
16 February 2011 P910ND(8)