Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ack! Must I hack!?!
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Environment versions
Visual FoxPro:
FoxPro Windows
Miscellaneous
Thread ID:
01505846
Message ID:
01506013
Views:
79
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform