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 CENTOS
sane-qcam
sane-qcam(5) SANE Scanner Access Now Easy sane-qcam(5)
NAME
sane-qcam - SANE backend for Connectix QuickCam cameras
DESCRIPTION
The sane-qcam library implements a SANE (Scanner Access Now Easy) backend that provides access Connectix QuickCam cameras.
DEVICE NAMES
This backend expects device names of the form:
port
Where port is the I/O port address at which the device resides. This address is normally specified in hexadecimal using C syntax (e.g.,
0x37b) and may be prefixed with the letter "u" (e.g., u0x37b) to force the backend to access the camera in uni-directional mode.
CONFIGURATION
The contents of the qcam.conf file is a list port addresses that may be connected to a Connectix QuickCam. Empty lines and everything
starting from a hash mark (#) up to the end of a line are ignored. A sample configuration file is shown below:
0x37b # /dev/lp0
0x378 # /dev/lp1
u0x278 # /dev/lp2 forced in uni-directional mode
0x3bc # /dev/lp0 (alternate address)
In general, it is safest to list only the port addresses that really correspond to a QuickCam. For example, if one of the listed addresses
actually connect to a printer, then starting up this backend will cause the printer to perform a device reset (which is generally undesir-
able).
FILES
/etc/sane.d/qcam.conf
The backend configuration file (see also description of SANE_CONFIG_DIR below).
/usr/lib64/sane/libsane-qcam.a
The static library implementing this backend.
/usr/lib64/sane/libsane-qcam.so
The shared library implementing this backend (present on systems that support dynamic loading).
ENVIRONMENT
SANE_CONFIG_DIR
This environment variable specifies the list of directories that may contain the configuration file. Under UNIX, the directories
are separated by a colon (`:'), under OS/2, they are separated by a semi-colon (`;'). If this variable is not set, the configura-
tion file is searched in two default directories: first, the current working directory (".") and then in /etc/sane.d. If the value
of the environment variable ends with the directory separator character, then the default directories are searched after the explic-
itly specified directories. For example, setting SANE_CONFIG_DIR to "/tmp/config:" would result in directories "tmp/config", ".",
and "/etc/sane.d" being searched (in this order).
SANE_DEBUG_QCAM
If the library was compiled with debug support enabled, this environment variable controls the debug level for this backend. E.g.,
a value of 128 requests all debug output to be printed. Smaller levels reduce verbosity.
AUTHOR
David Mosberger
BUGS
Support is currently limited to the color version of the QuickCam. The black-and-white camera is starting to work too, but I don't believe
it works in all cases yet. Reportedly, acquiring images of certain sizes work fine, but others result in shifted images (sounds like a
problem due to byte-padding).
The program needs root-privileges since it needs to be able to access the camera's I/O ports.
SEE ALSO
sane(7)
14 Jul 2008 sane-qcam(5)