public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] CUPS remote printing drives me crazy
@ 2018-09-12 12:50 Helmut Jarausch
  2018-09-12 13:55 ` Neil Bothwick
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Helmut Jarausch @ 2018-09-12 12:50 UTC (permalink / raw
  To: gentoo-user

Hi,
I'd like to install a very simple configuration but fail (CUPS is my  
most hated software)

I have two machines on a local network (i.e., I don't need any fancy  
security mechanisms)

On one machine - called SERVER - I have a USB printer which works just  
fine with CUPS.
I've tried to make it "shared". This printer has the name USB_printer.

On the other machine, which has no physical printer itself, I just want  
to add a remote printer which
uses  USB_printer on the SERVER.

If I try to configure this remote printer, my first problem is its name  
(URL)
I've tried  ipp://SERVER:631/printers/USB_printer  but when I try to  
print to it,
I always get "printer cannot be located"

Would anybody be so kind to share (the relevant parts) of his/her  
cupsd.conf on the server as well as
on the client?

Any hints are more than welcome,
Helmut



^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: [gentoo-user] CUPS remote printing drives me crazy
@ 2018-09-12 20:17 T ed Ozolins
  0 siblings, 0 replies; 15+ messages in thread
From: T ed Ozolins @ 2018-09-12 20:17 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1151 bytes --]

On 18-09-12 06:50 AM, Helmut Jarausch wrote:
> Hi,
> I'd like to install a very simple configuration but fail (CUPS is my 
> most hated software)
>
> I have two machines on a local network (i.e., I don't need any fancy 
> security mechanisms)
>
> On one machine - called SERVER - I have a USB printer which works just 
> fine with CUPS.
> I've tried to make it "shared". This printer has the name USB_printer.
>
> On the other machine, which has no physical printer itself, I just 
> want to add a remote printer which
> uses  USB_printer on the SERVER.
>
> If I try to configure this remote printer, my first problem is its 
> name (URL)
> I've tried  ipp://SERVER:631/printers/USB_printer  but when I try to 
> print to it,
> I always get "printer cannot be located"
>
> Would anybody be so kind to share (the relevant parts) of his/her 
> cupsd.conf on the server as well as
> on the client?
>
> Any hints are more than welcome,
> Helmut
>
>
>
This is what I have on the server side. My second computer is in another 
room via wifi and the third a raspberry-pi 2 on wifi. I used web 
interface to configure both.

-- 
Ted Ozolins
Cranbrook, BC


[-- Attachment #2: cupsd.conf --]
[-- Type: text/plain, Size: 3102 bytes --]

LogLevel warn
MaxLogSize 1m
# Allow remote access
Port 631
# Share local printers on the local network.
Browsing On
BrowseLocalProtocols dnssd
DefaultAuthType Basic
WebInterface Yes
<Location />
  # Allow shared printing...
  Order allow,deny
  Allow all
</Location>
<Location /admin>
</Location>
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
</Location>
<Policy default>
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues 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 Cancel-My-Jobs Close-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 Cancel-Jobs 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>
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default
  <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 Cancel-My-Jobs Close-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 Cancel-Jobs 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>

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

end of thread, other threads:[~2018-09-14 12:52 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-12 12:50 [gentoo-user] CUPS remote printing drives me crazy Helmut Jarausch
2018-09-12 13:55 ` Neil Bothwick
2018-09-12 15:21   ` Helmut Jarausch
2018-09-12 17:16     ` Neil Bothwick
2018-09-12 17:50     ` Mick
2018-09-12 18:24 ` Heiko Baums
2018-09-13  3:13   ` J. Roeleveld
2018-09-13 11:57     ` Heiko Baums
2018-09-13 13:55       ` Wol's lists
2018-09-13 15:01         ` J. Roeleveld
2018-09-13 14:59       ` J. Roeleveld
2018-09-13 22:50         ` Heiko Baums
2018-09-14 10:54 ` sh2d000w
2018-09-14 12:51 ` Helmut Jarausch
  -- strict thread matches above, loose matches on Subject: below --
2018-09-12 20:17 T ed Ozolins

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