P
prhood
I would like to be able to change the printer settings from code, e.g from
"Portrait" to "Landscape". I'm working with some code which opens a query and
I want to print the query results directly with no user input.
My code is as follows:
docmd.openquery acquery, "qryName"
docmd.printout acprintall, , , acdraft
The result typically does not fit on a regular page without changing the
margin settings or orientation. I would like to do so before printing so that
the output is not dependent upon the default print settings.
"Portrait" to "Landscape". I'm working with some code which opens a query and
I want to print the query results directly with no user input.
My code is as follows:
docmd.openquery acquery, "qryName"
docmd.printout acprintall, , , acdraft
The result typically does not fit on a regular page without changing the
margin settings or orientation. I would like to do so before printing so that
the output is not dependent upon the default print settings.