Programmatically sending faxes

Hi. I developed a VB 2005 WinForm application which faxes JPGs and PDFs to a bank by using an EMail-To-Fax system (I simply send an e-mail with the JPG/PDF attached to the bank's and on their side they receive it as a fax). The problem is that we have to fax an average of 20 pages at a time, and these should arrive as one long fax - not as 20 seperate faxes. The solution would be to attach all 20 JPG/PDF files to a single e-mail, but the problem is that each JPG/PDF is on average about half a megabyte, and I can't send out a 10 MB e-mail!!! (It times out, but even if it didnt, the banks e-mail account has a limit of 2MB)

We have four HP LaserJet 3055 Printer/Scanner/Fax combo machines here which are on the network (they connect directly to the network switch and have their own IP address). We use them to fax from Microsoft Word/Excel (or any other application) by simply printing to the HP Fax Printer. Would it be possible for me to fax the JPG/PDF files using this HP Fax Printer in my VB app? It would have to be totally silent though (no fax wizard popping up).

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


How about loading the pictures in a Webbrowser control and then printing it.
Like this but do add them in loop to string "s" so you get many pictures.

Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim s As String, PicturePath As String
        PicturePath = "file:///" + My.Application.Info.DirectoryPath + "\Pic.jpg"
        PicturePath = Replace(PicturePath, "\", "/")
        s = "<html>"
        s = s + "<body>"
        s = s + "<p><img border=" + """0""" + " src=""" + PicturePath + """ ></p>"
        s = s + "<html/>"
        s = s + "<body/>"
    End Sub

Open in new window


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Forced accept.

EE Admin
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Printers and Scanners

From novice to tech pro — start learning today.