On 03/14/2012 02:02 PM, Julian Viereck wrote:

https://wiki.mozilla.org/WebAPI/WebPrintAPI

There isn't too much yet. So far I have scratched out the basic API
and started some very basic implementation work. However, I hope this
is enough to get some discussion about this proposed API going and
I'd like to get some feedback what people think about it.

A few small comments:

* Instead of forbidding px, define 1px = 1/96in
* similarly, ctx.putImageData should scale to 1px = 1/96in, unless the image object has embedded resolution information, in which case it should be honored * .getImageData should, if possible, produce a raster at the true printable resolution
* (0,0) should be the top left hand corner of the print area, not the paper
* CMYK opens a huge can of process worms (which the GCPM language you linked to, doesn't even *begin* to cover); avoid for now * No matter what the document does, Print Preview needs to be capable of showing an as-accurate-as-possible WYSIWYG rendition; it's not clear to me whether this is true in your proposal

zw
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to