Re: Printer defaults



see http://support.microsoft.com/kb/167345 for retrieving printer settings.
If the setting is different from what you have in IE, check
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\PageSetup

--
Sheng Jiang
Microsoft MVP in VC++
"Bezell" <Bezell@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:15000940-9115-442D-A074-73D021FF2C84@xxxxxxxxxxxxxxxx
The question goes beyond ActiveX (by the way, if we do this with ActiveX,
they have given us permissions). Here is the sscenario -- if a user goes
into
Print... and changes their printer away from the default, and prints a
page,
then that printer is now the printer IE will print on from then on, and
any
Preferences... they may have set also apply. So we are no longer on the
default printer with default settings.

We need a way to determine, from script or activex or web control, or ...
what their current printer defaults are, including paper size, bin,
copies,
and others -- there is not even a way to determine their current Printer
Name
in this scenario. I would think there should be and I would think that
this
has nothing to really do with "sandboxing".



"Sheng Jiang[MVP]" wrote:

I don't expect this to be available anytime soon. Have the user's
consent to
run your ActiveX outside the security sand box.
Once you have your code running in an ActiveX, you have the same
permission
the current user has (That is, if the user is not running IE in the
protected mode) .
--
Sheng Jiang
Microsoft MVP in VC++
"Bezell" <Bezell@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:67436C01-62B0-4921-A8DD-04513DF21EBB@xxxxxxxxxxxxxxxx
When working with the web browser control, or from a script language,
such
as
Javascript, or from an ActiveX control, is there a way to determine
the
default printer name and any information about the browser's default
printer
(such as its DEVMODE settings, bins, paper size, default orientation,
etc.)?

With IE, can this type of information be determined from within
ASP.NET or
via AJAX in VS 2008?

We have asked this question before in early IE7, and at that time,
there
was
no way. Has this changed in later releases of IE7? Will it be
available in
IE8 in some form?






.



Relevant Pages

  • Re: page errors
    ... i've alway had my settings for internet and intranet set at ... Try temporarily disabling your firewall to see if HTTPS then works ... You may have other software installed that is blocking ActiveX content. ... > Disable the McAfee ActiveX controls Applet filters in the Internet Filter ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • RE: Active X error attempting to connect to RDP through RWW
    ... message about IE not allowing the installation of Activex and shows a problem ... Remote Web Workplace requires the Microsoft Remote Desktop ActiveX control. ... Your browser's security settings may be preventing you from downloading the ... Please note that you need to be a local admin to install Active X controls. ...
    (microsoft.public.windows.server.sbs)
  • Re: ActiveX controls
    ... Active x Errors and Settings ... You may have other software installed that is blocking ActiveX content. ... so certain ActiveX controls will not run, and you've hit one of those ... "Your current security settings prohibit running Active X controls on this ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • RE: BackWeb Warning
    ... > channel's security settings adn has been stped ... To help stop unauthorized downloads via your activex controls change your ... Kerio Personal Firewall ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Datasheet View Not Working with Office 2003 Pro/IE6
    ... Check your IE settings, Tools, Internet Options, Security, Custom Level ... A datasheet component compatible with Windows ... > ActiveX controls, or support for ActiveX controls is disabled. ...
    (microsoft.public.sharepoint.portalserver)