Versions des environnements
Visual FoxPro:
FoxPro Windows
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement