public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Problem with printing
@ 2012-03-24 20:52 Алексей Мишустин
  2012-03-24 21:19 ` [gentoo-user] " Алексей Мишустин
  0 siblings, 1 reply; 6+ messages in thread
From: Алексей Мишустин @ 2012-03-24 20:52 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-user] Re: Problem with printing
  2012-03-24 20:52 [gentoo-user] Problem with printing Алексей Мишустин
@ 2012-03-24 21:19 ` Алексей Мишустин
  2012-03-24 21:28   ` Alex Schuster
  2012-03-24 21:32   ` Алексей Мишустин
  0 siblings, 2 replies; 6+ messages in thread
From: Алексей Мишустин @ 2012-03-24 21:19 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Re: Problem with printing
  2012-03-24 21:19 ` [gentoo-user] " Алексей Мишустин
@ 2012-03-24 21:28   ` Alex Schuster
  2012-03-25  6:30     ` Алексей Мишустин
  2012-03-24 21:32   ` Алексей Мишустин
  1 sibling, 1 reply; 6+ messages in thread
From: Alex Schuster @ 2012-03-24 21:28 UTC (permalink / raw
  To: gentoo-user

Алексей Мишустин writes:

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

The "HP PSC 1410 USB" thread suggests to disable USB printer support in
the kernel, and enable the usb USE flag for cups. But I think if this
were the problem, you wouldn't even see the printer in CUPS.

	Wonko



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-user] Re: Problem with printing
  2012-03-24 21:19 ` [gentoo-user] " Алексей Мишустин
  2012-03-24 21:28   ` Alex Schuster
@ 2012-03-24 21:32   ` Алексей Мишустин
  2012-03-24 21:47     ` Алексей Мишустин
  1 sibling, 1 reply; 6+ messages in thread
From: Алексей Мишустин @ 2012-03-24 21:32 UTC (permalink / raw
  To: gentoo-user

# cat /etc/cups/printers.conf
# Printer configuration file for CUPS v1.4.8
# Written by cupsd on 2012-03-25 00:08
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer EPSON_Stylus_Photo_2100>
Info EPSON Stylus Photo 2100
Location Local
MakeModel Epson Stylus Photo Series
DeviceURI usb://EPSON/Stylus%20Photo%202100
State Idle
StateTime 1332619676
Type 36876
Filter application/vnd.cups-raw 0 -
Filter application/vnd.cups-raster 50 rastertoepson
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
AllowUser root
OpPolicy default
ErrorPolicy stop-printer
</Printer>

--
Regards,
Alex



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-user] Re: Problem with printing
  2012-03-24 21:32   ` Алексей Мишустин
@ 2012-03-24 21:47     ` Алексей Мишустин
  0 siblings, 0 replies; 6+ messages in thread
From: Алексей Мишустин @ 2012-03-24 21:47 UTC (permalink / raw
  To: gentoo-user

Hurrah

I have installed gutenprint and now my printer prints.

Apologies for the noise! ;)

--
Regards,
Alex



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Re: Problem with printing
  2012-03-24 21:28   ` Alex Schuster
@ 2012-03-25  6:30     ` Алексей Мишустин
  0 siblings, 0 replies; 6+ messages in thread
From: Алексей Мишустин @ 2012-03-25  6:30 UTC (permalink / raw
  To: gentoo-user

25 марта 2012 г. 1:28 пользователь Alex Schuster <wonko@wonkology.org> написал:
> Алексей Мишустин writes:
>
>> The printer is connected via USB. USB printers support is enabled in
>> kernel.
>
> The "HP PSC 1410 USB" thread suggests to disable USB printer support in
> the kernel, and enable the usb USE flag for cups. But I think if this
> were the problem, you wouldn't even see the printer in CUPS.

Who knows why Gmail put your message in spam, I've seen it only today.

Yes, the problem wasn't in that.

But thanks anyway.

--
Regards,
Alex



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-03-25  6:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-24 20:52 [gentoo-user] Problem with printing Алексей Мишустин
2012-03-24 21:19 ` [gentoo-user] " Алексей Мишустин
2012-03-24 21:28   ` Alex Schuster
2012-03-25  6:30     ` Алексей Мишустин
2012-03-24 21:32   ` Алексей Мишустин
2012-03-24 21:47     ` Алексей Мишустин

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox