Anyone knows how to limit the print out to 2 pages only? As in once preview, print out 2 pages only? And not only 2 pages only but printout back to back so only 1 page with two sides printed? Help!!
private sub cmdPrintOut_Click
docmd.PrintOut acPages,me.PageFrom,me.PageTo,,me.Copies
end sub
me.PageFrom >>> textbox for entering start page No
me.PageTo >>> textbox for entering end page No
me.Copies >>> textbox for entering end copies amount
on your form
Thanks Aivars & JoeMiller!
However, my problem is still not solved. I would like the printout to be double sided on 1 sheet of paper. docmd.Printout does not specify that Or is printing out double sided not possible unless done on the printer setup?
Not possible unless done in the printer setup. What I usually do in a situation like this is have a copy of the printer installed with the duplex option enabled then name it so I can use it for automated tasks like this.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.