473,388 Members | 1,207 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

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 12446
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Marc Champagne | last post by:
Hi folks, I wish to print on pre-printed continuous forms on a dot matrix printer. My initial intent was to access to printer directly (in raw mode, somehow) in order to send whatever is...
0
by: yulyos | last post by:
Hi, printing to the printer with vb.net from right to left how do i print to the printer from right to left with vb.net example in vb6: Printer.RightToLeft = True
1
by: notregister | last post by:
does anyone know how to do broadcast printing using vb.net? or do u know of any other resources that do so ? thanks...
3
by: Srinu | last post by:
How do i hide status bar in firefox using java script only Plz help me iam new to this group.
0
by: Sandipan | last post by:
hi...im new to asp.net. i ve to do a project where the i ve to perform client side printing using asp.net. moreover i cant use the windows.print() function for this as per the requirement of the...
6
by: =?Utf-8?B?QnJhc3NpY2FOaWdyYQ==?= | last post by:
Greetings, I have a web application that prints a form using PrintDocument on the server. Currently it is set up to print to the default printer (on the server). My users would like to be...
3
by: RajeshNamal | last post by:
Developing asp.net/C# web site, When I testing in my PC Crystal report Direct printing .but when i was Host in my web server it doesn't work. when i preview in crystal report viewer and Print...
17
by: msmjsuarez | last post by:
Hello, I need help... How to automatically insert data to mysql database without submit button using php? Is there a way on this? thanks a lot.
2
by: msmjsuarez | last post by:
Hello. Is it possible to insert data to two tables at one time using one form only? I'm using php and mysql. Thanks advance.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.