Hi Nadya
a slight tangent from the original problem. I have a report which I have developed using a dummy printer called "fitanything" with paper size of "fitanything" which is a combination of A4 and Letter.
I have a groovy process which runs through each report class and queries the name of the frx and gets the orientation. It then opens the frx, clears the expr field and reinstates the orientation. All is well until I change to another printer and it picks up the default paper size for the printer.
My guess is that I need to set a papersize. "fitanything" is obviously a custom size so my user's don't have it. I've looked at prtinfo() and see I can set the papersize but it gives no clues about the syntax, the units (mm, inches) etc. Can you help me find that information?
regards
Sarah
Sarah King
pcpropertymanager.com