There are several common user stories when it comes to debugging printing issues. I'll mention some of them with steps how to get necessary information.
== I have HP printer and have a problem with HPLIP script
Please follow the steps in the following sections:
== My printer doesn't print correctly - I use 'everywhere' model
Please follow the steps in the following sections:
* xref:how-to-debug-printing-problems.adoc#_cups_everywhere_model[get data from get-printer-attributes request]
* xref:how-to-debug-printing-problems.adoc#_my_printer_doesnt_print_correctly_or_at_all_but_i_can_see_the_printer_in_print_dialog[follow the steps with CUPS job log user story]
== I have a generic problem with cups-browsed
Please follow the steps in the following sections:
* trigger the issue or wait until cups-browsed triggers the issue itself
* cancel cups-browsed and xref:how-to-debug-printing-problems.adoc#_how_to_get_incident_bound_cupsd_logging[cupsd log] captures
* attach created files [filename]`cups_whole_log` and [filename]`cups_browsed_log` to the ticket and xref:how-to-debug-printing-problems.adoc#_turning_off_debug_logging[turn off debug logging]
== Printer found by cups-browsed doesn't print or print badly
The most difficult user story - we need to know how the print queue was created and how it behaves during printing. The print queue found by cups-browsed has a device uri starting with `implicitclass://`.
Please follow the steps:
* xref:how-to-debug-printing-problems.adoc#_cups_filters_driverless_driver[get printer info from get-printer-attributes and PPD file]
* give cups-browsed some time to process found devices (depends on how many devices you have in the local network or how many print queues are stored in the location you set with [option]`BrowsePoll` directive)
* cancel cups-browsed and xref:how-to-debug-printing-problems.adoc#_how_to_get_incident_bound_cupsd_logging[cupsd log] captures - save the files as `cups_queue_creation` and `cups_browsed_queue_creation`
Now we need to capture the logs during printing:
* xref:how-to-debug-printing-problems.adoc#_prepare_cups_for_job_logging[prepare CUPS for job logging]
* trigger your issue - print the specific document to the specific print queue you have problem with
* xref:how-to-debug-printing-problems.adoc#_get_a_job_log_for_a_specific_job_id[get the job log for the job you have just triggered] and cancel the capture of cups-browsed logging