Has anyone tried to use the fax utility on Windows XP to create a fax formated file in VB which then can be delivered & viewed? I tested with WordPad or NotePad, by click on the "Print to File" checkbox. When print starts, a window pops up asking for filename and then print to the given filename.
I tried on VB by calling up .ShowPrinter and setting "Print to File" and it didn't work. Here is the code:
(A common dialogbox is placed on the form, named cdlPrinter to set up the printer)
cdlPrinter.ShowPrinter 'Click Print to File box
Printer.Print "This is a test."
Printer.NewPage
Printer.EndDoc
For regular printers, a Print to File window pops up. But for fax, it doesn't pop up the window. Instead, it simply starts the fax program to prepare for fax through modem. Can anyone tell me what I missed?
Thanx
Jason
I tried on VB by calling up .ShowPrinter and setting "Print to File" and it didn't work. Here is the code:
(A common dialogbox is placed on the form, named cdlPrinter to set up the printer)
cdlPrinter.ShowPrinter 'Click Print to File box
Printer.Print "This is a test."
Printer.NewPage
Printer.EndDoc
For regular printers, a Print to File window pops up. But for fax, it doesn't pop up the window. Instead, it simply starts the fax program to prepare for fax through modem. Can anyone tell me what I missed?
Thanx
Jason