Change Fax Printer

  • Thread starter Thread starter Draya
  • Start date Start date
D

Draya

Hello,
I am faxing from Access 2000 .adp using faxcom 1.0 type library.
When the default printer is my Fax printer, the fax is sent out just
fine. If my default printer is my regular printer, I get the
following error: Error # -2147024883 probably because the default
printer can't be found or it is turned off. How do I choose/set the
Fax printer so that no matter which is the default printer the fax
will be sent to the fax printer?

FaxServername = "MyCompterName"
Set faxObj = CreateObject("FaxServer.FaxServer")
faxObj.Connect (FaxServername)

Dim FaxDoc As Object
Set FaxDoc = faxObj.CreateDocument(FileNameAndPath_ToFax)
FaxDoc.faxNumber = "5555555"
FaxDoc.RecipientName = "John Doe"
FaxDoc.DisplayName = "John Doe"
FaxDoc.SendCoverpage = False
FaxDoc.SenderCompany = "ACME Co."
FaxDoc.Send


Thanks
 
That error is HRESULT 0x8007000D which is (net helpmsg 13)
"The data is invalid."

So check the validity of your data

--
Raghavendra R
Microsoft Printing, Imaging and Fax Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.'
 
Back
Top