FaxStartPrintJob fails with network fax printer

R

Rahul

hi,

I am developing an application which has to send fax to a fax printer
in the network. I am developing the application
in Windows XP SP2. I have installed the fax services on my machine.
When i use the FaxStartPrintJOb function with first
parameter as NULL, it is queuing in the Fax Console. I have a network
fax printer(HP Officejet 7400 series fax) and i can see it in my
Printers and Fax window. But, when i specify the printer name in
FaxStartPrintJob , it is giving error like "Printer name is invalid".

I even tried using the CreateDC and StartDoc,
EndDoc and DeleteDC and it has displayed Fax Send Configuration dialog.
I want to suppress that dialog. I even shared a fax printer and gave
the name like \\ServerName\Fax Printer name, but no use. The same error
is repeating. Please help me out in this. May be if you can tell what
changes the FaxStartPrintJob does to the DEVMODE structure to
suppress the Fax Send Wizard dialog. I have tried many methods , but i
am not successful. No replies from newsgroups :-(

regards,
Rahul.W
 
R

Renu Bhattar [MSFT]

If you are writing C/C++ code then the printer name should be give as
"\\\\ServerName\\PrinterName"

Try this and let me know if you face any issues.
--
---

Renu Bhattar [MSFT]

Microsoft Printing, Imaging and Faxing
This posting isprovided "AS IS" with no warranties and confers no rights.
Please do not send mail directly to this alias. This alias is for newsgroup
purposes only.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top