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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XP printing using FPD26 & Novell client 1

Status
Not open for further replies.

jrd232

MIS
Sep 12, 2002
9
US
I just got a call from a long-forgotten client who has been running a FPD app since late 80s! Recently hooked up an XP machine and app runs fine except it won't print. Anyone have any ideas? Client is on a Novell network: Novell Netware 5.1; client is Novell 4.83 and FoxPro is FPD 2.6.

The report does not use the report writer, i.e. coded the old way with "@ says" etc.I suspect the problem is with the RUN command we used to get to the Novell networked printer:
RUN CAPTURE Q=PRINTQ_0 TI=10 NT NB NFF . Is there some way around this problem?

Thanks in advance for any help.

 
Thanks to Ed Rauh on the UT, this is his solution to USB printing in FPD, but it should work for any printer:
"Is it possible to print to USB port printer from Foxpro for DOS 2.6 ?

Yes, but it requires a bit of rethinking to accomplish.

Share the USB printer to the network, and then use the NET USE command to assign the shared printer to a legal DOS device name:

Code:
(1)  Share printer MyUSBPrinter to the network as \\MyMachine\MyUSBPRN
(2)  Deassign the local device in case it has been assigned to a net device previously by:
     NET USE LPT2: /D
(3)  Map the local port to the networked print device by:
     NET USE LPT2: \\MyMachine\MyUSBPRN /YES
You may need to persist the share; on some OS (XP for example) the NET USE would read
Code:
NET USE LPT2: \\MyMachine\MyUSBPRN /YES /PERSISTENT:YES
"

Rick
 
Rick,

Once again, thanks. Your solution worked and all the various pieces seem happy.

Brgds, Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top