You are not logged in.

#1 2017-07-06 13:12:17

no-cheating
Member
From: Poland
Registered: 2016-04-26
Posts: 61

[SOLVED] Can't set a default printer

I have a Ricoh Afficio MP C3001 printer over network socket. I managed to install and configure it via CUPS web interface (http://localhost:631), but when I set it as a default printer via the same interface, the command line tools lpq and lpr doesn't see it as default and graphical applications (e.g. Firefox) don't list the printer in printing dialogs at all. Setting it on command line doesn't help as well. Ouput of a sequence of commands below.

What could be the problem? How could I set it so that the Firefox would see it?

$ lpstat -s
system default destination: Ricoh_Aficio_MP_C3001
device for Ricoh_Aficio_MP_C3001: socket://10.59.8.43

$ lpq
lpq: Error - no default destination available.

$ lpq -P Ricoh_Aficio_MP_C3001
Ricoh_Aficio_MP_C3001 is ready
no entries

$ lpoptions -d Ricoh_Aficio_MP_C3001
copies=1 device-uri=socket://10.59.8.43 finishings=3 job-cancel-after=10800 job-hold-until=no-hold job-priority=50 job-sheets=none,none marker-change-time=1499345467 marker-colors=#000000,none,#00FFFF,#FF00FF,#FFFF00 marker-levels=-1,-1,-1,-1,-1 marker-names='Toner\ czarny,Zu?yty\ toner,Toner\ cyjanowy,Toner\ magenta,Toner\ ???ty' marker-types=toner,waste-toner,toner,toner,toner number-up=1 printer-commands=AutoConfigure,Clean,PrintSelfTestPage printer-info='Ricoh Aficio MP C3001' printer-is-accepting-jobs=true printer-is-shared=false printer-is-temporary=false printer-location='Room 3.19' printer-make-and-model='Ricoh Aficio MP C3001 PXL' printer-state=3 printer-state-change-time=1499345467 printer-state-reasons=none printer-type=10629372 printer-uri-supported=ipp://localhost/printers/Ricoh_Aficio_MP_C3001

$ lpq
lpq: Error - no default destination available.

$ lpr
lpr: Error - no default destination available.

Last edited by no-cheating (2017-07-11 21:43:10)

Offline

#2 2017-07-06 20:25:37

pypi
Wiki Maintainer
Registered: 2014-04-22
Posts: 250

Re: [SOLVED] Can't set a default printer

Firefox and similar not seeing the printer sounds like not having gtk3-print-backends installed.

What is in ~/.cups/ (what files, what file contents?)? Is there a /etc/cups/client.conf and what does it contain?

Offline

#3 2017-07-07 05:59:45

seth
Member
Registered: 2012-09-03
Posts: 51,213

Re: [SOLVED] Can't set a default printer

Also prepare for facing https://bbs.archlinux.org/viewtopic.php?id=227964 and https://bbs.archlinux.org/viewtopic.php?id=227947
Given https://github.com/apple/cups/issues/5046 and assuming you've no avahi (running/support) I could imagine it's the cause for the bad default as well.

Offline

#4 2017-07-11 21:42:23

no-cheating
Member
From: Poland
Registered: 2016-04-26
Posts: 61

Re: [SOLVED] Can't set a default printer

pypi wrote:

Firefox and similar not seeing the printer sounds like not having gtk3-print-backends installed.

What is in ~/.cups/ (what files, what file contents?)? Is there a /etc/cups/client.conf and what does it contain?

seth wrote:

Also prepare for facing https://bbs.archlinux.org/viewtopic.php?id=227964 and https://bbs.archlinux.org/viewtopic.php?id=227947
Given https://github.com/apple/cups/issues/5046 and assuming you've no avahi (running/support) I could imagine it's the cause for the bad default as well.

Thanks.

The default printer set itself properly after some time. I'm not sure what caused that.

As for Firefox, installing gtk3-print-backends helped to fix the dialog box selection

Offline

Board footer

Powered by FluxBB