FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 03-24-2012, 07:52 PM
Алексей Мишустин
 
Default Problem with printing

Hi List,

I have got a problem with printing.

Cups logs are showing "Create-Job successful-ok" and "Send-Document
successful-ok" if I print as root and "Create-Job
client-error-not-authorized" if I print as a regular user.

Cups jobs are showing root's commands:
EPSON_Stylus_Photo_2100-6 news_1 root 2k 1 completed at
Sun Mar 25 00:39:25 2012

BUT in both cases nothing is being printed.

Root and the user are added to the lp group.

Please tell me what could I have missed?

My /etc/cup/cupsd.conf is the default one:

LogLevel warn
SystemGroup lpadmin
Listen localhost:631
Listen /var/run/cups/cups.sock
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseLocalProtocols CUPS
DefaultAuthType None
<Location />
Order allow,deny
</Location>
<Location /admin>
Order allow,deny
</Location>
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Order allow,deny
</Location>
<Policy default>
<Limit Create-Job Print-Job Print-URI Validate-Job>
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job
Purge-Jobs Set-Job-Attributes Create-Job-Subscription
Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job
Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job
CUPS-Get-Document>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer
CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default
CUPS-Get-Devices>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer
Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs
Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer
Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs
CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
<Policy authenticated>
<Limit Create-Job Print-Job Print-URI Validate-Job>
AuthType Default
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job
Purge-Jobs Set-Job-Attributes Create-Job-Subscription
Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job
Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job
CUPS-Get-Document>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer
CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer
Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs
Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer
Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs
CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Cancel-Job CUPS-Authenticate-Job>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>

--
Regards,
Alex
 
Old 03-24-2012, 08:19 PM
Алексей Мишустин
 
Default Problem with printing

2012/3/25 Алексей Мишустин <shumkar@shumkar.ru>:
> Hi List,
>
> I have got a problem with printing.
>
> Cups logs are showing "Create-Job successful-ok" and "Send-Document
> successful-ok" if I print as root and "Create-Job
> client-error-not-authorized" if I print as a regular user.
>
> Cups jobs are showing root's commands:
> EPSON_Stylus_Photo_2100-6 * * * news_1 * * * * *root * *2k * * *1 * * * completed at
> Sun Mar 25 00:39:25 2012
>
> BUT in both cases nothing is being printed.
>
> Root and the user are added to the lp group.
>
> Please tell me what could I have missed?
>
> My /etc/cup/cupsd.conf is the default one:
>
>...

# lpstat -a
EPSON_Stylus_Photo_2100 accepting requests since Sun 25 Mar 2012 00:39:25

The printer is connected via USB. USB printers support is enabled in kernel.

From dmesg:
[ 1200.008016] usb 8-2: new high-speed USB device number 4 using ehci_hcd
[ 1200.149954] usb 8-2: New USB device found, idVendor=04b8, idProduct=0007
[ 1200.149957] usb 8-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1200.149960] usb 8-2: Product: USB2.0 Printer (Hi-speed)
[ 1200.149963] usb 8-2: Manufacturer: EPSON
[ 1200.149965] usb 8-2: SerialNumber: L53030308071122370
[ 1200.159486] usblp0: USB Bidirectional printer dev 4 if 0 alt 0
proto 2 vid 0x04B8 pid 0x0007

--
Regards,
Alex
 

Thread Tools




All times are GMT. The time now is 09:40 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org