468,512 Members | 1,504 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,512 developers. It's quick & easy.

Direct printing using non-default printer (IE only)

Hello,

I realise this is not a pure Javascript question, and that VBscript is
probably involved at some point, though not as much as I fear. If you
opened this item looking for a pute Javascript question, I'm sorry.

For an IE6 intranet application I'm running into some problems
regarding printing screens from the browser. The specs dictate these
requirements:

1. Print dialog should not be shown (depending on type of screen).
2. Default Internet Explorer 6 headers and footers to be turned off or
content changed.
3. Direct printing to both default printer and non-default printer
(latter to be identified by name).

The site can be placed in the 'trusted sites' zone. I do have some
influence over the client PC as well, as it's all running within an
internal enviroment.

Using the WebControl ActiveX, I've achieved the first requirement, but
I can't seem to be able to control the variables for items 2 and 3.
Apart from Javascript, I used to work with Java a lot, but I'm not
much of a VB(S)/WSH programmer. So preferably I'd use javascript, at
least as a wrapper for the ActiveX methods.

Any tips?

Regards,
Gerb
Jul 23 '05 #1
2 12129
"gerb"
<g_*****@na.het.apestaartje.alle.tekst.verwijderen .tot.aan.hotmail.com>
wrote in message news:09********************************@4ax.com...
Hello,

I realise this is not a pure Javascript question, and that VBscript is
probably involved at some point, though not as much as I fear. If you
opened this item looking for a pute Javascript question, I'm sorry.

For an IE6 intranet application I'm running into some problems
regarding printing screens from the browser. The specs dictate these
requirements:

1. Print dialog should not be shown (depending on type of screen).
2. Default Internet Explorer 6 headers and footers to be turned off or
content changed.
3. Direct printing to both default printer and non-default printer
(latter to be identified by name).

The site can be placed in the 'trusted sites' zone. I do have some
influence over the client PC as well, as it's all running within an
internal enviroment.

Using the WebControl ActiveX, I've achieved the first requirement, but
I can't seem to be able to control the variables for items 2 and 3.
Apart from Javascript, I used to work with Java a lot, but I'm not
much of a VB(S)/WSH programmer. So preferably I'd use javascript, at
least as a wrapper for the ActiveX methods.

Any tips?

Regards,
Gerb


Can you use a third-party control?

http://www.meadroid.com/scriptx/

Absolute control over document printing operations from client and server
computers running Microsoft's Internet Explorer browser.

Support for all versions of Internet Explorer from IE 4.01 SP1 to IE 6.0 SP2
on Microsoft operating systems from Windows 95 to Windows XP SP2.

Enables the secure application of custom Print Templates to browser-based
content in IE 5.5 and above.

An estimated millions of hits are made each working day on ScriptX-enabled
documents.

A near-100% record of successful deployment.

A basic subset of ScriptX printing functionality is available at no charge.

Global deployment costs start at $1 per day regardless of user numbers.

Acknowledged as the de facto web-technology printing utility.

Download the current version of ScriptX here.
Jul 23 '05 #2
Other (similar) option is www.htmlprinting.com

gerb wrote:
Hello,

I realise this is not a pure Javascript question, and that VBscript is probably involved at some point, though not as much as I fear. If you
opened this item looking for a pute Javascript question, I'm sorry.

For an IE6 intranet application I'm running into some problems
regarding printing screens from the browser. The specs dictate these
requirements:

1. Print dialog should not be shown (depending on type of screen).
2. Default Internet Explorer 6 headers and footers to be turned off or content changed.
3. Direct printing to both default printer and non-default printer
(latter to be identified by name).

The site can be placed in the 'trusted sites' zone. I do have some
influence over the client PC as well, as it's all running within an
internal enviroment.

Using the WebControl ActiveX, I've achieved the first requirement, but I can't seem to be able to control the variables for items 2 and 3.
Apart from Javascript, I used to work with Java a lot, but I'm not
much of a VB(S)/WSH programmer. So preferably I'd use javascript, at
least as a wrapper for the ActiveX methods.

Any tips?

Regards,
Gerb


Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Marc Champagne | last post: by
1 post views Thread by notregister | last post: by
6 posts views Thread by =?Utf-8?B?QnJhc3NpY2FOaWdyYQ==?= | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.