>Dear Nick,
>
>I have a question about the code. What is "gcpm"? That code can set the printer setting before print?
>
>Thanks.
>
>Best Regards,
>
>Justy Chow
Hi Justy,
It was not my code, but according to it gcprn is the variable containing the Windows printer name. You can get the printer names for currently installed printers with APRINTERS() function.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison