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. |
|
|
|
Thread Tools | Display Modes |
#11
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
-- 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 | |
|
|
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 |