I am trying to output a form into pdf using DoCmd.OutputTo
One of the forms is quite large and does not fit on one page. I tried to specify the 11x17 size paper and it seems to work on my computer, but not a different machine.
1. Is it possible to specify something akin "shrink to fit" so the form will fit on one page?
2. If not, does anyone know why 11x17 works on my machine but not a different one?
The code is
With Forms(sysForm.Name).Printer
.PaperSize = acPRPS11x17
.Orientation = acPRORLandscape
.LeftMargin = 360: .RightMargin = 360: .TopMargin = 360: .BottomMargin = 360
End With
DoCmd.OutputTo acOutputForm, sysForm.Name, acFormatPDF, strFileName, True
Thanks a lot!
One of the forms is quite large and does not fit on one page. I tried to specify the 11x17 size paper and it seems to work on my computer, but not a different machine.
1. Is it possible to specify something akin "shrink to fit" so the form will fit on one page?
2. If not, does anyone know why 11x17 works on my machine but not a different one?
The code is
With Forms(sysForm.Name).Printer
.PaperSize = acPRPS11x17
.Orientation = acPRORLandscape
.LeftMargin = 360: .RightMargin = 360: .TopMargin = 360: .BottomMargin = 360
End With
DoCmd.OutputTo acOutputForm, sysForm.Name, acFormatPDF, strFileName, True
Thanks a lot!