Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Hi Sergey,
Even I did not understand why the programmer did that, so I totally ignored his method. I used PRTINFO function, and it worked for me.
Your replies helped a lot, like always.
Thank you,
Ali
>Ali,
>
>I still don't understand what you are trying to do so it's hard for me to provide any help.
>The PRTINFO(3) and PRTINFO(4) will return -1 if PRTINFO(2) returns one of the standard paper sizes. Enumerating printer forms under Windows NT/2K/XP FAQ #22445 may help you to get actual printer form sizes.
>
>>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.
>>
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement