[Printing-architecture] better support for 203dpi label printer

Till Kamppeter till.kamppeter at gmail.com
Fri Aug 12 13:47:22 UTC 2016

On 08/12/2016 08:13 AM, YaoCL wrote:
> Hi
> CUPS support 203dpi label printer, when print from pdf to label printer, cups use gstoraster to rasterlizing pdf.
> as discussed in <http://bugs.ghostscript.com/show_bug.cgi?id=696758> due to low resolution of 203dpi and any-part-of-pixel rule,
> the produced barcode may scannable. Ghostscript has a operator to control center-of-pixel rule  or any-part-of-pixel rule, which is `0 .setfilladjust`.
> I tested a pdf with and without this operator, and checked the result raster files. with this operator the barcode is more accurate.
> Can we add a option to enable or disable this adjustment?

It is no problem if you can tell me how you exactly apply this 
parameter, like Ghostscript command line for example. Especially I need 
to know how to do it in the gstoraster filter (patch) and in a way that 
it also works with PDF input files (apps send PDF by default, non-PDF is 
converted to PDF by CUPS/cups-filters).

Best is to post a feature request on


Product OpenPrinting, component cups-filters.

with all this info and the link to the Ghostscript bug report.



More information about the Printing-architecture mailing list