G
Guest
We are using the PrtDevMode and PrtDevNames property to change
printersettings. This worked fine with Acc97 - 2002. In Acc2003 the
devicename portion of the structur is always empty.
A simple test:
Public Sub bla()
Dim v As Variant
DoCmd.OpenReport "Reportname", acViewDesign
Reports("Reportname").PrtDevMode = "Blasentee"
v = Reports("Reportname").PrtDevMode
Debug.Print v
End Sub
In Acc2000 the variable v is filled with Blasentee in Acc2003 we get nine
characters 0. It's exact the same behaviour if using the full
PrtDevMode-structure instead of Blasentee. The Devicename is always empty.
any idea?
printersettings. This worked fine with Acc97 - 2002. In Acc2003 the
devicename portion of the structur is always empty.
A simple test:
Public Sub bla()
Dim v As Variant
DoCmd.OpenReport "Reportname", acViewDesign
Reports("Reportname").PrtDevMode = "Blasentee"
v = Reports("Reportname").PrtDevMode
Debug.Print v
End Sub
In Acc2000 the variable v is filled with Blasentee in Acc2003 we get nine
characters 0. It's exact the same behaviour if using the full
PrtDevMode-structure instead of Blasentee. The Devicename is always empty.
any idea?