A problem I have observed in the logs is that foomatic-rip calls Ghostscript twice here. Once to convert the PDF input into PostrScript and then to convert the PostScript into PCL XL.
Can you please try to set up your printer with the attached PPD file? TRhe difference to the original is the following: ---------- --- /home/till/printing/foomatic/foomatic/foomatic-db/db/source/PPD/Ricoh/PXL/Ricoh-MP_C5503_PXL.ppd 2018-02-11 17:19:34.966351964 +0100 +++ ./Ricoh-MP_C5503_PXL.ppd 2019-01-18 15:46:25.888616617 +0100 @@ -58,6 +58,10 @@ (gs -q -dBATCH -dPARANOIDSAFER -dNOPAUSE -dNOINTERPOLATE %B%A%C %D%E | perl -p -e "s/^\x1b\x25-12345X//" | perl -p -e "s/\xc1\x01\x00\xf8\x31\x44/\x44/g"); (printf '@PJL\n@PJL EOJ\n\033%%-12345X')" *End +*FoomaticRIPCommandLinePDF: "(printf '\033%%-12345X@PJL\n@PJL JOB\n@PJL SET COPIES=&copies;\n'%G|perl -p -e "s/\x26copies\x3b/1/"); +(gs -q -dBATCH -dPARANOIDSAFER -dNOPAUSE -dNOINTERPOLATE %B%A%C %D%E | perl -p -e "s/^\x1b\x25-12345X//" | perl -p -e "s/\xc1\x01\x00\xf8\x31\x44/\x44/g"); +(printf '@PJL\n@PJL EOJ\n\033%%-12345X')" +*End *%========== Basic Device Capabilities ========== ---------- I simply have copied the part which defines the Ghostscript command line with the copy using the keyword "*FoomaticRIPCommandLinePDF:" instead of "*FoomaticRIPCommandLine:". This tells foomatic-rip that the command line is also vald for PDF input and no conversion to PostScript is required. If this solves the problem, I recommend to do this for all non- PostScript PPD files. ** Attachment added: "Ricoh-MP_C5503_PXL.ppd" https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1801496/+attachment/5230310/+files/Ricoh-MP_C5503_PXL.ppd -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to cups in Ubuntu. https://bugs.launchpad.net/bugs/1801496 Title: Printing job in 16.04 is slower than in 14.04 Status in cups package in Ubuntu: Incomplete Bug description: Ubuntu 16.04LTS OS Version: 16.04.5 CUPS Version: 2.1.3 Ghostscript Version: 9.25 (2018-09-13) Printing job in 16.04 is slower than in 14.04 We(RICOH printer driver developer) are report a problem from our printer users: I print file Ubuntu 14.04.5, CUPS 2.1.3,Ghostscript 9.25 is fast(12 Seconds). But, after I update to Ubuntu 16.04, CUPS 2.1.3, Ghostscript 9.25, I print the same file with the same driver is slow(326 Seconds). I figure out that all the print jobs is much slower on Ubuntu 16.04. I view the "CUPS Error Log", it shows that there are three points which maybe the reasons that makes the print job slowly. FIRST: ---------------------------------------------------------------------------- By counting the time from "Starting renderer" to "renderer exited with status 0", we figure out that 16.04 spend more time than 14.04 on "renderer" process. So we assuming that:"renderer" is one of the key process that makes the print job slowly. "Starting renderer with command: \"printf \'\\033%%-12345X@PJL JOB\\012\';printf \'@PJL SET DATAMODE=TWIN\\ ........ @PJL EOJ\\012\\033%%-12345X\'\"" ..... renderer exited with status 0" ---------------------------------------------------------------------------- SECOND: ============================================================================ On 16.04, a print job outputs lots of logs as below: "[Job xxx] Removing document files." This step(“Removing document files”)does not exsit on 14.04. ============================================================================ The phenomenon that print jobs slower in 16.04 is more obvious when printing many jobs in the same time. THIRD We tried drivers form other company(HP,Brother…), the printings also slow down in Ubuntu 16.04 than 14.04. Our question is: 1. Do you have any plan to improve the performance of printing on Ubuntu 16.04? 2. Do you have any workaround before this problems fixed? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1801496/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp