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 Westi 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 won't print to HP 5600 -

Status
Not open for further replies.

JanisB

Programmer
Nov 3, 2000
9
US
My client just installed an HP Deskjet 5600 and the Foxpro 2.6 program which has been working fine for about 8 years will no longer print to the printer.

Her machine is running Windows 98, I think the network is either Windows 2000 or 2003.

The port is lpt1 (I believe it says "ECP" before the LPT in the port description but I don't have it in front of me now).

I've tried set printer to lpt1, set print on and anything else I can think of.

There's another printer on the network which continues print from Foxpro with no problems.

Any thoughts?

Thanks.

JanisB

 
Not to state the obvious here, but:
Do other apps print to the printer okay?
Did you install the printer driver on the 98 machine?
Are other people on the network able to print to the 5600 using apps besides your Foxpro app?
Does your app print to "the other" printer by default?
Have you removed printer specific items from the report forms?


-Dave Summers-
[cheers]
Even more Fox stuff at:
 
Sorry to have left out the obvious - other apps (Word, Excel, email) print to the printer.

The drivers are on the 98 machine. Noone else on the network uses this printer.

This app prints to many other printers on other networks in three different locations so I don't think there is printer specific information in the reports but I will double check.

Thanks.
 
Oaky, so then:

Is it Foxpro DOS or Windows?
Is the printer connected using a parallel or USB connection?
Have you tested printing from the command window or printing a text file from within Foxpro?


-Dave Summers-
[cheers]
Even more Fox stuff at:
 
Windows
Parallel
I tried list to print from the command window (both before and after issuing "set printer to lpt1")

The user said it also could be connected USB, will probably try that tomorrow.

Thanks again.


 
USB probably won't work.
But parallel should.

Try using:
SET PRINTER TO "printername"
- or -
SET PRINTER TO NAME "printername"
SET PRINTER ON
SET DEVICE TO PRINTER
???"test test test "
SET PRINTER OFF
SET PRINTER TO
SET PRINTER TO &&... yes twice.

Let's see if that works.


-Dave Summers-
[cheers]
Even more Fox stuff at:
 
This didn't do the trick but they are getting a new computer in the next month so we're going to hope that with the new computer, the problem will be solved.

Thanks for all your suggestions - I'm in Oregon and the client is in Michigan; it would be easier to troubleshoot onsite.

Janis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top