>Sergey,
>
>>It sounds like a printer driver problem. I'm not sure that you can asume the paper size in such case.
>
>You're right.
>I've just reinstalled the drivers, and PRTINFO(2) returned the correct value for Page size.
>
>PRTINFO(3 and 4) still return -1, but with the help of your FAQ I got the info needed.
Hi Cesar,
The PRTINFO(3 and 4) suppose to return -1 when PRTINFO(2) return valid Printer Form.
--sb--