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
  #11  
Old January 24th, 2005, 03: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


  #12  
Old January 24th, 2005, 07: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




  #13  
Old January 24th, 2005, 08:55 PM
jim sturtz
external usenet poster
 
Posts: n/a
Default

ken,

i figured that there was some was the dialogue was being changed, but if the
controls arent addressable via the registry or an .ini file then i suspect i
cant do what i wish.

even if i wished to write my own print dialogue, i dont think that would
help me use/change the one in turbotax (or any other app as far as that
goes). i was hoping that the printer dialogue defaults were controlled via
some default printer setup in winxp.

thanks.

jim


"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




  #14  
Old January 25th, 2005, 12:11 AM
Ken Slovak
external usenet poster
 
Posts: n/a
Default

If you look at the full information on that Win32 API call you will see that
the main page is pretty well fixed and other tabs are added based on what's
available for that printer in that printer driver. Different printers and
different drivers for the same printer might have different tabs with
different settings.

Nothing in any of this has anything to do with any INI files or registry
settings. You could change default printer in the registry but not change
the printer dialogs unless you write your own hardware printer driver, not a
trivial task.

Another factor is whether the application is using that method or a custom
method and dialog of its own or the Office printer dialog, which is a
wrapper on the Win32 API dialog. All in all, unless you want to write your
own code calling the Win32 API procedure there's nothing much you can do.
Even if you write your own code you'd still need somehow to integrate what
you're doing with any applications you want your code to work with.

--
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


"jim sturtz" wrote in message
...
ken,

i figured that there was some was the dialogue was being changed, but if
the
controls arent addressable via the registry or an .ini file then i suspect
i
cant do what i wish.

even if i wished to write my own print dialogue, i dont think that would
help me use/change the one in turbotax (or any other app as far as that
goes). i was hoping that the printer dialogue defaults were controlled
via
some default printer setup in winxp.

thanks.

jim


  #15  
Old January 25th, 2005, 12:11 AM
Ken Slovak
external usenet poster
 
Posts: n/a
Default



--
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'm sure glad you finally showed up.
I knew it wasn't a fax question.
--
Russ Valentine
[MVP-Outlook]


 




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 08: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 11:38 PM
Time performance Chart Bull Splat Charts and Charting 6 November 10th, 2003 03:16 PM


All times are GMT +1. The time now is 04:27 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.