General information
Category:
Reports & Report designer
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.
>>
Previous
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