A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Outlook » Fax
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

i read a thread one time that told me



 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old January 24th, 2005, 02:52 PM
Ken Slovak
external usenet poster
 
Posts: n/a
Default

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


 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Updating New Messages from NTTP News Server OE Chad Harris Outlook Express 19 February 7th, 2005 07:21 PM
Overlapping time in Access RobertMelton,MOUS Running & Setting Up Queries 2 September 11th, 2004 03:06 AM
Can't send Email or Read Newsgroups Jeremy Outlook Express 4 July 15th, 2004 08:30 PM
Formatting cells to read time in 1/100ths John Wright Setting up and Configuration 1 March 9th, 2004 10:38 PM
Time performance Chart Bull Splat Charts and Charting 6 November 10th, 2003 02:16 PM


All times are GMT +1. The time now is 03:55 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.