• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 210
  • Last Modified:

faxing reports

how do i fax the report through a vb program i am new to vb pl tell me how do i fax to the report do i have to use mapi control and what properties do i change

or winsock
i would be thankful if i could get the sample program

email-sonal_chouhan@hotmail.com


thanks a lot
0
sonalchouhan
Asked:
sonalchouhan
  • 2
1 Solution
 
simonbennettCommented:
I think that all you need to do is set up your fax software as a printer, then set the report to have a specific printer == your fax printer.

If you try and do this manually you will need to use a tapi or fax API - or anything that supports fax protocols.

HTH

Simon
0
 
damienmCommented:
I agree with Simon simply set up your fax machine as a printer.

Once you have set up a fax machine as printer you can either set the fax machine as default printer or use.

Dim x As Printer

'select the fax printer
For Each x In Printers
    If UCase(x.DeviceName) = ("FAX PRINTER NAME" Then 'Use Uppercase
        Set Printer = x
    End If

Next x
0
 
sonalchouhanAuthor Commented:
please send me a sample how to send the fax of the report generated

thank u
sonal

sonal_chouhan@hotmail.com
0
 
damienmCommented:
Dim x As Printer

'select the fax printer
For Each x In Printers
    If UCase(x.DeviceName) = "FAX PRINTER NAME" Then 'Use Uppercase
        Set Printer = x
    End If

Next x

Printer.print "Test print"
'Printer.print YourReport
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now