J
Jane
Hi, I have written a simple program in VB.NET which can fax a Tiff
image to the Fax Printer connected via fax modem automatically. But
few steps are missing, which is the conversion of DOC or PDF (the
input file format) to TIF format, can anyone help!!!
Thank you in advance.
See coding below:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
Dim FS As Object
Dim FileName As String
Dim JobId As Long
Dim ServerName As String
Dim FD As Object
FS = CreateObject("FaxServer.FaxServer")
ServerName = "ads-jane2k"
FS.Connect(ServerName)
'==== Convert the DOC or PDF file to TIF file here!! ====
FileName = "C:\TEST.TIF"
FD = FS.CreateDocument(FileName)
FD.Faxnumber = "9 2515 3422"
JobId = FD.Send()
End Sub
Best regards,
Jane.
image to the Fax Printer connected via fax modem automatically. But
few steps are missing, which is the conversion of DOC or PDF (the
input file format) to TIF format, can anyone help!!!
Thank you in advance.
See coding below:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
Dim FS As Object
Dim FileName As String
Dim JobId As Long
Dim ServerName As String
Dim FD As Object
FS = CreateObject("FaxServer.FaxServer")
ServerName = "ads-jane2k"
FS.Connect(ServerName)
'==== Convert the DOC or PDF file to TIF file here!! ====
FileName = "C:\TEST.TIF"
FD = FS.CreateDocument(FileName)
FD.Faxnumber = "9 2515 3422"
JobId = FD.Send()
End Sub
Best regards,
Jane.