Does anybody know how to use the Windows API to set the margins of a page in a particular printer.
Thanks.
Printable View
Does anybody know how to use the Windows API to set the margins of a page in a particular printer.
Thanks.
Look-up "PrtDevMode" Property in your vba "help".
the example in access changes the orientation as
well as the margins...see if it can be applicable
to vb... hope this helps...:)