Log in

View Full Version : Set print proporites for form



Trevor
02-10-2008, 05:15 PM
Is there a way to set print proporties for a form programticly and eliminate the error that comes up saying the area you are trying to print is bigger than the paper
I have a form set up to print envelops with lables (9.5 x 4.5) and I want it to print landscape, but everytime the form opens It displays an error saying that the area is bigger then the paper.
so incase I lost any one I am trying to programticly set print proporties to lasdscape and eliminete the error that pops up saying that the area I'm trying to print is bigger than the paper

Oorang
02-18-2008, 12:37 PM
Never tried it, but you can modify printer properties of Me.Printer
I'd try to do it using the Form_Open event. No guarentees though:)

Trevor
02-18-2008, 02:03 PM
Thanks will try my other post you replied to is using a report this post is trying to do it using a form, . Im assuing that would me Me.Print = Landscape ? for landscape
Do you know how to program posisioning of a lable on a page so that I don't have to use a report or form I can do it with a hidden control
for exaple Me.Lable = 4.3 .6.8 (posistion on paper to start lable)
and print proporties would be Me. print landscape?
I know from your reply is an educated try/guess