Re: Printer defaults
- From: "Sheng Jiang[MVP]" <sheng_jiang@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 26 Mar 2008 11:52:20 -0600
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,into
they have given us permissions). Here is the sscenario -- if a user goes
Print... and changes their printer away from the default, and prints apage,
then that printer is now the printer IE will print on from then on, andany
Preferences... they may have set also apply. So we are no longer on thecopies,
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,
and others -- there is not even a way to determine their current PrinterName
in this scenario. I would think there should be and I would think thatthis
has nothing to really do with "sandboxing".consent to
"Sheng Jiang[MVP]" wrote:
I don't expect this to be available anytime soon. Have the user's
permissionrun your ActiveX outside the security sand box.
Once you have your code running in an ActiveX, you have the same
suchthe 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,
theas
Javascript, or from an ActiveX control, is there a way to determine
ASP.NET ordefault printer name and any information about the browser's defaultprinter
(such as its DEVMODE settings, bins, paper size, default orientation,etc.)?
With IE, can this type of information be determined from within
therevia AJAX in VS 2008?
We have asked this question before in early IE7, and at that time,
available inwas
no way. Has this changed in later releases of IE7? Will it be
IE8 in some form?
.
- References:
- Re: Printer defaults
- From: Sheng Jiang[MVP]
- Re: Printer defaults
- Prev by Date: Re: Printer defaults
- Next by Date: Re: Popup -> javascript resizeTo -> any webbrowser resize event?
- Previous by thread: Re: Printer defaults
- Index(es):
Relevant Pages
|
|