AJUDA COM PRINTER
PROCURE O FRMPRINTPREVIEW
SUB DOCPRINTPROC
[ô] Set printable rect area >>> AQUI CONFIGURA O TAMANHO DA PAGINA
rectPage.Left = 0
rectPage.Top = 0
rectPage.Right = Printer.ScaleWidth
rectPage.Bottom = Printer.ScaleHeight
>>>> AQUI CONFIGURA AS MARGENS
[ô] Calculate the Left, Top, Right, and Bottom margins
LeftMargin = gLeft - LeftOffSet
TopMargin = gTop - TopOffSet
RightMargin = (Printer.Width - gRight) - LeftOffSet
BottomMargin = (Printer.Height - gBottom) - TopOffSet
TENTA AII
SUB DOCPRINTPROC
[ô] Set printable rect area >>> AQUI CONFIGURA O TAMANHO DA PAGINA
rectPage.Left = 0
rectPage.Top = 0
rectPage.Right = Printer.ScaleWidth
rectPage.Bottom = Printer.ScaleHeight
>>>> AQUI CONFIGURA AS MARGENS
[ô] Calculate the Left, Top, Right, and Bottom margins
LeftMargin = gLeft - LeftOffSet
TopMargin = gTop - TopOffSet
RightMargin = (Printer.Width - gRight) - LeftOffSet
BottomMargin = (Printer.Height - gBottom) - TopOffSet
TENTA AII
Tópico encerrado , respostas não são mais permitidas