Home All Groups Group Topic Archive Search About
Author
12 Apr 2005 4:42 PM
Wayne Wengert
I am using VSNET 2003/VB and I want to allow the user to specify a page
margin adjustment when printing labels. How do I specify that adjustment in
VB.NET code?

Wayne

Author
12 Apr 2005 5:08 PM
Herfried K. Wagner [MVP]
"Wayne Wengert" <wayneDONTWANTSPAM@wengert.com> schrieb:
>I am using VSNET 2003/VB and I want to allow the user to specify a page
> margin adjustment when printing labels. How do I specify that adjustment
> in
> VB.NET code?

'PrintDocument.PrinterSettings.DefaultPageSettings.Margins'.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
13 Apr 2005 7:22 PM
Ron Allen
Wayne,
    If you just want to offset the printing a bit to align the labels
correctly I'd use Graphics.TranslateTransform and allow the user to specify
the offset in whatever drawing units you are using.

Ron Allen
Show quoteHide quote
"Wayne Wengert" <wayneDONTWANTSPAM@wengert.com> wrote in message
news:eNZz$63PFHA.1096@tk2msftngp13.phx.gbl...
>I am using VSNET 2003/VB and I want to allow the user to specify a page
> margin adjustment when printing labels. How do I specify that adjustment
> in
> VB.NET code?
>
> Wayne
>
>