Re: printing on a remote usb printer
On Thu 12 Dec 2019 at 18:50:04 +0100, Pierre Frenkiel wrote:
> On Thu, 12 Dec 2019, Brian wrote:
>
> > Post what you get for 'lpstat -t' on server and client.
>
> I only left entries for the involved printer
That's fine.
> on the server:
>
> scheduler is running
> system default destination: ljp
> device for ljp: hp:/usb/HP_LaserJet_MFP_M227-M231?serial=VNC3P21987
> ljp accepting requests since Thu 12 Dec 2019 06:33:27 PM CET
> printer ljp is idle. enabled since Thu 12 Dec 2019 06:33:27 PM CET
This looks good. We take it that you can print from *the server*?
'lp -d ljp /etc/nsswitch.conf' saves you a bit of ink/toner.
> on the client:
>
> scheduler is running
> system default destination: ljp
> device for ljp: ipp://pfr2/printers/ljp
pfr2 is the hostname of the server? If so, that should be ok if the
client can resolve it. Try pfr2.local or the IP in the server URI.
> ljp not accepting requests since Thu 12 Dec 2019 09:02:47 AM CET -
> reason unknown
If in doubt, do 'cupsenable ljp' and 'cupsaccept ljp'
> printer ljp is idle. enabled since Thu 12 Dec 2019 09:02:47 AM CET
>
> I noticed, in/var/log/cups/error_log(server side)
> Returning HTTP Forbidden for Get-Printer-Attributes (ipp://pfr2.local:631/printers/ljp) from 192.168.1.163
>
> and the client:
> Returning IPP server-error-not-accepting-jobs for Create-Job (ipp://localhost/printers/ljp) from localhost.
Would you also do 'ippfind -T 5'? (-T 5 may not be needed).
--
Brian.
Reply to: