Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ack! Must I hack!?!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Versions des environnements
Visual FoxPro:
FoxPro Windows
Divers
Thread ID:
01505846
Message ID:
01506013
Vues:
80
>Hi all,
>
> I'm attempting to work with an old fpw26 REPORT FORM command. I know there is the PROMPT option, but here what happens in fpw2.6:
>
>Issue command as: REPORT FORM MyReport TO PRINTER PROMPT NOCONSOLE
>Result is: a printer dialog and then print.
>
>Issue command as: REPORT FORM MyReport TO PRINTER NOCONSOLE
>Result is: I *still* get a printer dialog before print
>
>How do I NOT have this prompt always jumping in there? A hack? I've already hacked out printer info on the Tag & Tag2 fields...
>
>NOTE: works as expected in VFP. If no PROMPT is included, none displayed.
>
>Nuts,
>Steven-

If I remember it correctly, fpw26 prints to port (like LPT1, LPT2 ...); check whether an appropriate printer is assigned to this port.

If not, then create a batch file like below, and run it before report form command:

* c:\setLPT.bat
net use Lpt3: /delete
net use Lpt3: \\server_name\printer_name /persistent:YES

Also, remove printer specific information from report.frx/frt file.

Good Luck
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform