Hi Nadya,
In our reports, when we clean the Printer specific information from the .FRX files, we just leave the following lines in the EXPR field:
ORIENTATION=0
PAPERSIZE=1
COPIES=1
The orientation will change to 1 if the report prints in landscape. We didn't bother with the DUPLEX setting since we have very few clients who have duplex capable printers.
The lines above seem to be enough that the ones not listed but are sometimes in the EXPR field after modifying reports would just use their default values.
HTH,
Arriyel
>>Did changing it to 7 in report helped?
>
>Yes. So, I'm going to adjust my "FixReports" program to fix all reports.
>
>BTW, this program is called RemovePrinterSpecificInfo. Luckily I was able to remember this long name :) I'm going to put all my UDFs into table. I already have GUI for this kind of table (EditFunctions form).
>
>>
>>>Hi Sergey,
>>>
>>>Is there a way to automatically change this setting for all reports? ?prtinfo(7) returns 7 on my machine and it returns 258 on my boss's Windows 98 machine. So, how this could be changed globally?
>>>
>>>If not, I have a program, which fixes reports. I can add this functionality into this program.
>>>
>>< snip >
Speak using soft and sweet words in case you have to eat them later.