General information
Category:
Reports & Report designer
Hi Sergey,
Sorry for taking your time.
I was going to use PRTINFO() instead. PRTINFO(1) returns Paper Orientation and it works fine, but PRTINFO(3) and PRTINFO(4) return -1 not Page Length and Page Width respectively.
BTW, every time the user changes the printer’s setting. I need to know these parameters.
Thank you,
Ali
>Which fields in the first record do you want to update? Some of them store printer info (TAG, TAG2), EXPR stores printer and report info, the rest - report info. Why do you want to update printer info, btw?
>
>>Thank you for the reply.
>>
>>This is a previously developed project, so I would like to avoid fundamental changes as far as I can. If I do this, the bug is fixed. Else I have to deal with lots of codes. (They use paper orientation, height and width from different records in the FRX file and maybe more)
>>
>>Cheers,
>>Ali
>>
>>
>>
>>>It's standard practice to remove this info from reports to make them printer independent. Why do you want to preserve it?
>>>
>>>>There is a record in MyReport.Frx (ObjType=1 AND ObjCode=53). This record contains information about the printer. Is there any way that I can refresh this record to the default printer without printing the report?
>>>>
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only