Re: remote printing for an USB printer
On Wed 24 Dec 2014 at 20:40:53 +0100, Pierre Frenkiel wrote:
> On Sun, 21 Dec 2014, Brian wrote:
>
> >It is impossible for a Wheezy client to discover the queues on a 1.7
> >CUPS server without the help of cups-browsed on the server. Please read
> >the documentation.
>
> My experience proves that this is wrong:
>
> 1/ According the cups-browsed man, it seems to be needed not on the server, but on the
> client:
>
> cups-browsed - A daemon for browsing the Bonjour broadcasts of shared, remote CUPS printers
>From man cups-browsed:
3. Broadcast local queues with the CUPS protocol.
The README.Debian for cups may be enlightening.
> Anyway, all my attempts to install it on my amd64 wheezy laptop failed
> - it's not available for wheezy
> - trying to add a jessie repo in source.list fails:
> Failed to fetch http://debian.ens-cachan.fr/debian/dists/jessie/main/binary-amd64/Packages Hash Sum mismatch
> - trying install with dpkg -i deb-file fails for dependency problems.
cups-browsed for Wheezy will probably never be made available. It isn't
needed anyway (please see above).
> 2/ I (almost) solved the problem with the following actions, on the client.
> - remove the client.conf file
If your aim is for the Wheezy client to be able to discover printers on
the network automatically the last thing you want is a client.conf file.
What *is* your aim?
> - in cupsd.conf. remove ALL lines with Listen... or Browse...., leaving only
> Listen localhost:631
Removing all lines relating to browsing is a sure-fire way not to be
able to discover printers advertised by the server.
> After that, I was able to install my 2 printers (one with a direct ethernet connection,
> the other connected via USB on my desktop) with system-config-printer
> (http://localhost:631/printers also works)
With a correctly set up server (please see above) the only thing to do
on the client is to enable "Show printers shared by other systems" using
the Administration section at localhost:631. No installing is needed
with system-config-printer. If you do not want automatic discovery of
printers on the network please say what you do want.
I'd be inclined to purge (apt-get purge libcups2) and reinstall cups to
start with a sane cupsd.conf.
> Now if I print 1 page on my USB printer, I get only 1 sheet(fantastic, isn't it?)
> Nevertheless, one problem remains:
> After each print, the job remains in the queue, and the printer becomes "not ready"
> on the laptop (it remains ready on the server) and the following 2 lines appear
> in printers.conf
>
> Reason cups-ipp-conformance-failure-report
> Reason cups-ipp-missing-job-state
>
> Google showed me a lot of analog reports, but no fix.
>
> So, for the moment, I have to cancel the job, and then issue a cupsenable command
> after every print command.
"cups-ipp-missing-job-state" was reported in the error_log. It is an IPP
error but it is difficult to say whether it is a result of your present
setup or of something else.
Reply to: