[cups] Cups 1.5.4, Linux, fitplot, fit-to-page

Thomas Thielemann thomas at th-thielemann.de
Sat Apr 16 02:21:10 PDT 2016


Hello users,

on your linux device we are using cups version 1.5.4, together with hplip
When config is set to Letter and the media option with A4 is added, together with option fit-to-page set to true, this has no effect. Only when additionally the option fitplot (what is marked as deprecated in the documentation) is set to true, the scaling for png files in format A4 is done correctly.
Code 
    dest->num_options = cupsAddOption("media", "A4", dest->num_options, &dest->options);
    dest->num_options = cupsAddOption("fitplot", "true", dest->num_options, &dest->options);
    dest->num_options = cupsAddOption("fit-to-page", "true", dest->num_options, &dest->options);

Regards,
Thomas

Telefon: +49 172 37 20 896
E-Mail: th-thielemann at web.de
Web: www.th-thielemann.de





More information about the cups mailing list