Discussion Locked

Printing on VFP/Netware

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Running a large in-house application written in Foxpro 2.5 DOS running on Netware 4.2. We have three network printers and use capture statemnets in the login script to direct printing to the queues. We are starting to convert to Visual Foxpro 6.0 and having a problem printing. When using ? to print, all output goes to the Windows default printer. Any attempt to redirect to LPT ports or queues result in errors or printing going to the default printer. The VFP document is rather poor describinghow to select a printer/print queue in a netware server. Any advise or redirect on where to get more infomation on printing would to greatly appreciated. Thanks.

6 replies

by erikdr

No experience with VFP, but in generally with switching from DOS printing to Windows printing (also in NetWare).
Then, the LPT: printername is _not relevant_ anymore for the application. What counts for Windows is the Windows printername (which in turn, through capture or the NW Windows tool, links to a NW queue). So look in the VFP doc on how to direct the output not to a LPT: but to a Windows printername.

Hope this helps,

- The Netherlands

by stillatit

The issue is how you are connecting to your netware printer queues. The Foxpro commands
SET PRINTER TO
SET PRINT ON/OFF
and so on work as advertised. Check the exact syntax in the help file. You may need to redefine the printers to have names that Foxpro can handle.

Remember that since VFP is NOT a DOS app, you should not be using capture.

Good luck.

This discussion is closed to new replies.