Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refresh the printer's setting in FRX file!
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01003234
Message ID:
01003251
Views:
17
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
Map
View

Click here to load this message in the networking platform