OK last place I will post this, I have it in several other forums too, but this forum was a suggested place to get help.
I am running WinXP SP3 w/IE 7 (with IE 7 Pro). I am looking for a way to add a customized button to the IE 7 toolbar. What I want to do is deploy a button that will print the current window (that is, the currently displayed web page) using a specific non-default printer, IOW without me having to select the printer to be used if it is not the default printer. To be more specific, I want to print the window using an installed PDF virtual printer when I so desire without having to actually select that printer from the list of installed printers using the print dialog window opened by selecting the Print.... button.
I have an idea how to do this, but I would like to know if there is a preferred or easy way to do this, and specifically what kind of script or command I would have to use for the button action (I can do this in VB 6, VS2008, or even Javascript if that would work, or whatever). All I want it to do is to operate like the normal Print... button on the toolbar, the one that drops down a selection for Print.., Print Preview.., or Page Setup, but I want it to just open the Print options dialog with the PDF Driver already selected as the printer to be used.
I can easily add the button with no particular difficulty, you do not even need programming, just a graphic for the icon and a script or batch file or such to do the action itself. You can see how by looking here:
http://windowsdevcenter.com/pub/a/wi...e_buttons.html
I have a suitable icon graphic already, so really all I need is a script to open the print dialog for printing the current page using the PDF printer. That is actually the thing I am searching for. I may look in the Windows Scripting center at MSDN to see if I can find something for that.
I want this because what I am trying to do is essentially make my own "Save this webpage as a PDF file" button, so that I can just click the button and the current web page will be "printed" (saved) as a PDF file rather than actually printed as hardcopy. IOW it will function like the Adobe PDF web capture button does for those who use Acrobat (which I do not use, I run NitroPDF Pro instead).
So if I can just find a script for opening the Print dialog with PDF printer as the selected printer and "current page" as the default selection of what to print, I'll be happy.
--
Pete B