-
Knoppix 5.0.1 printing from command line
Hi all,
I have been googleing a lot around this, but found no solution or valuable hint to understand.
I need to configure and run a printer, using cups, all this from the command line.
I have successfully configured the queue with foomatic-configure (after fixing the database with foomatic-cleanup-drivers), then I use lpr to send a job to the printer. No printing starts! I enabled cups debug verbosity in the logs and figured out I have a problem writing to /var/spool/cups/tmp. This looks coherent with the permission/ownership scheme of /var/spool/cups which is :
drwx--x--- 4 root lpadmin
Since I run the server as user "lp" and group "lpadmin" (I think this is default, but I also tryed to force this setting in /etc/cups/cupsd.conf), when the filter calls "gs" as user "lp" this program is unable to access /var/spool/cups/tmp.
BTW I can succesfully print if I hack /var/spool/cups permission or if I run cupsd as root, but this doesn't sound a good solution so I ask if anyone can tell me the right way to fix it.
I also found a different suggestion for spool dir permission scheme, but I'm not sure if it apply to cups 1.1.23 (the one shipped with my Knoppix 5.0.1) at http://www.linuxprinting.org/error_log-faq.html#q_3_9. This should work for the situation but drwx--x--- is default in knoppix (and even on my Ubuntu 6.06 box). The permission/ownership also seem to be "reset" every time I restart the server, so hacking it sounds again more dirty.
TIA for any suggestion!
Andrea
Similar Threads
-
By Mongoose in forum MS Windows & New to Linux
Replies: 2
Last Post: 06-07-2006, 12:23 AM
-
By chaosnine in forum Customising & Remastering
Replies: 1
Last Post: 08-17-2005, 07:35 PM
-
By TyIsOwned in forum Hardware & Booting
Replies: 1
Last Post: 07-27-2005, 02:18 PM
-
By Jesse in forum Hdd Install / Debian / Apt
Replies: 8
Last Post: 04-30-2004, 05:57 PM
-
By snake001 in forum General Support
Replies: 2
Last Post: 11-01-2003, 11:29 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Commodore 64 C64 Vintage Personal Computer
$299.99

TeensyROM+ TR+ v0.4 Cartridge for C64/128 - w/ Case & 32GB SD Preloaded
$89.50

Commodore VIC-20 Diagnostic Cartridge & Test Harness Set - USA seller
$39.99

Commodore OS USB | Bootable LIVE + Install | The Ultimate Gaming Linux OS | NEW
$11.99

Commodore 128 C128 Computer FOR PARTS / REPAIR Untested Missing Key No Cords
$149.99

Commodore 64 C64 Computer & RF TV Switch Cable UNTESTED NO POWER SUPPLY AS IS
$104.99

Commodore 64 Serial Cable 6PIN DIN 1541 1571 C64 128 C128 Disk Drive Printer USA
$10.49

Commodore 1541 Emulator PI1541 HAT with ROTARY, OLED screen, USA Seller
$29.99

RARE Commodore MPS801 Printer - 1st printer for the 64 - powers on
$70.00

Commodore 64 Dead Test & Diagnostic Cartridge & Test Harness Set - USA seller
$39.99