Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - User-customized toolbar button for IE

Reply
 
Old 09-12-2009   #1 (permalink)
Pete B


 
 

User-customized toolbar button for IE

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

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
How get New Contact button on toolbar Vista mail
Desktop customized for each user Vista General
Toolbar Won't Stay Customized Vista mail
Toolbar button in IE Vista General
Customized toolbar is not permanent Vista mail


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46