* [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 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 18:24 ` Heiko Baums
` (2 subsequent siblings)
3 siblings, 1 reply; 15+ messages in thread
From: Neil Bothwick @ 2018-09-12 13:55 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1090 bytes --]
On Wed, 12 Sep 2018 14:50:36 +0200, Helmut Jarausch wrote:
> 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?
Have you allowed access to the server from the local network? Something
like this in cupsd.conf
# Restrict access to the server...
<Location />
Order allow,deny
Allow localhost
Allow 192.168.1.*
</Location>
--
Neil Bothwick
Why marry a virgin? If she wasn't good enough for the rest of them, then
she isn't good enough for you.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] CUPS remote printing drives me crazy
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
0 siblings, 2 replies; 15+ messages in thread
From: Helmut Jarausch @ 2018-09-12 15:21 UTC (permalink / raw
To: gentoo-user
On 09/12/2018 03:55:16 PM, Neil Bothwick wrote:
> On Wed, 12 Sep 2018 14:50:36 +0200, Helmut Jarausch wrote:
>
> > 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?
>
> Have you allowed access to the server from the local network?
> Something
> like this in cupsd.conf
>
> # Restrict access to the server...
> <Location />
> Order allow,deny
> Allow localhost
> Allow 192.168.1.*
> </Location>
>
Thanks Neil,
do I need this on the client machine, as well?
(I do have it on the server machine)
Helmut
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] CUPS remote printing drives me crazy
2018-09-12 15:21 ` Helmut Jarausch
@ 2018-09-12 17:16 ` Neil Bothwick
2018-09-12 17:50 ` Mick
1 sibling, 0 replies; 15+ messages in thread
From: Neil Bothwick @ 2018-09-12 17:16 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1502 bytes --]
On Wed, 12 Sep 2018 17:21:14 +0200, Helmut Jarausch wrote:
> On 09/12/2018 03:55:16 PM, Neil Bothwick wrote:
> > On Wed, 12 Sep 2018 14:50:36 +0200, Helmut Jarausch wrote:
> >
> > > 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?
> >
> > Have you allowed access to the server from the local network?
> > Something
> > like this in cupsd.conf
> >
> > # Restrict access to the server...
> > <Location />
> > Order allow,deny
> > Allow localhost
> > Allow 192.168.1.*
> > </Location>
> >
>
> Thanks Neil,
>
> do I need this on the client machine, as well?
> (I do have it on the server machine)
All I have on the clients in "ServerName hostnameofserver"
in /etc/cups/client.conf
--
Neil Bothwick
The road to HAL is paved with good intentions.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] CUPS remote printing drives me crazy
2018-09-12 15:21 ` Helmut Jarausch
2018-09-12 17:16 ` Neil Bothwick
@ 2018-09-12 17:50 ` Mick
1 sibling, 0 replies; 15+ messages in thread
From: Mick @ 2018-09-12 17:50 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2507 bytes --]
On Wednesday, 12 September 2018 16:21:14 BST Helmut Jarausch wrote:
> On 09/12/2018 03:55:16 PM, Neil Bothwick wrote:
> > On Wed, 12 Sep 2018 14:50:36 +0200, Helmut Jarausch wrote:
> > > 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"
If the SERVER is a domain name, rather than an IP address, your client will
have to be able to resolve it. So, add it in your /etc/hosts, or use the
server's IP address.
> > > Would anybody be so kind to share (the relevant parts) of his/her
> > > cupsd.conf on the server as well as
> > > on the client?
I used to have such a set up running here, but this was the best part of 10
years ago and my memory is not what it used to be! ;-)
> > Have you allowed access to the server from the local network?
> > Something
> > like this in cupsd.conf
> >
> > # Restrict access to the server...
> > <Location />
> >
> > Order allow,deny
> > Allow localhost
> > Allow 192.168.1.*
> >
> > </Location>
>
> Thanks Neil,
>
> do I need this on the client machine, as well?
> (I do have it on the server machine)
>
> Helmut
No, you only need this on the server, BUT there's more you will have to set
up.
1. Set the server in cupsd.conf to be listening for connections on the IP
address which will be used by the client. The default is to only listen to
connections from localhost.
2. As Neil suggested make sure you allow PC(s) from your LAN subnet to access
the cups server.
3. Check your firewall on the server allows connections over the corresponding
protocol (port 631).
4. Use telnet/netcat/nmap to see if the client can access an open port 631 on
the server.
This should get you talking to the server.
Should you still have problems printing, you can thereafter troubleshoot it in
more detail by checking the server's cupsd logs.
Beyond simple printing you can allow access to the server's admin pages, logs
and what have your from the client, but you may not wish to do this for
security reasons.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] CUPS remote printing drives me crazy
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 18:24 ` Heiko Baums
2018-09-13 3:13 ` J. Roeleveld
2018-09-14 10:54 ` sh2d000w
2018-09-14 12:51 ` Helmut Jarausch
3 siblings, 1 reply; 15+ messages in thread
From: Heiko Baums @ 2018-09-12 18:24 UTC (permalink / raw
To: gentoo-user
Am Wed, 12 Sep 2018 14:50:36 +0200
schrieb Helmut Jarausch <jarausch@skynet.be>:
> On one machine - called SERVER - I have a USB printer which works
> just fine with CUPS.
Just one maybe stupid question. Does this printer have Wifi support?
Then it would be a lot easier. If you would disconnect this printer
from the one PC and connect it to your network over Wifi then you
probably would only need to configure your firewall.
The printer would then be found automatically by CUPS.
Heiko
^ 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
* Re: [gentoo-user] CUPS remote printing drives me crazy
2018-09-12 18:24 ` Heiko Baums
@ 2018-09-13 3:13 ` J. Roeleveld
2018-09-13 11:57 ` Heiko Baums
0 siblings, 1 reply; 15+ messages in thread
From: J. Roeleveld @ 2018-09-13 3:13 UTC (permalink / raw
To: gentoo-user
On September 12, 2018 6:24:44 PM UTC, Heiko Baums <lists@baums-on-web.de> wrote:
>Am Wed, 12 Sep 2018 14:50:36 +0200
>schrieb Helmut Jarausch <jarausch@skynet.be>:
>
>> On one machine - called SERVER - I have a USB printer which works
>> just fine with CUPS.
>
>Just one maybe stupid question. Does this printer have Wifi support?
>
>Then it would be a lot easier. If you would disconnect this printer
>from the one PC and connect it to your network over Wifi then you
>probably would only need to configure your firewall.
>
>The printer would then be found automatically by CUPS.
>
>Heiko
Or simply via a network cable.
Wifi isn't the most reliable option.
--
Joost
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] CUPS remote printing drives me crazy
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 14:59 ` J. Roeleveld
0 siblings, 2 replies; 15+ messages in thread
From: Heiko Baums @ 2018-09-13 11:57 UTC (permalink / raw
To: gentoo-user
Am Thu, 13 Sep 2018 03:13:45 +0000
schrieb "J. Roeleveld" <joost@antarean.org>:
> Or simply via a network cable.
Most printers don't have an ethernet port anymore these days.
> Wifi isn't the most reliable option.
I didn't have a problem yet with printing or scanning over Wifi.
Heiko
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] CUPS remote printing drives me crazy
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
1 sibling, 1 reply; 15+ messages in thread
From: Wol's lists @ 2018-09-13 13:55 UTC (permalink / raw
To: gentoo-user
On 13/09/2018 12:57, Heiko Baums wrote:
>> Wifi isn't the most reliable option.
> I didn't have a problem yet with printing or scanning over Wifi.
You're lucky !!!
Okay, my main problem is the broadband connection that takes out the
router, but my house is NOT wi-fi friendly, and that's pretty typical.
I will now ALWAYS pick wired over wi-fi if possible. If (as I hope to do
in the not-too-distant future) I get the chance to design or do up a
house, I would make sure I had hidden wiring in pretty much every room!
Cheers,
Wol
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] CUPS remote printing drives me crazy
2018-09-13 11:57 ` Heiko Baums
2018-09-13 13:55 ` Wol's lists
@ 2018-09-13 14:59 ` J. Roeleveld
2018-09-13 22:50 ` Heiko Baums
1 sibling, 1 reply; 15+ messages in thread
From: J. Roeleveld @ 2018-09-13 14:59 UTC (permalink / raw
To: gentoo-user
On September 13, 2018 11:57:24 AM UTC, Heiko Baums <lists@baums-on-web.de> wrote:
>Am Thu, 13 Sep 2018 03:13:45 +0000
>schrieb "J. Roeleveld" <joost@antarean.org>:
>
>> Or simply via a network cable.
>
>Most printers don't have an ethernet port anymore these days.
I select them on having a wired network port.
>> Wifi isn't the most reliable option.
>
>I didn't have a problem yet with printing or scanning over Wifi.
Wifi is slower than wired.
I prefer not to have to wait because of the network.
--
Joost
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] CUPS remote printing drives me crazy
2018-09-13 13:55 ` Wol's lists
@ 2018-09-13 15:01 ` J. Roeleveld
0 siblings, 0 replies; 15+ messages in thread
From: J. Roeleveld @ 2018-09-13 15:01 UTC (permalink / raw
To: gentoo-user
On September 13, 2018 1:55:02 PM UTC, Wol's lists <antlists@youngman.org.uk> wrote:
>On 13/09/2018 12:57, Heiko Baums wrote:
>>> Wifi isn't the most reliable option.
>
>> I didn't have a problem yet with printing or scanning over Wifi.
>
>You're lucky !!!
>
>Okay, my main problem is the broadband connection that takes out the
>router, but my house is NOT wi-fi friendly, and that's pretty typical.
>
>I will now ALWAYS pick wired over wi-fi if possible. If (as I hope to
>do
>in the not-too-distant future) I get the chance to design or do up a
>house, I would make sure I had hidden wiring in pretty much every room!
>
>Cheers,
>Wol
Wifi is a shared medium. Which means that if you have other people living nearby, your wifi connection will suffer.
I managed to pull network cabling through the pipes containing phone and coax cables. This allowed me to wire up the study, living room and server room.
--
Joost
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] CUPS remote printing drives me crazy
2018-09-13 14:59 ` J. Roeleveld
@ 2018-09-13 22:50 ` Heiko Baums
0 siblings, 0 replies; 15+ messages in thread
From: Heiko Baums @ 2018-09-13 22:50 UTC (permalink / raw
To: gentoo-user
Am Thu, 13 Sep 2018 14:59:03 +0000
schrieb "J. Roeleveld" <joost@antarean.org>:
> I select them on having a wired network port.
But what about the price? Well, I guess it depends on the use case. I
guess if I would need it on business I would consider this, too.
> Wifi is slower than wired.
> I prefer not to have to wait because of the network.
Well, yes, but not so much. Depends on how much you have to print and
how often. For these few pages I print every now and then it doesn't
matter. Wifi is fast enough for those cases.
Heiko
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] CUPS remote printing drives me crazy
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 18:24 ` Heiko Baums
@ 2018-09-14 10:54 ` sh2d000w
2018-09-14 12:51 ` Helmut Jarausch
3 siblings, 0 replies; 15+ messages in thread
From: sh2d000w @ 2018-09-14 10:54 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1445 bytes --]
Hello!
I could not connect through the cups web interface.
In the end, I connected the printer with the command on the client computer:
lpadmin -p <printer_name_on_the_server> -E -v
ipp://<ip_address_server>/printers/<printer_name_on_the_server> -m
+drv:///hp/hpcups.drv/<file_name_ppd_for_printer_model>.ppd
You can see <file_name_ppd_for_printer_model> with the command:
lpinfo -m
--
With respect, Pautov Aleksandr
ср, 12 сент. 2018 г. в 20:51, Helmut Jarausch <jarausch@skynet.be>:
> 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
>
>
>
[-- Attachment #2: Type: text/html, Size: 1907 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] CUPS remote printing drives me crazy
2018-09-12 12:50 [gentoo-user] CUPS remote printing drives me crazy Helmut Jarausch
` (2 preceding siblings ...)
2018-09-14 10:54 ` sh2d000w
@ 2018-09-14 12:51 ` Helmut Jarausch
3 siblings, 0 replies; 15+ messages in thread
From: Helmut Jarausch @ 2018-09-14 12:51 UTC (permalink / raw
To: gentoo-user
Many thanks to all who helped me.
For cupsd.conf on the server machine
It turned out that I needed
Listen localhost:631
in addition to
Port 631
Listen /run/cups/cups.sock
Furthermore, on the client machine I had typo
DeviceURI ipp:://MyServer/printers/duploc_usb
(note the double colon)
Unfortunately, CUPS doesn't seem to check the syntax of DeviceURI
or it doesn't report this.
One simply gets "printer could not be located" when one tries to use it.
I didn't want to use enter the SERVER name into /etc/cups/client.conf
on the client machine,
since I want "double spooling', i.e. the client machine should accept
the print job even if the SERVER
machine is down.
---
Yes, I still have an old printer which only has a USB-connection and an
Ethernet connection.
Unfortunately, the Ethernet connection broke down recently.
I don't think that WiFi is the best solution since - at least me - have
only 60 Mbits/seccon on the WiFi
but 1 Gbits/second on the wired Ethernet - and some files to be printed
are quite large.
Thanks again,
Helmut.
On 09/12/2018 02:50:36 PM, 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?
>
^ 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