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
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