>Dear Claudio
>Thank you for your help.
>I have another question.
>I want to know can i define my custom paper size from within my program and can i test that this custom size is exist or no from within my program?
>Because i think it is not suitable that i say to my software buyer to define a custom paper size on its printer.
You do it when u go to install app at their site.
If you distributing your app by sending CD + manual then include those steps into manual.
Moreover if printers used are dot matrix, I don't think your problems will end just by adding another printer with custom page setup. It will have to be supported by VFP code sending esc codes to printer enforcing exact page size in inches.
Rgds++