View Single Post
  #12  
Old January 24th, 2005, 06:59 PM
Russ Valentine [MVP-Outlook]
external usenet poster
 
Posts: n/a
Default

I'm sure glad you finally showed up.
I knew it wasn't a fax question.
--
Russ Valentine
[MVP-Outlook]
"Ken Slovak" wrote in message
...
To display the print dialog with the print to file checkbox the OP would
use a Win32 API function such as
PrintDlgEx or PrintDlg. It's somewhat complicated to work with and this
really should be posted to one of the programming groups such as
microsoft.public.outlook.program_vba, but a here's a short description
from the Windows Platform SDK:

The Print dialog box lets the user select options for a particular print
job. For example, the user can specify the printer to use, the range of
pages to print, and the number of copies.
Windows 2000/XP: You can use the PrintDlgEx function to display a Print
property sheet, which has a General page containing controls similar to
the Print dialog box. The property sheet can also have additional
application-specific and driver-specific property pages following the
General page.

You create and display a Print dialog box by initializing a PRINTDLG
structure and passing the structure to the PrintDlg function.

More information can be found in the MSDN Library.

Using another Windows API function ShellExecute you can use the "print"
verb but you can't set a print to file action, so I think PrintDlgEx or
PrintDlg would be best for this.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Russ Valentine [MVP-Outlook]" wrote in message
...
I would have no idea. I'm just a dumb cardiologist who knows a little
about the fax service and nothing at all about the programming interfaces
to Windows XP.
--
Russ Valentine
[MVP-Outlook]
"jim sturtz" wrote in message
...
i think we are now on track.

as i understand, very poorly im sure, windows is made up of lots of
code,
some routines of which other developers can call and pass variables to,
if
necessary.

there seems to be an option in the generic microsoft print
dialogue/program/routine that permits 'print to file' being selected.
whoever is writing for it or perhaps calling it, can 1)show the 'print
to
file dialogue 2) maybe allow the checkbox to be filled in 'X' rather
than '
'. as some dialogues show it, others dont. but if perhaps the checkbox
can
be selected true, via the registry, even if not shown on the dialogue
itself, then it would force, hopefully, the print to file to be
executed,
altho the programmer didnt intend it when he made up the dialogue for
the
particular application, like turbotax.

if it can be gotten to via the registry, or any other suggestion you may
have, then i would like to be able to do so, for reasons already
enumerated,
and try to force the .tif file creation.

thanks.

jim