Sponsored Content
Operating Systems Linux Slackware CUPS setup / dev/lp0 perms. ... Slow printing. Post 302278617 by agentrnge on Tuesday 20th of January 2009 05:02:58 PM
Old 01-20-2009
CUPS setup / dev/lp0 perms. ... Slow printing.

Hello,

Ive got an HP LaserJet 2100 / parallel interface.
I had some troubles getting going due to non-working cups drivers. Updated cups and also used a .ppd.gz file from something HP provided. found the files here...
http://www.linuxprinting.org/show_pr...-LaserJet_2100

Anyways. Printer was working fine with the new ppd driver. Sent a few test prints. 1200 dpi, all features working ok. (but slow) Then I rebooted. Note: this was a hard forced reboot to halt IO on a filesystem to run some undelete utils. Since then printer is not working. Re-traced my steps through the driver install / printer definition in cups.

cups errors report:
Unable to open device file "/dev/lp0": Permission denied

perms on lp0 should not have changed...

I just set them to 666.. restarted the spooler and it seems like it working.
inside /dev/
crw-rw-rw- 1 root lp 6, 0 2009-01-20 16:22 lp0

So CUPS and the printer is functional.
Now, why would perms have changed?
Is this the correct perms on lp0?
Should lp or cups be intercepting the print job anyway and the lp user sends the write to /dev/lp0 ?

System is slackware 12.2 kernel 2.6.27.7 cups 1.3.9

Last edited by agentrnge; 01-20-2009 at 07:19 PM.. Reason: removed mention of slow printing
 

10 More Discussions You Might Find Interesting

1. Linux

Landscape printing broken in CUPS?

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

Slow printing / CUPS - process "parallel" high cpu

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

Printing as a CUPS client, only root can print!

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

CUPS Cannot recognize lp0

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

Remote printing to Linux CUPS queue

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

CUPS printing and control escape codes

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

Slow printing to network printers using CUPS

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

cups printing error

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

Troubleshooting printing through Cups

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

Automating partitioning setup of /dev/sda on /dev/sdc

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
CUPS-GENPPD(8)						      Gutenprint Manual Pages						    CUPS-GENPPD(8)

NAME
cups-genppd - generate Gutenprint PPD files for use with CUPS SYNOPSIS
cups-genppd [-c localedir] [-l locale] [-p prefix] [-q] [-v] model1 [model2, ...modeln] cups-genppd -L [-c localedir] cups-genppd -M [-v] cups-genppd -h cups-genppd -V DESCRIPTION
cups-genppd generates Gutenprint PPD files for use with CUPS. The default behavior is to output PPD files for all models of printer that the Gutenprint printer driver library supports. You may restrict the models by listing either the driver names or the full names of the printers you wish to generate PPD files for after any options. Additionally, the PPD files may be localised, that is, translated, to use your native language rather than US English. There are commands to find out what printer models and languages are supported. EXAMPLES
cups-genppd -v bjc-6200 'Epson Stylus Photo 1280' 'HP DeskJet 850C' verbosely generate three PPD files, listing the driver name in the first case, and the full name in the second. LANG=de_DE genppd -p ppd -c /usr/share/locale generate PPDs for all available models, in directory ppd using the locale data found under /usr/share/locale. The language to use is taken from the environment (de_DE). cups-genppd -L -c /usr/local/share/locale list available languages using the locale data found under /usr/local/share/locale. cups-genppd -M -v list available drivers, with long model descriptions COMMANDS
-h show a help message -L list available translations (message catalogs). If a locale is used for which there is not a corresponding translation, then then US English will be used. -M list available printer models. By default, only driver names are listed; if verbose mode is used, the full model name will also be printed -V show version information and defaults The default behavior is to output PPDs if no command is given. OPTIONS
-c localedir use localedir as the base directory for locale data -l locale output PPDs translated with messages for locale. Note that locale must be a locale as shown by locale -a. For example, the de translation is used by the de_DE locale; de alone will not work. -p prefix output PPDs in directory prefix. Directories are not recursively created. -q Quiet mode. -v Verbose mode. models a list of printer models, either the driver or quoted full name. SEE ALSO
CUPS Software Administrators Manual, http://localhost:631/documentation.html COPYRIGHT
Copyright (C) 1992-2002 Michael Sweet (mike@easysw.com) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation. This manual page was written by Roger Leigh (rleigh@debian.org). Version 5.2.9 07 Jul 2012 CUPS-GENPPD(8)
All times are GMT -4. The time now is 12:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy