Environment versions
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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only