Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refresh the printer's setting in FRX file!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01003234
Message ID:
01003251
Vues:
21
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?
>>>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform