Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FoxPro 2.6 for DOS printing to a networked printer under Win98 1

Status
Not open for further replies.

mozerd

Technical User
Aug 3, 2005
2
CA
A very long time ago I worked with FoxPro …. And I stopped doing so about 10 years ago … unfortunately I have forgotten 90% of my FoxPro knowledge I had acquired. I am hoping that someone here can help me solve a FoxPro 2.6 FOR DOS printing issue running under Windows 98 SE.

Recently I found this old FoxPro 2.6a for DOS application complied as an *** exe *** that I had written in 1995 -- on a diskette and installed it on a PC running Windows 98SE. The FoxPro application runs great -- and I want to print out various Reports selected from a menu of reports to a printer connected via a network share - the network is Windows 2000. Currently each time I attempt to print the report I get an error message. The Printer works fine under Windows 98 if I use any windows application like MS Word.

Can someone please provide me with info [steps] on how to get a compiled application written under FoxPro 2.6 for DOS printing to a networked printer?
 
Hi,

I guess the only thing you need to do is open a DOS window (in the computer running your FPD application), and type:

NET USE LPT1 \\otherComputerName\SharedPrinter /PERSISTENT:YES

If that doesn't work, tell us what is the error message you get.
 
TheRambler, thanks for the Help -- The NET USE command as you had provided it generated an error so I changed it to

NET USE LPT1 \\otherComputerName\SharedPrinter
and that worked -- I was able to print out my reports.

apparently under Windows 98SE /PERSISTENT is not recognized.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top