tammys
asked on
Need help printing on HP DeskJet
I am currently taking my first class in Pascal. My problem is I cannot print my output or print the program from the Turbo Pascal 7.0 editor. I am using Win95 and a HP DeskJet printer. My error is within the printer setup prnfltr path. Pascal path is C:\tp\bin. Please help.
No matter where the pascal lie (pascal path), u better set up ur printer properly, make sure the set up program is for windows 95
Is is this a network printer or a locally connected one?
If it's a network printer, when you're setting it up, one of the questions is "Do you want to print to this printer from DOS programs?" Answer 'YES'. This is essential.
If it's a locally connected printer, make sure you're printing to the correct port. The prnfltr program is normally located in the same directory as your pascal itself (i.e. c:\tp\bin). Make sure the path is correct and the port selection is correct.
If it's a network printer, when you're setting it up, one of the questions is "Do you want to print to this printer from DOS programs?" Answer 'YES'. This is essential.
If it's a locally connected printer, make sure you're printing to the correct port. The prnfltr program is normally located in the same directory as your pascal itself (i.e. c:\tp\bin). Make sure the path is correct and the port selection is correct.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Sorry about my answer, it's wrong, it's been a while since I did anything in Pascal. I'ts not LPT it's LST ie
WRITELN(LST,'This is a message');
As far as I'm aware, printing to a HP DeskJet isn't a problem, certainly on a local connection.
WRITELN(LST,'This is a message');
As far as I'm aware, printing to a HP DeskJet isn't a problem, certainly on a local connection.
i dont think he has trouble printing from his program. He need to set up the TP/BP IDE to print loaded PAS Files
Glad to have been able to help Tammy.
Do you need a hand with anything else ?
Look after yourself
See you on another thread maybe.
Elkiors (Darren)
Do you need a hand with anything else ?
Look after yourself
See you on another thread maybe.
Elkiors (Darren)
glad to have helped
Is there anything else you're having problems with ?
Elkiors (Darren)
Is there anything else you're having problems with ?
Elkiors (Darren)