PRINT a fax from VB

Posted: 02-23-2004, 09:58 AM
Hi everybody,



I struggle to find e solution to send a fax via VB6. I am using
the FAXCOMEXLib but it seems to work only whit an attached document. I don't
want to send an existing document but just print it on the FAX Printer. If
I do so, windows shows me the wizard. Is there any solution to set the
recipient (fax Number), print it without showing the wizard windows?



TIA

Alberto nycNOSPAM301@libero.it


Reply With Quote

Responses to "PRINT a fax from VB"

Arindam Basak [MSFT]
Guest
Posts: n/a
 
Re: PRINT a fax from VB
Posted: 02-26-2004, 09:33 AM
You can use FaxStartPrintJob to print a fax to fax printer DC. Specify the
fax send information in the FAX_PRINT_INFO structure. This would not display
the Fax Send Wizard.

This functionality is available only in Win32 though, and not through COM.

Please have a look a the following MSDN link about how to use it:
http://msdn.microsoft.com/library/en...asp?frame=true

Thanks,
--
Arindam Basak
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.

"nyc301" <nyc301@libero.it> wrote in message
news:O73iMOf#DHA.3828@TK2MSFTNGP10.phx.gbl...
> Hi everybody,
>
>
>
> I struggle to find e solution to send a fax via VB6. I am
using
> the FAXCOMEXLib but it seems to work only whit an attached document. I
don't
> want to send an existing document but just print it on the FAX Printer. If
> I do so, windows shows me the wizard. Is there any solution to set the
> recipient (fax Number), print it without showing the wizard windows?
>
>
>
> TIA
>
> Alberto nycNOSPAM301@libero.it
>
>

Reply With Quote
nyc301
Guest
Posts: n/a
 
Re: PRINT a fax from VB
Posted: 02-27-2004, 10:24 AM
Arindam,

thank you for your reply. With your help I could write a good code to
send fax using Local Fax Printer but I canno connect to my Server Fax
Printer.
The code I am using is the following:
ReVal = FaxStartPrintJobA("\\MECAIT02\Fax", FaxInfo, FaxJob, FaxContext)
Is it correct or I have to spell in e different way the
\\machinename\printer?

Thanks in advance.
Alberto

"Arindam Basak [MSFT]" <arindamb@online.microsoft.com> ha scritto nel
messaggio news:403dbd6d@news.microsoft.com...
> You can use FaxStartPrintJob to print a fax to fax printer DC. Specify the
> fax send information in the FAX_PRINT_INFO structure. This would not
display
> the Fax Send Wizard.
>
> This functionality is available only in Win32 though, and not through COM.
>
> Please have a look a the following MSDN link about how to use it:
> http://msdn.microsoft.com/library/en...asp?frame=true
>
> Thanks,
> --
> Arindam Basak
> 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.
>
> "nyc301" <nyc301@libero.it> wrote in message
> news:O73iMOf#DHA.3828@TK2MSFTNGP10.phx.gbl...
> > Hi everybody,
> >
> >
> >
> > I struggle to find e solution to send a fax via VB6. I am
> using
> > the FAXCOMEXLib but it seems to work only whit an attached document. I
> don't
> > want to send an existing document but just print it on the FAX Printer.
If
> > I do so, windows shows me the wizard. Is there any solution to set the
> > recipient (fax Number), print it without showing the wizard windows?
> >
> >
> >
> > TIA
> >
> > Alberto nycNOSPAM301@libero.it
> >
> >
>
>

Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to Print or Print Preview from IE7 on Vista Home Premium Poppy Windows Vista Printers & Scanners 8 05-13-2008 07:56 AM
print driver successfully installed but still a problem with print chiefjay Windows Vista Printers & Scanners 3 01-15-2008 07:14 PM
Print Spooler in XP Keeps Stopping: Can't Install Print Driver dan b Windows XP Printers / Scanners / Fax 1 02-15-2004 02:57 AM
printer is stuck on print, print, print no matter what I do Lenore Gay Windows XP Printers / Scanners / Fax 1 02-06-2004 02:53 PM
Print Preview or Print is unavailable in Internet Explorer 6.0.2800 128-bit SP1 Dany Windows XP Printers / Scanners / Fax 0 09-06-2003 09:26 PM