[cups.bugs] [LOW] STR #2654: Setting the Page Margins also working when printing images in contrast to what the documentation explains

Jelle de Jong jelledejong at powercraft.nl
Sun Jan 6 06:30:24 PST 2008


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

-- -- -- -- --
# prepairing the source image for printing: bug report:
http://www.cups.org/str.php?L2653
convert ~/scanjet/image-0001.pbm ~/scanjet/image-0001.png
identify ~/scanjet/image-0001.png

# set the printer settings and the print the image with the cups commands,
this is without setting the page margings
lpoptions -p "HP_PSC_2110" -o PageSize=A4 -o PrintoutMode=High.Gray -o
InputSlot=Default  -o Duplex=None -o Quality=600GrayscaleCMYK
lpr -P "HP_PSC_2110" -#1 -o Collate=True -o media=A4 -o outputorder=normal
-o sides=one-sided -o scaling=100 -o saturation=0 ~/scanjet/image-0001.png
tested: this will result in a printout that is not 1:1 with the source
image because the margins of the printer configuration - 06-01-2008 -
Jelle de Jong

# set the printer settings and the print command, this is with the page
margins set
lpoptions -p "HP_PSC_2110" -o PageSize=A4 -o PrintoutMode=High.Gray -o
InputSlot=Default  -o Duplex=None -o Quality=600GrayscaleCMYK
lpr -P "HP_PSC_2110" -#1 -o Collate=True -o media=A4 -o outputorder=normal
-o sides=one-sided -o scaling=100 -o saturation=0 -o page-left=0 -o
page-right=0 -o page-top=0 -o page-bottom=0 ~/scanjet/image-0001.png
tested: this will result in a good match with the source image, unlike
what the documentation explains about the print margins these options also
works with images. - 06-01-2008 - Jelle de Jong
documentation: http://www.cups.org/documentation.php/options.html
-- -- -- -- --

Link: http://www.cups.org/str.php?L2654
Version: 1.3.2
Attachment: http://www.cups.org/strfiles/2654/image-0001.pbm.bz2





More information about the cups-devel mailing list