Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

detected remote printer vanishs with "No destination host name supplied by cups-browsed" on printing #97

Closed
reinilowsax opened this issue Mar 7, 2019 · 55 comments

Comments

@reinilowsax
Copy link

Switching "LocalQueueNamingRemoteCUPS" to "RemoteName" in cups-browsed.conf, detected remote printers listed providing showing the remote queue name (exactly the name, the queue was set up on the remote machine) will break the local queue. The printer is listed unreachable:
"No destination host name supplied by cups-browsed for printer "queue-name>", is cups-browsed running?"
activating the queue and restarting all services (cups, cups-browsed) won't help. Switching
"LocalQueueNamingRemoteCUPS" to "DNS-SD" will make the queue accessible again. Printing works fine again. Accessing remote queues via original (short) queue-names is very helpfull to identify remote printers and will avoid confusion about these long remote queue names.
This bug stills exists in OpenSuSE Tumbleweed with the latest version of cups-filters:
tested with cups-filters-1.22.1-100.1. cups-filters.1.22.1-1.1
As our administration wants to switch to OpenSuSE 15.1 on 12.000 computers in a couple of months, a quick bugfix would be appreciated.
This bugreport was already filed here:
https://bugzilla.opensuse.org/show_bug.cgi?id=1128167

@tillkamppeter
Copy link
Member

What I need from you is a log file from cups-browsed. To get one, please edit /etc/cups/cups-browsed.conf to have a line

DebugLogging file

Restart cups-browsed and then wait until the (non-working) print queues appear. Then attach the file /var/log/cups/cups-browsed_log to this bug report. Note that you have to rename it to have a .txt extension so that GitHub accepts it.

@reinilowsax
Copy link
Author

I tested printing and started a job from machine a (rzha059) to b (rzhd040)."a" here stands for PC which means machine and "d" within the name means printer (German "Drucker" and usb-connected) on a remote machine (PC) rzha040.

Following message might be of importance among many lines of cups-browsed_log:
"ERROR: could not determine ID of curremt job on rzhd040"
I'll try to provoke the error again and post more logging

@tillkamppeter
Copy link
Member

Can you please attach the complete log file(s) to this bug report? I need to see what happens until it comes to the error. Thanks.

@reinilowsax
Copy link
Author

Hi,
here's a Screenshot of the failed attempt to print from Computer A (rzha059) to remote Computer B (rzha040 with USB connected printer rzhd040) providing
"LocalQueueNamingRemoteCUPS RemoteName" in cups-browsed.conf
Look at Line #370 of the attached logfile

cups-bugreport-github97

cups-browsed_log_dbg1.txt

Btw. Keep an eye on a small scribal error "curremt" instead of "current"

@tillkamppeter
Copy link
Member

Why did you close this issue?

@reinilowsax
Copy link
Author

I didn't want to close this issue, try to reopen..

@reinilowsax reinilowsax reopened this Mar 11, 2019
@reinilowsax
Copy link
Author

reinilowsax commented Mar 11, 2019

I must add that after receiving this error after lpstat -d and having sent the print-job, cups-browsed didn't collapse. It was still working but seems having lost its job Id. Found it in utils/cups-browsed.c

@Cybso
Copy link

Cybso commented Mar 11, 2019

Subscribing because I see exactly the same behavior on multiple machines since the upgrade from Ubuntu 16.04 to Ubuntu 18.04. Cups version on print server (Debian 9) is 2.2.1-8, on client is 2.2.7-1ubuntu2.3.

I tried changing multiple directives like increasing Http(Local|Remote)Timeout in cups-browsed.conf, but with no permanent success. cups-browsed creates an implicit class for each printer, but stops the printer with the quoted error message after a few seconds. Since it does work from time to time this looks like a race condition to me.

@reinilowsax
Copy link
Author

For our administration it's a serious issue because if you don't use "LocalQueueNamingRemoteCUPS RemoteName" output is very long and confusing. Our customers might spray prints all over. This can't be tolerated and should be fixed. Only few problems occured with cups 1.7.5 (OpenSuSE 42.2/3 and SLES12).

@tillkamppeter
Copy link
Member

cups-browsed is not able to determine the ID of your job in order to give the CUPS backend instructions to which server to pass on the job.
Please attach your files /etc/cups/cupsd.conf, /etc/cups/cups-files.conf, /etc/cups/cups-browsed.conf (you will most probably have to add .txt to the file names).
After sending a job (which doses not get printed) please run the commands

lpstat -o
sudo lpstat -o

and post the output here.

@tillkamppeter
Copy link
Member

tillkamppeter commented Mar 11, 2019

A possible workaround (do it only after you have followed all my instructions in my previous comment):
Edit /etc/cups/cups-browsed.conf replacing

BrowseRemoteProtocols dnssd cups

by

BrowseRemoteProtocols dnssd

and restart cups-browsed.
Does this solve the problem?

@reinilowsax
Copy link
Author

reinilowsax commented Mar 12, 2019

Here are the wanted files. Please note that cupsd.conf and cups-browsed.conf are autogenerated by a function called edit_conf and based on corporate Metafiles to enforce common behaviour
cupsd.conf_rzha040.txt

cups-browsed.conf_rzha040.txt
cups-files.conf_rzha040.txt

Unfortunately detection of cups2.2-clients seems not to work stable compared to 1.7.5 PCs. Does BrowsePoll still work with dnssd?

@tillkamppeter
Copy link
Member

Did you also do the test with "BrowseRemoteProtocols dnssd" for which I asked in my very last comment?
Also is there any machine with CUPS 1.5.x or older in your network? If not, you can remove the "BrowseLocalProtocols cups" as this one is only for sharing the local print queues to machines with these old CUPS versions. Removing these lines can remove a lot of communication clutter from your network.

@reinilowsax
Copy link
Author

Unfortunatety we have Printservers using cups 1.3.5 (SLES-11). We are going to exchange them in a couple of months. I'm not quite shure, if our cups 1.7.5 clients (OpenSuse 42.2/3) use old fashioned cups browsings method. if necessary, I'll post config files her. I'll try to apply you proposals..

@tillkamppeter
Copy link
Member

If the CUPS 1.3.5 machines are only servers and not clients you will not need "BrowseLocalProtocols cups" at all. Generally "BrowseLocalProtocols cups" is only needed on a machine which has a local printer to be shared to a CUPS 1.3.5 machine, so avoid to use it generally on all machines.
In "BrowseRemoteProtocols dnssd cups" the "cups" is for receiving broadcasts of the old servers and this way to see their printers. If you do not need a printer from one of the old servers "BrowseRemoteProtocols dnssd" is good enough. Alternatively, especially if you need only printers of a single or of a few old servers, you can also go with "BrowseRemoteProtocols dnssd" plus "BrowsePoll ...".

@reinilowsax
Copy link
Author

reinilowsax commented Mar 12, 2019

My first trial with your proposals worked half: the error-message didn't occur anymore, but printing vanished in the darkness without reaching a cups 2.2 client (rc=0). Now I've removed all cups protocols with only little changes:

BrowseAllow All
BrowseDeny None
BrowseLocalProtocols DNSSD
BrowseOrder Allow,Deny
BrowsePoll ssks001-test:631 # cups 1.7.5 print server
BrowseRemoteProtocols DNSSD
DebugLogging file
LocalQueueNamingRemoteCUPS RemoteName

printing now from 2.2 to 2.2 without explicitly polling servers like ssks001-test (1.7.5 and 2.2) isn't possible anymore. No other printers visisble anymore. Broadcast seems to be suppressed oder isn't working. This configuration can't be accepted because access to all printers by users choice is a must.
Maybe printer-advertising via CUPS on old servers with cups 1.3.5. and 1.7.5 could be the cause of all the trouble. If you advertise twice, local cups-browsed will get confused while receiving and clustering queues twice.
What seems strange to me: Which pr0cess is responsible for advertising local queues via broadcast and dnssd? Due to "man cupsd.conf" cupsd can broadcast via dnssd itsself. As well as cups-browsed via "BrowseLocalProtocols"? Little confusing. Broadcasting printers that are plugged in computer via usb is a "must have" because indidivual BrowsePoll <computer_with_printer>:631 for each passive computer isn't feasible. Advertising local printer via broadcast is a crucial feature

@reinilowsax
Copy link
Author

Update: switching "BrowseProtocols" to "CUPS" in cups-browsed.conf. Advertising works with all computers (1.7.5 and 2.2) and printing from cups 1.7.5 (passive) clients to 2.2 (active) computers with a local printer. But printing 2.2 (passive) to 2.2 (with local printers) is only simulated, remote print-queue is visible, and lp returns with RC=0 but prints vanish in the dark never reaching the target. That means CUPS-protocol is half deprecated. Incoming queues are visible but not working because cups-browsed doesn't sent Print tasks via CUPS-protocol.
Switching all protocols to DNSSD on cups 2.2 computers with local configured printers no cups 2.2 computer is receiving any remote queues neither from 1.7.5 (expected) nor from 2.2 computers.
Now: how can I get it working?

@reinilowsax
Copy link
Author

New results: DNSSD-packets of 2.2 service are obviously spread in the local network but a bug in OpenSuSE 15.0 doesn't let them get reveived. This issue seems to be fixed in Tumbleweed:
cups-filters-1.22 is working fine.

@tillkamppeter
Copy link
Member

Does this mean that I can close this issue now?

@reinilowsax
Copy link
Author

Built new version of cups-filters (including dependent qpdf) in OpenSuSE factory. Testing..

@Cybso
Copy link

Cybso commented Mar 14, 2019

I've installed the cups-filter package and dependencies from Ubuntu Disco (1.22.1) but still get ""No destination host name supplied by cups-browsed for printer "printername", is cups-browsed running?" when trying to print a test file. BrowseRemoteProtocols and BrowsePoll don't make a difference.

Logs and current config:

cups-browsed_log.txt
cups-browsed.conf.txt
cupsd.conf.txt

@tillkamppeter
Copy link
Member

@Cybso, could you attach a cups-browsed_log after having sent a print job which has failed?

@Cybso
Copy link

Cybso commented Mar 14, 2019

@tillkamppeter This is a log file after sending a failed print job. There are no new lines appended when cups fails to print the job.

@tillkamppeter
Copy link
Member

@Cybso, perhaps you have some D-Bus problem of your CUPS not sending notifications of the printer state changed. This way your problem seems to be different to the one of the OP.
What happens if you send a job is that the job will get held by the implicitclass CUPS backend and cups-browsed is supposed to tell the implicitclass CUPS backend to where to send the job. For this cups-browsed must know that there is a job and for this it listens to D-Bus notifications of CUPS. If CUPS does not send such notifications or your D-Bus setup is broken, the jobs will not get through.
For the OP it was different. His cups-browsed_log should cups-browsed's action to select the destination for the job but cups-browsed failed to receive the job ID from CUPS.

@Cybso
Copy link

Cybso commented Mar 14, 2019

@tillkamppeter Do you have any hint for me where to look for debugging information? Basically this is a fresh Kubuntu 18.04 workstation, configured via Saltstack (but none of the saltstack rules touches any dbus configuration). I'll do a test with a clean unconfigured installation when I'm in the office at Saturday since I have to restore another workstation anyway.

@tillkamppeter
Copy link
Member

tillkamppeter commented Mar 14, 2019

One approach is to try untouched Ubuntu configurations, without using Saltstack. You can also use virtual machines for that.
On the faulty system, set CUPS to debug logging, running the command

cupsctl --debug-logging

Then restart CUPS and cups-browsed and wait until all the queues are created. After that submit a print job. Wait until the error occurs again.
Then attach the files /var/log/cups/error_log and /var/log/cups/cups-browsed_log.

@tillkamppeter
Copy link
Member

Now you can also test with the cups-filters 1.22.2 release.

@reinilowsax
Copy link
Author

reinilowsax commented Mar 18, 2019

Firstly, thank you for your effort.
After lots of trials, I succeeded in getting remote queues detected by using the Legacy CUPS protocol, here are the changes, I made them versus default in cups-browsed.conf 👍

AutoClustering No
BrowseAllow All
BrowseDeny None
BrowseLocalProtocols CUPS
BrowseOrder Allow,Deny
BrowsePoll ssks001-test:631
BrowseRemoteProtocols CUPS
DebugLogging file
LocalQueueNamingRemoteCUPS RemoteName

works stable but queues now are displayed in the follwing mode:

Gerät für rzhd040@10.48.224.71: implicitclass://rzhd040%4010.48.224.71/

This is not feasable because we normally configure computers without directly connected printers with the name of the remote queue so that the output of 'lpstat -v' lookes like this (legacy mode of cups <1.7.5).

device for rzhd040: ipp://10.48.224.71:631/printers/rzhd040

IP-addresses in queue names will cause a lot of confusion and manual work during
OS-migration from OpenSuSE 42.x to 15.x (with cups 1.7 vs 2.2). All our config-tools are based on this old-fashioned layout.
My proposal:
"LocalQueueNamingRemoteCUPS RemoteShortName" or s.th. like this to provide legacy layout that is compatible with old cups versions.

@tillkamppeter
Copy link
Member

First, did you upgrade to cups-filters 1.22.2? Do jobs reliably print with that version?
Second, if you use

LocalQueueNamingRemoteCUPS RemoteName

together with

AutoClustering No

you get always the queue names of the form <remote name>@<server IP> to avoid problems if there are several servers using the same queue name. To get the simple names you have to use

LocalQueueNamingRemoteCUPS RemoteName
AutoClustering Yes

even if you do not actually have multiple servers with the same queue name.

@Cybso
Copy link

Cybso commented Mar 18, 2019

These settings (in combination with "BrowseLocalProtocols cups" on the server) seems also to have solved my problem.

However, I tried the whole weekend to reproduce this problem in virtual machine - without success. It seems to occur more frequently when the server is propagating multiple printers. In our normal configuration we have five printers (or pre-configured versions of the same printer). Thus, the problem almost always occurred in the VM. If I configured only one printer, the problem almost never occurs. This morning, however, I was told that the problem also occurred in production with the current setup with two printers, after which I tried the configuration of @reinilowsax - for the moment with success. So I'm not sure if this is really another problem.

I've tested with Debian 9 and Ubuntu Server 18.04 as a server and with Ubuntu 18.04 and 18.10 as client.

@tillkamppeter
Copy link
Member

@Cybso, can you also test with cups-filters 1.22.2? Or applying commit f0e1fc4 to whatever version you are actually using?

@Cybso
Copy link

Cybso commented Mar 18, 2019

I'll do check this in the evening, I'm at work at the moment.

@reinilowsax
Copy link
Author

reinilowsax commented Mar 19, 2019

failed in compiling it myself on OpenSuSE 15.0. (gcc11 not available on OpenSuSE). Maybe I need binary packages. For using OpenSuSE Build-Service you need to rebuild qpdf together with cups-filters. It would be appreciated, if cups-filters 1.22.2 could get availlable for OpenSuSE 15.1, because we would like migrate to it on 12.000 computers.

@Cybso
Copy link

Cybso commented Mar 19, 2019

I've applied the patch to the cups-filters-1.20.2 package in Ubuntu 18.04 (had to merge some parts manually) and until now remote printing seems to work, no matter how many printers I've configured on the server.

May I ask what this patch changes? It's slightly hard to read since parts of the original code where moved into its own function.

I will roll out the modified package to the production clients and see what happens.

@tillkamppeter
Copy link
Member

@Cybso, thank you for your feedback.
The patch changes the following:
If you have a cluster of printers, cups-browsed creates the queue for printing on this cluster with the implicitclass backend. This backend passes each job on to one of the cluster's memeber printers. To know which printer the current job has to be sent, cups-browsed is used. cups-browsed subscribes to CUPS notifications to get note of when a new job is processed by a cluster queue and then runs an algorithm to select the destination printer and tells its decision to the queue by setting an option. As soon as the option is set, the implicitclass backend passes on the job.
Formerly, cups-browsed used the printer-state-changed notification for that. It checked the reason for the state change to see whether a job started processing and checked whether the printer concerned is one of the cluster queues. If so, it selected a destination. It also passed the job ID along with the destination to the implicitclass backend so that the backend did not use the destination selection of a previous job. Problem was that the printer-state-changed notification does not contain the job ID and so cups-browsed had to poll it from CUPS with an IPP request. And this turned out to be unreliable in larger setups which caused this bug report.
Now I have discovered that there is also the job-state notification (why did they not call it job-state-changed, then I had perhaps discovered it in the first place) for job state changes and so I have let cups-browsed also subscribe to this and moved the destination selection to this notification. The notification is also issued when the state of a job changes from pending to processing, and it contains the print queue name and the job ID, so that I could drop the unreliable IPP poll for the job ID.
This is what I did with the patch. The function on_printer_state_changed() is triggered by the printer-state-changed notifications and contained the destination distribution code before. Now I have created the on_job_state() function triggered by job-state notifications and moved the destination distribution code to there.

@tillkamppeter
Copy link
Member

@reinilowsax, unfortunately, I cannot help you with SUSE Linux integration, as I do not use SUSE Linux.
What you could try is to only copy the code of cups-browsed, the files utils/cups-browsed.* and backend/implicitclass.* from cups-filters 1.22.2 to your SUSE distribution's cups-filters. The QPDF requirement is only for the filters, which you do not need to update.
I will also ask SUSE's printing guru, Johannes Meixner, here as he will probable be able to give better help to you than me.
@jsmeix, @reinilowsax is using SUSE in a setup of around 12000 computers (OpenSUSE 15.1) in the administration of Niedersachsen and he would like to update them to cups-filters 1.22.2 which contains my fix for this bug. This fix in OpenSUSE 15.1 would help him to migrate these computers to Linux and so do a great move to Liunux in German administration.
If a full update to 1.22.2 (which includes also QPDF) would be too complex it would be great to (as I mentioned in the beginning) only update cups-browsed and the implicitclass backend.

@tillkamppeter
Copy link
Member

@Cybso, could you attach your patch here, so that I can use it for a SRU (Stable Release Update) on Ubuntu? Thanks.

@reinilowsax
Copy link
Author

Next trial:
OpenSuSE 15.x seem to lag behind..
Tumbleweed: cups-filters-1.22.1-lp150.102.1.x86_64
15.1 (beta) : cups-filters-1.20.3
compared both version: seem to be different with respect to cups-browsed.c
No I'm triying to use the latest Tumbleweed version of cups-filters and include your code proposals.

@Cybso
Copy link

Cybso commented Mar 19, 2019

@Cybso, could you attach your patch here, so that I can use it for a SRU (Stable Release Update) on Ubuntu? Thanks.

f0e1fc43dc5ec79a783cf2df82d9df827f3ccece-1.20.2-0ubuntu3.txt

@tillkamppeter
Copy link
Member

@reinilowsax, @Cybso has backported my patch to 1.20.2 and he has attached his backport here while I am writing this post. This could probably also work on the 1.20.3 of OpenSUSE 15.1.

@tillkamppeter
Copy link
Member

@Cybso, thank you very much.

@reinilowsax
Copy link
Author

reinilowsax commented Mar 19, 2019

Thank you very much, trying to build a new package 1.22.x with your modifications and hoping the best for upcoming OpenSuSE-Release 15.1...

@reinilowsax
Copy link
Author

reinilowsax commented Mar 20, 2019

With this configuration, the hangups didn't occur anymore:

BrowseRemoteProtocols CUPS
BrowseLocalProtocols CUPS
LocalQueueNamingRemoteCUPS RemoteName
AutoClustering Yes
BrowseAllow All
BrowseDeny None
BrowseOrder Allow,Deny
DebugLogging file

I'll do more tests with slight modifications...

@reinilowsax
Copy link
Author

Seems to work fine..

@tillkamppeter
Copy link
Member

@reinilowsax, thank you very much. Then I will close this as fixed.
For anyone seeing only this post to not need to search through the whole thread, the fix is commit f0e1fc4, included in the 1.22.2 release of cups-filters.

@mbello
Copy link

mbello commented Mar 11, 2020

Not sure I should revive this thread but I am experiencing this issue right now with cups-filter 1.25.11 on Ubuntu 19.10.

Logs below as well as output from lpstat -o, however, lpstat result is for job 256 which was the same file printing and the same error as shown for job 253 below.

error.log:
D [11/Mar/2020:11:12:36 -0300] [Client 81] Waiting for request.
D [11/Mar/2020:11:12:36 -0300] [Client 81] POST /printers/Limeira_Euro_Etiqueta29mm HTTP/1.1
D [11/Mar/2020:11:12:36 -0300] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [11/Mar/2020:11:12:36 -0300] [Client 81] Read: status=200, state=6
D [11/Mar/2020:11:12:36 -0300] [Client 81] No authentication data provided.
D [11/Mar/2020:11:12:36 -0300] [Client 81] Read: status=100, state=6
D [11/Mar/2020:11:12:36 -0300] [Client 81] Read: status=100, state=6
D [11/Mar/2020:11:12:36 -0300] [Client 81] Read: status=100, state=6
D [11/Mar/2020:11:12:36 -0300] [Client 81] Read: status=100, state=6
D [11/Mar/2020:11:12:36 -0300] [Client 81] Read: status=100, state=6
D [11/Mar/2020:11:12:36 -0300] [Client 81] Read: status=100, state=6
D [11/Mar/2020:11:12:36 -0300] [Client 81] Read: status=100, state=6
D [11/Mar/2020:11:12:36 -0300] [Client 81] Read: status=100, state=6
D [11/Mar/2020:11:12:36 -0300] [Client 81] Read: status=100, state=6
D [11/Mar/2020:11:12:36 -0300] [Client 81] Read: status=100, state=6
D [11/Mar/2020:11:12:36 -0300] [Client 81] Read: status=100, state=6
D [11/Mar/2020:11:12:36 -0300] [Client 81] 2.1 Print-Job 1
D [11/Mar/2020:11:12:36 -0300] Print-Job ipp://localhost:631/printers/Limeira_Euro_Etiqueta29mm
D [11/Mar/2020:11:12:36 -0300] [Job ???] Auto-typing file...
I [11/Mar/2020:11:12:36 -0300] [Job ???] Request file type is application/pdf.
D [11/Mar/2020:11:12:36 -0300] cupsdMarkDirty(---J-)
D [11/Mar/2020:11:12:36 -0300] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients"
D [11/Mar/2020:11:12:36 -0300] [Job 253] Applying default options...
D [11/Mar/2020:11:12:36 -0300] [Job 253] Adding default cups-browsed=true
D [11/Mar/2020:11:12:36 -0300] add_job: requesting-user-name="mbello"
D [11/Mar/2020:11:12:36 -0300] cupsdMarkDirty(----S)
D [11/Mar/2020:11:12:36 -0300] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [11/Mar/2020:11:12:36 -0300] cupsdMarkDirty(---J-)
D [11/Mar/2020:11:12:36 -0300] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
I [11/Mar/2020:11:12:36 -0300] [Job 253] File of type application/pdf queued by "mbello".
D [11/Mar/2020:11:12:36 -0300] [Job 253] hold_until=0
I [11/Mar/2020:11:12:36 -0300] [Job 253] Queued on "Limeira_Euro_Etiqueta29mm" by "mbello".
D [11/Mar/2020:11:12:36 -0300] [Job 253] time-at-processing=1583935956
D [11/Mar/2020:11:12:36 -0300] cupsdMarkDirty(---J-)
D [11/Mar/2020:11:12:36 -0300] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [11/Mar/2020:11:12:36 -0300] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [11/Mar/2020:11:12:36 -0300] cupsdMarkDirty(----S)
D [11/Mar/2020:11:12:36 -0300] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [11/Mar/2020:11:12:36 -0300] [Job 253] 2 filters for job:
D [11/Mar/2020:11:12:36 -0300] [Job 253] - (application/pdf to printer/Limeira_Euro_Etiqueta29mm/application/pdf, cost 0)
D [11/Mar/2020:11:12:36 -0300] [Job 253] - (printer/Limeira_Euro_Etiqueta29mm/application/pdf to printer/Limeira_Euro_Etiqueta29mm, cost 0)
D [11/Mar/2020:11:12:36 -0300] [Job 253] No job-sheets attribute.
D [11/Mar/2020:11:12:36 -0300] [Job 253] argv[0]="Limeira_Euro_Etiqueta29mm"
D [11/Mar/2020:11:12:36 -0300] [Job 253] argv[1]="253"
D [11/Mar/2020:11:12:36 -0300] [Job 253] argv[2]="mbello"
D [11/Mar/2020:11:12:36 -0300] [Job 253] argv[3]="etiqueta_gondola.pdf"
D [11/Mar/2020:11:12:36 -0300] [Job 253] argv[4]="1"
D [11/Mar/2020:11:12:36 -0300] [Job 253] argv[5]="job-originating-user-name=mbello Duplex=None PageSize=Custom.79.37x283.46 ColorModel=Grayscale noCollate job-priority=50 job-uuid=urn:uuid:b972ae22-03db-3d>
D [11/Mar/2020:11:12:36 -0300] [Job 253] argv[6]="/var/spool/cups/d00253-001"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[7]="CUPS_STATEDIR=/run/cups"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[8]="HOME=/var/spool/cups/tmp"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[10]="SERVER_ADMIN=root@mbello-laptop"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[11]="SOFTWARE=CUPS/2.2.12"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[13]="USER=root"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[14]="CUPS_MAX_MESSAGE=2047"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[15]="CUPS_SERVER=/run/cups/cups.sock"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[17]="IPP_PORT=631"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[18]="CHARSET=utf-8"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[19]="LANG=en_US.UTF-8"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[20]="PPD=/etc/cups/ppd/Limeira_Euro_Etiqueta29mm.ppd"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[21]="RIP_MAX_CACHE=128m"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[22]="CONTENT_TYPE=application/pdf"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[23]="DEVICE_URI=implicitclass://Limeira_Euro_Etiqueta29mm/"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[24]="PRINTER_INFO=Limeira - Euro - Etiqueta 29mm"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[25]="PRINTER_LOCATION=Euro Componentes - Estoque"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[26]="PRINTER=Limeira_Euro_Etiqueta29mm"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[27]="PRINTER_STATE_REASONS=none"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[28]="CUPS_FILETYPE=document"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[29]="FINAL_CONTENT_TYPE=application/pdf"
D [11/Mar/2020:11:12:36 -0300] [Job 253] envp[30]="AUTH_I****"
I [11/Mar/2020:11:12:36 -0300] [Job 253] Started backend /usr/lib/cups/backend/implicitclass (PID 6085)
D [11/Mar/2020:11:12:36 -0300] cupsdMarkDirty(----S)
D [11/Mar/2020:11:12:36 -0300] cupsdSetBusyState: newbusy="Active clients, printing jobs, and dirty files", busy="Active clients and dirty files"
D [11/Mar/2020:11:12:36 -0300] [Client 81] Returning IPP successful-ok for Print-Job (ipp://localhost:631/printers/Limeira_Euro_Etiqueta29mm) from localhost.
D [11/Mar/2020:11:12:36 -0300] [Client 81] Content-Length: 197
D [11/Mar/2020:11:12:36 -0300] [Client 81] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [11/Mar/2020:11:12:36 -0300] [Client 81] con->http=0x55ee7d3ebd10
D [11/Mar/2020:11:12:36 -0300] [Client 81] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=197, response=0x55ee7d3b1100(IPP_STATE_IDLE), pip>
D [11/Mar/2020:11:12:36 -0300] [Client 81] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [11/Mar/2020:11:12:36 -0300] [Client 81] bytes=0, http_state=0, data_remaining=197
D [11/Mar/2020:11:12:36 -0300] [Client 81] Flushing write buffer.
D [11/Mar/2020:11:12:36 -0300] [Client 81] New state is HTTP_STATE_WAITING
D [11/Mar/2020:11:12:36 -0300] [Client 81] Waiting for request.
D [11/Mar/2020:11:12:36 -0300] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Active clients, printing jobs, and dirty files"
D [11/Mar/2020:11:12:36 -0300] [Notifier] state=3
D [11/Mar/2020:11:12:36 -0300] [Notifier] JobCreated
D [11/Mar/2020:11:12:36 -0300] [Notifier] state=3
D [11/Mar/2020:11:12:36 -0300] [Notifier] state=3
D [11/Mar/2020:11:12:36 -0300] [Notifier] PrinterStateChanged
D [11/Mar/2020:11:12:36 -0300] [Notifier] state=3
D [11/Mar/2020:11:12:36 -0300] [Notifier] state=3
D [11/Mar/2020:11:12:36 -0300] [Client 81] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [11/Mar/2020:11:12:36 -0300] [Client 81] Closing connection
D [11/Mar/2020:11:12:36 -0300] [Job 253] Read cups-browsed-dest-printer option: (null)
D [11/Mar/2020:11:12:37 -0300] [Job 253] Read cups-browsed-dest-printer option: (null)
D [11/Mar/2020:11:12:37 -0300] [Job 253] Read cups-browsed-dest-printer option: (null)
D [11/Mar/2020:11:12:38 -0300] [Job 253] Read cups-browsed-dest-printer option: (null)
D [11/Mar/2020:11:12:38 -0300] [Job 253] Read cups-browsed-dest-printer option: (null)
D [11/Mar/2020:11:12:39 -0300] [Job 253] Read cups-browsed-dest-printer option: (null)
D [11/Mar/2020:11:12:39 -0300] [Job 253] Read cups-browsed-dest-printer option: (null)
D [11/Mar/2020:11:12:40 -0300] [Job 253] Read cups-browsed-dest-printer option: (null)
D [11/Mar/2020:11:12:40 -0300] [Job 253] Read cups-browsed-dest-printer option: (null)
D [11/Mar/2020:11:12:41 -0300] [Job 253] Read cups-browsed-dest-printer option: (null)
D [11/Mar/2020:11:12:41 -0300] [Job 253] Read cups-browsed-dest-printer option: (null)
... (2 messages like these per second until 11:12:55)...
D [11/Mar/2020:11:12:55 -0300] [Job 253] Read cups-browsed-dest-printer option: (null)
E [11/Mar/2020:11:12:56 -0300] [Job 253] No destination host name supplied by cups-browsed for printer "Limeira_Euro_Etiqueta29mm", is cups-browsed running?
D [11/Mar/2020:11:12:56 -0300] cupsdMarkDirty(---J-)
D [11/Mar/2020:11:12:56 -0300] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [11/Mar/2020:11:12:56 -0300] cupsdMarkDirty(---J-)
D [11/Mar/2020:11:12:56 -0300] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [11/Mar/2020:11:12:56 -0300] [Job 253] Set job-printer-state-message to "No destination host name supplied by cups-browsed for printer "Limeira_Euro_Etiqueta29mm", is cups-browsed running?", current le>
D [11/Mar/2020:11:12:56 -0300] cupsdMarkDirty(----S)
D [11/Mar/2020:11:12:56 -0300] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [11/Mar/2020:11:12:56 -0300] cupsdMarkDirty(----S)
D [11/Mar/2020:11:12:56 -0300] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
I [11/Mar/2020:11:12:56 -0300] Expiring subscriptions...
D [11/Mar/2020:11:12:56 -0300] [Notifier] state=3
D [11/Mar/2020:11:12:56 -0300] [Notifier] state=3
D [11/Mar/2020:11:12:56 -0300] [Notifier] PrinterStateChanged
D [11/Mar/2020:11:12:56 -0300] [Notifier] state=3
D [11/Mar/2020:11:12:56 -0300] [Job 253] PID 6085 (/usr/lib/cups/backend/implicitclass) stopped with status 4.
I [11/Mar/2020:11:12:56 -0300] [Job 253] Backend returned status 4 (stop printer)
D [11/Mar/2020:11:12:56 -0300] cupsdMarkDirty(----S)
D [11/Mar/2020:11:12:56 -0300] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
I [11/Mar/2020:11:12:56 -0300] [Job 253] Printer stopped due to backend errors; please consult the /var/log/cups/error_log file for details.
D [11/Mar/2020:11:12:56 -0300] cupsdMarkDirty(---J-)
D [11/Mar/2020:11:12:56 -0300] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [11/Mar/2020:11:12:56 -0300] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [11/Mar/2020:11:12:56 -0300] cupsdMarkDirty(----S)
D [11/Mar/2020:11:12:56 -0300] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [11/Mar/2020:11:12:56 -0300] cupsdMarkDirty(P----)
D [11/Mar/2020:11:12:56 -0300] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [11/Mar/2020:11:12:56 -0300] cupsdRegisterPrinter(p=0x55ee7d3a1490(Limeira_Euro_Etiqueta29mm))
D [11/Mar/2020:11:12:56 -0300] cupsdMarkDirty(P----)
D [11/Mar/2020:11:12:56 -0300] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [11/Mar/2020:11:12:56 -0300] cupsdRegisterPrinter(p=0x55ee7d3a1490(Limeira_Euro_Etiqueta29mm))
D [11/Mar/2020:11:12:56 -0300] cupsdMarkDirty(P----)
D [11/Mar/2020:11:12:56 -0300] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [11/Mar/2020:11:12:56 -0300] cupsdMarkDirty(---J-)
D [11/Mar/2020:11:12:56 -0300] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [11/Mar/2020:11:12:56 -0300] [Notifier] state=3
D [11/Mar/2020:11:12:56 -0300] [Notifier] state=3
D [11/Mar/2020:11:12:56 -0300] [Notifier] PrinterStopped
D [11/Mar/2020:11:12:56 -0300] [Notifier] state=3

cups-browsed_log:
Wed Mar 11 10:52:33 2020 browse_poll() in THREAD 139754052004544
Wed Mar 11 10:52:33 2020 browse polling 10.0.5.63:631
Wed Mar 11 10:52:33 2020 cups-browsed [BrowsePoll 10.0.5.63:631]: IPP-Get-Notifications
Wed Mar 11 10:52:33 2020 cups-browsed [BrowsePoll 10.0.5.63:631]: no events
Wed Mar 11 10:52:33 2020 cups-browsed [BrowsePoll /var/run/cups/cups.sock:0]: IPP-Get-Notifications
Wed Mar 11 10:52:33 2020 cups-browsed [BrowsePoll /var/run/cups/cups.sock:0]: no events
Wed Mar 11 10:52:33 2020 browsepoll_printer_keepalive() in THREAD 139754052004544
Wed Mar 11 10:52:33 2020 CUPS browsing: Remote host: 10.0.5.63; Port: 631; Remote queue name: Limeira_Euro_Etiqueta29mm; Service Name: Limeira - Euro - Etiqueta 29mm @ 10.0.5.63
Wed Mar 11 10:52:33 2020 Found CUPS queue/class: Limeira_Euro_Etiqueta29mm on host 10.0.5.63.
Wed Mar 11 10:52:33 2020 Matching printer "Limeira_Euro_Etiqueta29mm" with properties Host = "10.0.5.63", Port = 631, Service Name = "Limeira - Euro - Etiqueta 29mm @ 10.0.5.63", Domain = "" with the BrowseFilter lines in cups-browsed.conf
Wed Mar 11 10:52:33 2020 Matching with line "BrowseFilter NOT name INATIVA"Wed Mar 11 10:52:33 2020 --> MATCHED
Wed Mar 11 10:52:33 2020 Matching with line "BrowseFilter EXACT host 10.0.5.63"Wed Mar 11 10:52:33 2020 --> MATCHED
Wed Mar 11 10:52:33 2020 All BrowseFilter lines matched or skipped, accepting printer Limeira_Euro_Etiqueta29mm
Wed Mar 11 10:52:33 2020 update_netifs() in THREAD 139754052004544
Wed Mar 11 10:56:11 2020 checking queues in 0s
Wed Mar 11 10:56:11 2020 main loop exited
Wed Mar 11 10:56:11 2020 Processing printer list ...
Wed Mar 11 10:56:11 2020 === Remote printer overview ===
Wed Mar 11 10:56:11 2020 Printer ipp://10.0.5.63:631/printers/Limeira_Euro_Etiqueta29mm (10.0.5.63, IP not determined): Local queue Limeira_Euro_Etiqueta29mm, Remote CUPS Printer, Slave of None (Disappeared)
Wed Mar 11 10:56:11 2020 ===============================
(...)

Wed Mar 11 10:56:14 2020 Full list of IPP attributes (get-printer-attributes) for printer with URI ipp://10.0.5.63:631/printers/Limeira_Euro_Etiqueta29mm:
Wed Mar 11 10:56:14 2020 Attr: attributes-charset
Wed Mar 11 10:56:14 2020 Value: utf-8
Wed Mar 11 10:56:14 2020 Keyword: utf-8
Wed Mar 11 10:56:14 2020 Attr: attributes-natural-language
Wed Mar 11 10:56:14 2020 Value: en-us
Wed Mar 11 10:56:14 2020 Keyword: en-us
Wed Mar 11 10:56:14 2020 Attr: marker-change-time
Wed Mar 11 10:56:14 2020 Value: 1583856861
Wed Mar 11 10:56:14 2020 Attr: printer-current-time
Wed Mar 11 10:56:14 2020 Value: 2020-03-11T13:56:14Z
Wed Mar 11 10:56:14 2020 Attr: printer-dns-sd-name
Wed Mar 11 10:56:14 2020 Value: Limeira - Euro - Etiqueta 29mm @ cups
Wed Mar 11 10:56:14 2020 Keyword: Limeira - Euro - Etiqueta 29mm @ cups
Wed Mar 11 10:56:14 2020 Attr: printer-icons
Wed Mar 11 10:56:14 2020 Value: http://10.0.5.63:631/icons/Limeira_Euro_Etiqueta29mm.png
Wed Mar 11 10:56:14 2020 Keyword: http://10.0.5.63:631/icons/Limeira_Euro_Etiqueta29mm.png
Wed Mar 11 10:56:14 2020 Attr: printer-is-accepting-jobs
Wed Mar 11 10:56:14 2020 Value: true
Wed Mar 11 10:56:14 2020 Attr: printer-is-shared
Wed Mar 11 10:56:14 2020 Value: true
Wed Mar 11 10:56:14 2020 Attr: printer-is-temporary
Wed Mar 11 10:56:14 2020 Value: false
Wed Mar 11 10:56:14 2020 Attr: printer-more-info
Wed Mar 11 10:56:14 2020 Value: http://10.0.5.63:631/printers/Limeira_Euro_Etiqueta29mm
Wed Mar 11 10:56:14 2020 Keyword: http://10.0.5.63:631/printers/Limeira_Euro_Etiqueta29mm
Wed Mar 11 10:56:14 2020 Attr: printer-state
Wed Mar 11 10:56:14 2020 Value: idle
Wed Mar 11 10:56:14 2020 Attr: printer-state-change-date-time
Wed Mar 11 10:56:14 2020 Value: 2020-03-11T13:53:03Z
Wed Mar 11 10:56:14 2020 Attr: printer-state-change-time
Wed Mar 11 10:56:14 2020 Value: 1583934783
Wed Mar 11 10:56:14 2020 Attr: printer-state-message
Wed Mar 11 10:56:14 2020 Value:
Wed Mar 11 10:56:14 2020 Keyword:
Wed Mar 11 10:56:14 2020 Attr: printer-state-reasons
Wed Mar 11 10:56:14 2020 Value: none
Wed Mar 11 10:56:14 2020 Keyword: none
Wed Mar 11 10:56:14 2020 Attr: printer-type
Wed Mar 11 10:56:14 2020 Value: 8392772
Wed Mar 11 10:56:14 2020 Attr: printer-up-time
Wed Mar 11 10:56:14 2020 Value: 1583934974
Wed Mar 11 10:56:14 2020 Attr: printer-uri-supported
Wed Mar 11 10:56:14 2020 Value: ipp://10.0.5.63:631/printers/Limeira_Euro_Etiqueta29mm
Wed Mar 11 10:56:14 2020 Keyword: ipp://10.0.5.63:631/printers/Limeira_Euro_Etiqueta29mm
Wed Mar 11 10:56:14 2020 Attr: queued-job-count
Wed Mar 11 10:56:14 2020 Value: 0
Wed Mar 11 10:56:14 2020 Attr: uri-authentication-supported
Wed Mar 11 10:56:14 2020 Value: requesting-user-name
Wed Mar 11 10:56:14 2020 Keyword: requesting-user-name
Wed Mar 11 10:56:14 2020 Attr: uri-security-supported
Wed Mar 11 10:56:14 2020 Value: none
Wed Mar 11 10:56:14 2020 Keyword: none
Wed Mar 11 10:56:14 2020 Attr: printer-name
Wed Mar 11 10:56:14 2020 Value: Limeira_Euro_Etiqueta29mm
Wed Mar 11 10:56:14 2020 Keyword: Limeira_Euro_Etiqueta29mm
Wed Mar 11 10:56:14 2020 Attr: printer-location
Wed Mar 11 10:56:14 2020 Value: Euro Componentes - Estoque
Wed Mar 11 10:56:14 2020 Keyword: Euro Componentes - Estoque
Wed Mar 11 10:56:14 2020 Attr: printer-geo-location
Wed Mar 11 10:56:14 2020 Value: unknown
Wed Mar 11 10:56:14 2020 Attr: printer-info
Wed Mar 11 10:56:14 2020 Value: Limeira - Euro - Etiqueta 29mm
Wed Mar 11 10:56:14 2020 Keyword: Limeira - Euro - Etiqueta 29mm
Wed Mar 11 10:56:14 2020 Attr: printer-organization
Wed Mar 11 10:56:14 2020 Value:
Wed Mar 11 10:56:14 2020 Keyword:
Wed Mar 11 10:56:14 2020 Attr: printer-organizational-unit
Wed Mar 11 10:56:14 2020 Value:
Wed Mar 11 10:56:14 2020 Keyword:
Wed Mar 11 10:56:14 2020 Attr: printer-uuid
Wed Mar 11 10:56:14 2020 Value: urn:uuid:bc120b7d-15b4-3ad8-6e92-a2d869089c45
Wed Mar 11 10:56:14 2020 Keyword: urn:uuid:bc120b7d-15b4-3ad8-6e92-a2d869089c45
Wed Mar 11 10:56:14 2020 Attr: job-quota-period
Wed Mar 11 10:56:14 2020 Value: 0
Wed Mar 11 10:56:14 2020 Attr: job-k-limit
Wed Mar 11 10:56:14 2020 Value: 0
Wed Mar 11 10:56:14 2020 Attr: job-page-limit
Wed Mar 11 10:56:14 2020 Value: 0
Wed Mar 11 10:56:14 2020 Attr: job-sheets-default
Wed Mar 11 10:56:14 2020 Value: none,none
Wed Mar 11 10:56:14 2020 Keyword: none
Wed Mar 11 10:56:14 2020 Keyword: none
Wed Mar 11 10:56:14 2020 Attr: device-uri
Wed Mar 11 10:56:14 2020 Value: socket://10.2.10.82
Wed Mar 11 10:56:14 2020 Keyword: socket://10.2.10.82
Wed Mar 11 10:56:14 2020 Attr: marker-colors
Wed Mar 11 10:56:14 2020 Value: #000000
Wed Mar 11 10:56:14 2020 Keyword: #000000
Wed Mar 11 10:56:14 2020 Attr: marker-levels
Wed Mar 11 10:56:14 2020 Value: 100
Wed Mar 11 10:56:14 2020 Attr: marker-low-levels
Wed Mar 11 10:56:14 2020 Value: 0
Wed Mar 11 10:56:14 2020 Attr: marker-high-levels
Wed Mar 11 10:56:14 2020 Value: 100
Wed Mar 11 10:56:14 2020 Attr: marker-high-levels
Wed Mar 11 10:56:14 2020 Value: 100
Wed Mar 11 10:56:14 2020 Attr: marker-names
Wed Mar 11 10:56:14 2020 Value: Thermal
Wed Mar 11 10:56:14 2020 Keyword: Thermal
Wed Mar 11 10:56:14 2020 Attr: marker-types
Wed Mar 11 10:56:14 2020 Value: unknown
Wed Mar 11 10:56:14 2020 Keyword: unknown
Wed Mar 11 10:56:14 2020 Attr: document-format-supported
Wed Mar 11 10:56:14 2020 Value: application/octet-stream,application/pdf,application/postscript,application/vnd.adobe-reader-postscript,application/vnd.cups-command,application/vnd.cups-pdf,application/v>
Wed Mar 11 10:56:14 2020 Keyword: application/octet-stream
Wed Mar 11 10:56:14 2020 Keyword: application/pdf
Wed Mar 11 10:56:14 2020 Keyword: application/postscript
Wed Mar 11 10:56:14 2020 Keyword: application/vnd.adobe-reader-postscript
Wed Mar 11 10:56:14 2020 Keyword: application/vnd.cups-command
Wed Mar 11 10:56:14 2020 Keyword: application/vnd.cups-pdf
Wed Mar 11 10:56:14 2020 Keyword: application/vnd.cups-pdf-banner
Wed Mar 11 10:56:14 2020 Keyword: application/vnd.cups-postscript
Wed Mar 11 10:56:14 2020 Keyword: application/vnd.cups-raster
Wed Mar 11 10:56:14 2020 Keyword: application/vnd.cups-raw
Wed Mar 11 10:56:14 2020 Keyword: application/x-cshell
Wed Mar 11 10:56:14 2020 Keyword: application/x-csource
Wed Mar 11 10:56:14 2020 Keyword: application/x-perl
Wed Mar 11 10:56:14 2020 Keyword: application/x-shell
Wed Mar 11 10:56:14 2020 Keyword: image/gif
Wed Mar 11 10:56:14 2020 Keyword: image/jpeg
Wed Mar 11 10:56:14 2020 Keyword: image/png
Wed Mar 11 10:56:14 2020 Keyword: image/pwg-raster
Wed Mar 11 10:56:14 2020 Keyword: image/tiff
Wed Mar 11 10:56:14 2020 Keyword: image/urf
Wed Mar 11 10:56:14 2020 Keyword: image/x-bitmap
Wed Mar 11 10:56:14 2020 Keyword: image/x-photocd
Wed Mar 11 10:56:14 2020 Keyword: image/x-portable-anymap
Wed Mar 11 10:56:14 2020 Keyword: image/x-portable-bitmap
Wed Mar 11 10:56:14 2020 Keyword: image/x-portable-graymap
Wed Mar 11 10:56:14 2020 Keyword: image/x-portable-pixmap
Wed Mar 11 10:56:14 2020 Keyword: image/x-sgi-rgb
Wed Mar 11 10:56:14 2020 Keyword: image/x-sun-raster
Wed Mar 11 10:56:14 2020 Keyword: image/x-xbitmap
Wed Mar 11 10:56:14 2020 Keyword: image/x-xpixmap
Wed Mar 11 10:56:14 2020 Keyword: image/x-xwindowdump
Wed Mar 11 10:56:14 2020 Keyword: text/css
Wed Mar 11 10:56:14 2020 Keyword: text/html
Wed Mar 11 10:56:14 2020 Keyword: text/plain
Wed Mar 11 10:56:14 2020 Attr: pwg-raster-document-resolution-supported
Wed Mar 11 10:56:14 2020 Value: 300dpi
Wed Mar 11 10:56:14 2020 Attr: pwg-raster-document-sheet-back
Wed Mar 11 10:56:14 2020 Value: normal
Wed Mar 11 10:56:14 2020 Keyword: normal
Wed Mar 11 10:56:14 2020 Attr: pwg-raster-document-type-supported
Wed Mar 11 10:56:14 2020 Value: adobergb-8,adobergb-16,black-1,black-8,black-16,cmyk-8,cmyk-16,rgb-8,rgb-16,sgray-1,sgray-8,sgray-16,srgb-8,srgb-16
Wed Mar 11 10:56:14 2020 Keyword: adobergb-8
Wed Mar 11 10:56:14 2020 Keyword: adobergb-16
Wed Mar 11 10:56:14 2020 Keyword: black-1
Wed Mar 11 10:56:14 2020 Keyword: black-8
Wed Mar 11 10:56:14 2020 Keyword: black-16
Wed Mar 11 10:56:14 2020 Keyword: cmyk-8
Wed Mar 11 10:56:14 2020 Keyword: cmyk-16
Wed Mar 11 10:56:14 2020 Keyword: rgb-8
Wed Mar 11 10:56:14 2020 Keyword: rgb-16
Wed Mar 11 10:56:14 2020 Keyword: sgray-1
Wed Mar 11 10:56:14 2020 Keyword: sgray-8
Wed Mar 11 10:56:14 2020 Keyword: sgray-16
Wed Mar 11 10:56:14 2020 Keyword: srgb-8
Wed Mar 11 10:56:14 2020 Keyword: srgb-16
Wed Mar 11 10:56:14 2020 Attr: copies-default
Wed Mar 11 10:56:14 2020 Value: 1
Wed Mar 11 10:56:14 2020 Attr: document-format-default
Wed Mar 11 10:56:14 2020 Value: application/octet-stream
Wed Mar 11 10:56:14 2020 Keyword: application/octet-stream
Wed Mar 11 10:56:14 2020 Attr: job-hold-until-default
Wed Mar 11 10:56:14 2020 Value: no-hold
Wed Mar 11 10:56:14 2020 Keyword: no-hold
Wed Mar 11 10:56:14 2020 Attr: job-priority-default
Wed Mar 11 10:56:14 2020 Value: 50
Wed Mar 11 10:56:14 2020 Attr: number-up-default
Wed Mar 11 10:56:14 2020 Value: 1
Wed Mar 11 10:56:14 2020 Attr: notify-lease-duration-default
Wed Mar 11 10:56:14 2020 Value: 86400
Wed Mar 11 10:56:14 2020 Attr: notify-events-default
Wed Mar 11 10:56:14 2020 Value: job-completed
Wed Mar 11 10:56:14 2020 Keyword: job-completed
Wed Mar 11 10:56:14 2020 Attr: orientation-requested-default
Wed Mar 11 10:56:14 2020 Value: no-value
Wed Mar 11 10:56:14 2020 Attr: print-quality-default
Wed Mar 11 10:56:14 2020 Value: normal
Wed Mar 11 10:56:14 2020 Attr: color-supported
Wed Mar 11 10:56:14 2020 Value: false
Wed Mar 11 10:56:14 2020 Attr: pages-per-minute
Wed Mar 11 10:56:14 2020 Value: 12
Wed Mar 11 10:56:14 2020 Attr: printer-device-id
Wed Mar 11 10:56:14 2020 Value: MFG: Brother;MDL: QL-820NWB
Wed Mar 11 10:56:14 2020 Keyword: MFG: Brother;MDL: QL-820NWB
Wed Mar 11 10:56:14 2020 Attr: print-quality-supported
Wed Mar 11 10:56:14 2020 Value: normal
(...)
Wed Mar 11 11:12:36 2020 on_printer_state_changed() in THREAD 140651379440320
Wed Mar 11 11:12:36 2020 [CUPS Notification] Printer state change on printer Limeira_Euro_Etiqueta29mm: Printer "Limeira_Euro_Etiqueta29mm" state changed to processing.
Wed Mar 11 11:12:36 2020 [CUPS Notification] Printer state reasons: none
Wed Mar 11 11:12:56 2020 on_printer_state_changed() in THREAD 140651379440320
Wed Mar 11 11:12:56 2020 [CUPS Notification] Printer state change on printer Limeira_Euro_Etiqueta29mm: Printer "Limeira_Euro_Etiqueta29mm" state changed.
Wed Mar 11 11:12:56 2020 [CUPS Notification] Printer state reasons: none

Logs:
$ sudo lpstat -o
Label29mm-256 unknown 22528 qua 11 mar 2020 12:28:49 -03

@abergmeier
Copy link

abergmeier commented Nov 6, 2020

I have Ubuntu 20.04 with cups-browsed and cups-filter at 1.27.4-1. I am seeing the same issues.
@tillkamppeter Can you tell what is the smoking gun for this issue?

@tillkamppeter
Copy link
Member

For anyone who has are still getting "No destination host name supplied by cups-browsed" in their logs and the job not getting printed:

  • This report was for one cause of this error which got fixed in 1.22.2
  • Please check whether at the time of printing cups-browsed is actually running, as cups-browsed tells the job to which destination to go
  • Which version of cups-filters do you have
  • How many print queues does cups-browsed generate on your system (the ones with implicitclass:/... in the output of lpstat -v).
  • Please create an issue report here with /etc/cups/cupsd.conf and /etc/cups/cups-browsed.conf attached.

@tillkamppeter
Copy link
Member

Which version of avahi are you using?

@abergmeier
Copy link

abergmeier commented Nov 19, 2020

Which version of avahi are you using?

$ avahi-resolve --version
avahi-resolve 0.7

@flozzone
Copy link

Might be the same problem on my side:

  • Kubuntu 20.04.1
  • HP OfficeJet Pro 8710
  • cups-filters 1.27.4-1
  • cups-browsed was running while printing
  • lpstat -v prints device for HP_OfficeJet_Pro_8710_FA8CE3_: implicitclass://HP_OfficeJet_Pro_8710_FA8CE3_/
  • and have version 0.7-4ubuntu7 of the avahi packages installed
  • cupsd.conf.txt
  • cups-browsed.conf.txt

@jojoax
Copy link

jojoax commented Mar 1, 2023

This ugly bug if fucking us up every few days!
Drecks Apple, DNSSD!
Pleas patch in the working cups browsing from cups v1.0, before Apple bought and broke - corrupted - the linux network printing system!

@reinilowsax
Copy link
Author

I think, this bug is fixed forever with cups-filters 1.28. Despite it has cause a lot of trouble in the past.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants