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

Report going to fax

Status
Not open for further replies.

Buff1

Programmer
Feb 7, 2003
295
US
I have a client using software I wrote but the program that controls the windows printing is third-party. Here is the problem (ive never encountered this is over 10years).

When the client tries to print a report, it wants to print a fax instead (it's an all-in-one HP printer). Any ideas on what to do ? I may have to rewrite the print module which I dont relish.
 
What port is the printjob being directed to ?
Has there been a fax connected before to the port being used ?
Else you could try and remap the port to where the printer is connected and you probably don't need to rewrite anything besides creating a small batch file.
 
It's an All-In-One printer as I said, so technically the printer/fax/scanner is all connected to the same port.

It's going to be virtual stuff or perhaps a PCL command (doubtful though) that will make it work
 
Well obvious correction, the fax has to be connected to the phone line at some point and the 'port' should i think be called 'FAX' so i will look into your suggestion, thanks.
 
Might be as simple as checking your default printer in your control panel. I just had that problem after sending a manual fax. The next time I tried to print it was going to fax. I found the problem in printers in the control panel. Fax was selected as default instead of printer. Set printer as the default and you should be good to go. Good luck.
 
that may be the problem rusty, but since the client is out of state, it's impossible to check. I have to rely on his
word.

I ended up rewriting my print routines and preview using the printer description to open the printer rather than the port.

PowerBasic for windows now includes a nice graphic/xprint
statement collection that allows me to do this. This worked
for the client so i am going to this rather than the third party dll i was using.

Thanks for all the responses.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top