>Thx for the reply,
>
>but, in fact, no printer is installed on the computer. Currently, we have 6 PCs with win 98 and a dot-matrix printer on each computer connected to LPT1. The printer is so old that we dont have no more the driver. (I know that seem ridiculous but I have to do with this. No one want to buy a new printer and we dont have contract assistance).
>
>The code work fine in foxpro 2.x with no installed computer that why we use LPT1 directly instead of the printer name.
>
>In 2 month we will upgrade to win Xp and PC's Vista capable. It's why we have to upgrade our code to visual foxpro 9 because nomore support Ms-dos right now.
>
>I dont it's a tricky problem and if you cant answer i'll understand.
>
>Thx a lot.
You must install a printer driver! In this case you use the Generic/Text only printer driver.