John Huss wrote:
> Is there any way to set the printer margins (accessible from page setup)
> programmatically?

The interface in question is widget/public/nsIPrintSettings.idl. I 
recommend you look at the source code for the page setup dialog; see 
toolkit/components/printing/content/printPageSetup.js and .xul.

Note that nsIPrintSettings isn't a frozen interface, and it changes from 
time to time.

Ken Herron

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

Reply via email to