Re: GTK print dialog and Avahi/mDNS

2018-07-11 Thread Brian Potkin
On Tue 10 Jul 2018 at 15:59:29 -0700, Jack Bates wrote:

> On 2018-07-06 03:33 PM, Brian Potkin wrote:
> > On Fri 06 Jul 2018 at 14:02:21 -0700, Jack Bates wrote:
> > > On 2018-06-30 06:08 AM, Brian Potkin wrote:
> > > > On Fri 29 Jun 2018 at 13:59:06 -0700, Jack Bates wrote:
> > > > > Why doesn't my printer show up in the GTK 3 print dialog?
> > > > 
> > > > What does show up there (without cups running)?
> > > 
> > > With CUPS stopped, "Print to File" and "print" show up in the Evince (GTK 
> > > 3)
> > > print dialog [1]. If I start CUPS on a *remote* machine, those queues 
> > > appear
> > > in the print dialog also (CUPS still stopped on the local machine). It
> > > doesn't matter whether CUPS is running locally or not, the same items
> > > appear. (The local CUPS doesn't have any queues configured.)
> > 
> > "print" is the printer discovered by the GTK 3 print dialog. What is the
> > make and model of the printer you have on the network. Is it attached to
> > a remote CUPS server which is advertising its queues?
> 
> The printer is a Canon MX922. It isn't connected to CUPS, the printer
> advertises itself.
> 
> > > At no time does the printer show up, although I confirm that avahi-browse
> > > does still discover it, and it does show up in the LibreOffice (not GTK 
> > > 3, I
> > > think?) print dialog.
> > 
> > Please do
> > 
> >   avahi-browse -art > log
> > 
> > and post log.
> 
> The following is the output:

Apologies for putting you to the trouble; I had forgotton you had posted
this in your first mail.

[Snip]

> > = wlp3s0 IPv6 Canon MX920 series_ipp._tcp   
> >  local
> >hostname = [09B19B00.local]
> >address = [192.168.1.103]
> >port = [631]
> >txt = ["mac=84:BA:3B:09:B1:9B" "Fax=F" "Scan=T" "Duplex=T" "Color=T" 
> > "URF=V1.2,CP1,PQ4-5,RS600,SRGB24,W8,OB9,OFU0,DM3,IS11-13" 
> > "UUID=--1000-8000-84BA3B09B19B" "usb_CMD=URF" "usb_MDL=MX920 
> > series" "usb_MFG=Canon" "adminurl=http://09B19B00.local./mainmenu.html; 
> > "pdl=application/octet-stream,image/urf,image/jpeg" "product=(Canon MX920 
> > series)" "ty=Canon MX920 series" "priority=15" "qtotal=1" "note=" 
> > "rp=ipp/print" "txtvers=1"]

pdl=application/octet-stream,image/urf,image/jpeg

These are the only three Page Description Languages the printer will
process. Evince will be sending a PDF but I guess the dialog knows it
is not acceptable; which is why it spins.

-- 
Brian.



Re: GTK print dialog and Avahi/mDNS

2018-07-10 Thread Jack Bates

On 2018-07-06 03:33 PM, Brian Potkin wrote:

On Fri 06 Jul 2018 at 14:02:21 -0700, Jack Bates wrote:

On 2018-06-30 06:08 AM, Brian Potkin wrote:

On Fri 29 Jun 2018 at 13:59:06 -0700, Jack Bates wrote:

Why doesn't my printer show up in the GTK 3 print dialog?


What does show up there (without cups running)?


With CUPS stopped, "Print to File" and "print" show up in the Evince (GTK 3)
print dialog [1]. If I start CUPS on a *remote* machine, those queues appear
in the print dialog also (CUPS still stopped on the local machine). It
doesn't matter whether CUPS is running locally or not, the same items
appear. (The local CUPS doesn't have any queues configured.)


"print" is the printer discovered by the GTK 3 print dialog. What is the
make and model of the printer you have on the network. Is it attached to
a remote CUPS server which is advertising its queues?


The printer is a Canon MX922. It isn't connected to CUPS, the printer 
advertises itself.



At no time does the printer show up, although I confirm that avahi-browse
does still discover it, and it does show up in the LibreOffice (not GTK 3, I
think?) print dialog.


Please do

  avahi-browse -art > log

and post log.


The following is the output:


+ wlp3s0 IPv6 Canon MX920 series_canon-bjnp1._tcp   
 local
+ wlp3s0 IPv4 Canon MX920 series_canon-bjnp1._tcp   
 local
+ wlp3s0 IPv6 Canon MX920 series_printer._tcp   
 local
+ wlp3s0 IPv4 Canon MX920 series_printer._tcp   
 local
+ wlp3s0 IPv6 Canon MX920 series_ipp._tcp   
 local
+ wlp3s0 IPv6 Canon MX920 series_scanner._tcp   
 local
+ wlp3s0 IPv6 Canon MX920 series_http._tcp  
 local
+ wlp3s0 IPv4 Canon MX920 series_http._tcp  
 local
= wlp3s0 IPv6 Canon MX920 series_canon-bjnp1._tcp   
 local
   hostname = [09B19B00.local]
   address = [192.168.1.103]
   port = [8611]
   txt = ["mac=84:BA:3B:09:B1:9B" "Fax=F" "Scan=T" "Duplex=T" "Color=T" "UUID=--1000-8000-84BA3B09B19B" "usb_CMD=" "usb_MDL=MX920 series" "usb_MFG=Canon" 
"adminurl=http://09B19B00.local.; "pdl=application/octet-stream" "product=(Canon MX920 series)" "ty=Canon MX920 series" "priority=20" "qtotal=1" "note=" "rp=auto" 
"txtvers=1"]
= wlp3s0 IPv4 Canon MX920 series_canon-bjnp1._tcp   
 local
   hostname = [09B19B00.local]
   address = [192.168.1.103]
   port = [8611]
   txt = ["mac=84:BA:3B:09:B1:9B" "Fax=F" "Scan=T" "Duplex=T" "Color=T" "UUID=--1000-8000-84BA3B09B19B" "usb_CMD=" "usb_MDL=MX920 series" "usb_MFG=Canon" 
"adminurl=http://09B19B00.local.; "pdl=application/octet-stream" "product=(Canon MX920 series)" "ty=Canon MX920 series" "priority=20" "qtotal=1" "note=" "rp=auto" 
"txtvers=1"]
= wlp3s0 IPv6 Canon MX920 series_printer._tcp   
 local
   hostname = [09B19B00.local]
   address = [192.168.1.103]
   port = [515]
   txt = ["mac=84:BA:3B:09:B1:9B" "Fax=F" "Scan=T" "Duplex=T" "Color=T" "UUID=--1000-8000-84BA3B09B19B" "usb_CMD=" "usb_MDL=MX920 series" "usb_MFG=Canon" 
"adminurl=http://09B19B00.local.; "pdl=application/octet-stream" "product=(Canon MX920 series)" "ty=Canon MX920 series" "priority=60" "qtotal=1" "note=" "rp=auto" 
"txtvers=1"]
= wlp3s0 IPv4 Canon MX920 series_printer._tcp   
 local
   hostname = [09B19B00.local]
   address = [192.168.1.103]
   port = [515]
   txt = ["mac=84:BA:3B:09:B1:9B" "Fax=F" "Scan=T" "Duplex=T" "Color=T" "UUID=--1000-8000-84BA3B09B19B" "usb_CMD=" "usb_MDL=MX920 series" "usb_MFG=Canon" 
"adminurl=http://09B19B00.local.; "pdl=application/octet-stream" "product=(Canon MX920 series)" "ty=Canon MX920 series" "priority=60" "qtotal=1" "note=" "rp=auto" 
"txtvers=1"]
= wlp3s0 IPv6 Canon MX920 series_ipp._tcp   
 local
   hostname = [09B19B00.local]
   address = [192.168.1.103]
   port = [631]
   txt = ["mac=84:BA:3B:09:B1:9B" "Fax=F" "Scan=T" "Duplex=T" "Color=T" "URF=V1.2,CP1,PQ4-5,RS600,SRGB24,W8,OB9,OFU0,DM3,IS11-13" "UUID=--1000-8000-84BA3B09B19B" "usb_CMD=URF" 
"usb_MDL=MX920 series" "usb_MFG=Canon" "adminurl=http://09B19B00.local./mainmenu.html; "pdl=application/octet-stream,image/urf,image/jpeg" "product=(Canon MX920 series)" "ty=Canon MX920 series" 
"priority=15" "qtotal=1" "note=" "rp=ipp/print" "txtvers=1"]
= wlp3s0 IPv6 Canon MX920 series_scanner._tcp   
 local
   hostname = [09B19B00.local]
   address = [192.168.1.103]
   port = [8612]
   txt = ["mac=84:BA:3B:09:B1:9B" "scannerAvailable=1" "uuid=546BB8" "mdl=MX920 series" "mfg=Canon" 
"ty=Canon MX920 series" "adminurl=http://09B19B00.local.; "txtvers=1"]
= wlp3s0 IPv6 Canon MX920 series   

Re: GTK print dialog and Avahi/mDNS

2018-07-06 Thread Brian Potkin
On Fri 06 Jul 2018 at 14:02:21 -0700, Jack Bates wrote:

> On 2018-06-30 06:08 AM, Brian Potkin wrote:
> > On Fri 29 Jun 2018 at 13:59:06 -0700, Jack Bates wrote:
> > > Why doesn't my printer show up in the GTK 3 print dialog?
> > 
> > What does show up there (without cups running)?
> 
> With CUPS stopped, "Print to File" and "print" show up in the Evince (GTK 3)
> print dialog [1]. If I start CUPS on a *remote* machine, those queues appear
> in the print dialog also (CUPS still stopped on the local machine). It
> doesn't matter whether CUPS is running locally or not, the same items
> appear. (The local CUPS doesn't have any queues configured.)

"print" is the printer discovered by the GTK 3 print dialog. What is the
make and model of the printer you have on the network. Is it attached to
a remote CUPS server which is advertising its queues?

> At no time does the printer show up, although I confirm that avahi-browse
> does still discover it, and it does show up in the LibreOffice (not GTK 3, I
> think?) print dialog.

Please do

 avahi-browse -art > log

and post log.

> I'm not sure where the "print" item comes from. If I select it, its status
> changes to "Getting printer information..." and the pointer spins forever.
> 
> [1] http://nottheoilrig.com/Screenshot%20from%202018-07-06%2013-28-55.png

Very useful. I'll venture an opinion after seeing log.

-- 
Brian.



Re: GTK print dialog and Avahi/mDNS

2018-07-06 Thread Jack Bates

On 2018-06-30 06:08 AM, Brian Potkin wrote:

On Fri 29 Jun 2018 at 13:59:06 -0700, Jack Bates wrote:

Why doesn't my printer show up in the GTK 3 print dialog?


What does show up there (without cups running)?


With CUPS stopped, "Print to File" and "print" show up in the Evince 
(GTK 3) print dialog [1]. If I start CUPS on a *remote* machine, those 
queues appear in the print dialog also (CUPS still stopped on the local 
machine). It doesn't matter whether CUPS is running locally or not, the 
same items appear. (The local CUPS doesn't have any queues configured.)


At no time does the printer show up, although I confirm that 
avahi-browse does still discover it, and it does show up in the 
LibreOffice (not GTK 3, I think?) print dialog.


I'm not sure where the "print" item comes from. If I select it, its 
status changes to "Getting printer information..." and the pointer spins 
forever.


[1] http://nottheoilrig.com/Screenshot%20from%202018-07-06%2013-28-55.png



Re: GTK print dialog and Avahi/mDNS

2018-06-30 Thread Brian Potkin
On Fri 29 Jun 2018 at 13:59:06 -0700, Jack Bates wrote:

> Why doesn't my printer show up in the GTK 3 print dialog?

What does show up there (without cups running)?

> From what I've read [1], it should. I pasted the output of "avahi-browse
> -akrt" below. It does include my printer.
> 
> I'm running Debian Buster and tried printing from Evince. From what I've
> read, the print dialog should talk directly to the Avahi daemon, and since
> avahi-browse can discover my printer, I expected the print dialog would,
> also. What am I missing?

Nothing, really.

[...]

-- 
Brian.