Setting the current printer via code.

  • Thread starter Thread starter nate axtell
  • Start date Start date
N

nate axtell

I want to set the printer used by an IE instance(thread) programmatically.
I don't want to change the default printer however. What I want to see is
when the 'print dialog' opens the printer that I set programmatically is the
"grayed-in" (selected) printer for this instance of the IE window. So, I
need the setting to occur previous to the opening of the dialog. Does
anyone know how to do this, or what it may involve? I am working with ASP
pages, IE 5.5/6.x and am using VBscript and Javascript. Thanks for any
help,
Nate
 
Well, I would like to be able to use the Printer Template that windows
provides. Yet there are security issues with it changing local machine
properties. I dont need all the extra functionality of
www.htmlprinting.com. All I need is the basic feature of selecting a
printer for a job. Does anyone know how to write an ActiveX object to use
the basic PrintTemplate features that IE provides, other than having to buy
a third party activex control?
-Nate
 
Back
Top