Dear Till,

   Thank you very much for taking your time to help investigate this
issue and providing us a method to continue the investigation even when
you are so busy.

We had tried to figure out the difference of convert into PostScript and
no conversion to PostScript by the method you provide on the date
2019-01-18(#15).

But negatively, we don’t know the correct way to make it work.

We use the PPD attached (Ricoh-MP_C5503_PXL.ppd) to print a job. The output 
capture file(test_modify_Fail.prn) shows that the capture command did not 
convert normally.
The output capture file(test_modify_Fail.prn) on which you can figure out that 
capture command file output by the PPD (Add "*FoomaticRIPCommandLinePDF:") 
missing a lot of commands than the capture command file(test_original_OK.prn) 
output by the original PPD (without modify).

We suspected the definition of FoomaticRIP Command is duplicate by below two 
define(“*FoomaticRIPCommandLine:” and “*FoomaticRIPCommandLinePDF:”):
---------------------------------------
*FoomaticRIPCommandLine: "(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
*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
---------------------------------------
So, we delete the command “*FoomaticRIPCommandLine:” from PPD, Hopping the way 
can make it works correctly.
But the output capture file shows that this method is the same result with two 
FoomaticRIP Command definition.

Can you lead us the correct way to the investigation of no conversion to
PostScript.

And if you have further investigation result, it’s appreciated to share
with us.

Attach file introduction:
----------------------------------------------------------
Original PPD Capture file: test_original_OK.prn
Modify PPD Capture file: test_modify_Fail.prn
CUPS Log file: error_log_Bill_job1043_1072
----------------------------------------------------------

Best Regards,





** Attachment added: "LogAndCapture.zip"
   
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1801496/+attachment/5232011/+files/LogAndCapture.zip

-- 
You received this bug notification because you are a member of Desktop
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/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to