The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Slackware
.
google unix.com



Slackware The Official Release of Slackware Linux by Patrick Volkerding is an advanced Linux operating system, designed with the twin goals of ease of use and stability as top priorities.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Landscape printing broken in CUPS? stuaz Linux 0 07-16-2008 04:41 AM
Installation of CUPS in HP-UX meeraramanathan HP-UX 6 06-10-2008 04:41 AM
NIM server setup on etherchannel setup environment pdtak AIX 1 05-28-2008 04:54 PM
selective tar image and dir perms gfarley UNIX for Advanced & Expert Users 4 06-05-2002 09:12 AM
Printing Problems in unix ... ( Bar-cdoe - Ip Printing) QuickSilver UNIX for Advanced & Expert Users 3 06-04-2002 10:48 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-20-2009
agentrnge agentrnge is offline
Registered User
  
 

Join Date: Jan 2009
Location: New Jersey, USA
Posts: 13
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
  #2 (permalink)  
Old 01-20-2009
agentrnge agentrnge is offline
Registered User
  
 

Join Date: Jan 2009
Location: New Jersey, USA
Posts: 13
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".
Closed Thread

Bookmarks

Tags
cups hp2100 /dev/lp0

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:54 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0