Changes

Jump to: navigation, search

WebAPI/WebPrintAPI

9 bytes added, 20:21, 8 March 2012
Notes
* There is only one page size per PrintDocument.
* The size of the page is defined within the PrintDocument constructor. If the defined page size doesn't fit the printer's page size, the content get's aligned as specified by the 'scale' property (see below).
* === Open Questions=== 
** What is (0,0)? The top left corner of the physical page OR of the page taking into account the print margin?
** Should there be different color spaces then RGB? There is a <a href="http://www.w3.org/TR/css3-gcpm/#cmyk-colors">proposal for CMYK colors in CSS</a>.
=== Possible values for the 'scale' property (see below) ===
 
* 'scale': Scales the drawing while keeping the ration to to fit on the print paper size
* 'fit': Scales the drawing while not taking the ration of the printer paper size in account
49
edits

Navigation menu