Thank you very much for the sample file.

I have printed it into a PDF file from evince to be able to do further
tests manually on the command line.

This way I have done some tests and found out that adding
"-dDEVICEWIDTHPOINTS=XXX -dDEVICEHEIGHTPOINTS=YYY" with any non-zero
values for width and height works (giving the correct page count), small
values make it even faster. So for now the best command line is

gs -q -dNOPAUSE -dBATCH -sDEVICE=bbox -dDEVICEWIDTHPOINTS=1
-dDEVICEHEIGHTPOINTS=1 sample2.pdf 2>&1 | grep -c HiResBoundingBox

and this command line is independent of the PPD file.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1920730

Title:
  gstoraster: Ghostscript runs to long while converting djvu files to
  Xerox`s 3210  format

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/1920730/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to