var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Set printing preferences
is there a way for me to specify in VBA print orientation?
So that If use this generic code from the wizard
I can make it print landscape?
Dim stDocName As String
Dim MyForm As Form
stDocName = "BOP_Frm"
Set MyForm = Screen.ActiveForm
DoCmd.SelectObject acForm, stDocName, True
DoCmd.SelectObject acForm, MyForm.Name, False
I was playing with this when trying to get pages to pull from differant trays. Looks like forcing/changing orientation is no simple task. There's some good coding samples here too:
Have a good one.
Thanks. That is funny as I was looking at the same page yesterday before I posted here. Having trouble to get it to do exactly waht I wanted so I thought I'd ask if there were an easier way.
FOUND IT !!
Application.Printer.Orientation = acPRORLandscape