Re: [Printing-architecture] high delay while printing

Stefan K <[email protected]> Mon, 11 Dec 2023 08:35:22 +0100
Newsgroups dev.linux.lists.printing-architecture
Message-ID <trinity-3c8ea779-9126-4afa-872b-a88075ac08bf-1702280122490@3c-app-gmx-bap41>
Hello Doug,

sorry for the late response.

Thank you very much for your help!
Now it works like a charm.

But I still don't get it.. You said URF is prioritized, and will be rendered by cups, but why is it so slow? It's a potent VM with two cores.

best regards
Stefan

> Gesendet: Dienstag, 05. Dezember 2023 um 11:03 Uhr
> Von: "Douglas Kosovic" <[email protected]>
> An: "Stefan K" <[email protected]>, "[email protected]" <[email protected]>
> Betreff: RE: [Printing-architecture] high delay while printing
>
> Hi Stefan,
>
> You could try changing the following two lines in that PPD :
>
>     *cupsFilter2: "application/vnd.cups-pdf application/pdf 200 -"
>     *cupsFilter2: "image/urf image/urf 0 -"
>
> to:
>
>     *cupsFilter2: "application/vnd.cups-pdf application/pdf 10 -"
>     *cupsFilter2: "image/urf image/urf 100 -"
>
> So that PDF rather than URF raster is preferred to be sent to the printer.
>
> After making changes to the PPD file, you'll need to restart the CUPS server for the changes to take effect.
>
> The driverless PPD generator prioritises URF raster over PDF as many entry level printers have low spec CPUs which can be slow for rasterizing PDF, so pre-rasterized URF is sent instead.
>
> The IPP Everywhere PPD generator prioritises PDF over URF raster, the suggested modifications above is what the IPP Everywhere PPD generator generates.
>
>
>
> Cheers,
> Doug
>
> -----Original Message-----
> From: Printing-architecture <[email protected]> On Behalf Of Stefan K
> Sent: Wednesday, November 29, 2023 7:23 PM
> To: [email protected]
> Subject: Re: [Printing-architecture] high delay while printing
>
> Hi Till,
>
> thanks for your reply, I've attached the logs and PPD file.
>
> best regards
> Stefan
>
> > Gesendet: Dienstag, 28. November 2023 um 19:13 Uhr
> > Von: "Till Kamppeter" <[email protected]>
> > An: [email protected]
> > Betreff: Re: [Printing-architecture] high delay while printing
> >
> > On 28/11/2023 17:59, Stefan K wrote:
> > > Hello guys,
> > >
> > > I hope someone can help me with my problem because I'm a little bit frustrated and I don't have absolutely no clue how to fix that.
> > >
> > > I have a Debian 12 based print server running, all printers are connected via IPP which works so far but it takes a while if we start printing multiple pages and then for each page, it takes >15s for the next page. It doesn't matter if we print PDF or simple text files.
> > >
> > > For me, it looks like that cups is waiting until the printer says
> > > "I'm done". According to the Documentation I tried
> > > ?waitjob=false&waitprinter=false at the end of the deviceURI and
> > > restart cups, but it's still the same. This happens on different
> > > types of printers eg. HP PageWide Pro 477dw MFP or Kyocera TASKalfa
> > > 4052ci
> > >
> > > I can attach the error_log with debug information.
> > >
> >
> > Please do so, and also attach the PPD file of the print queue (from
> > /etc/cups/ppd/).
> >
> >     Till
> > _______________________________________________
> > Printing-architecture mailing list
> > [email protected]
> > https://lists.linuxfoundation.org/mailman/listinfo/printing-architectu
> > re
> >
>