Groups | Blog | Home
all groups > dotnet jscript > july 2003 >

dotnet jscript : newbie question about JavaScript print function


Gay Alson
7/22/2003 10:07:13 AM
If I'm in the wrong newsgroup, I apologize and would appreciate a suggestion
where I might find my answer.

I want to use javascript for a single routine that (1) defines a range of
pages to be printed, then (2) sends the Print command, bypassing the printer
driver
software. Is this possible?

I am a tech writer, not a programmer, so my experience in this is limited.
We do use .js files in our html help and some odd lines of jscript here and
there, but I need some hand-holding if anyone has the time and
inclination...

Thanks in advance for any help,
Gay Alson


Daniel Bass
7/29/2003 5:13:19 PM
as far as i know javascript is a high level scripting language interfacing
through your internet browser, IE. it prints the way your browser does. I
maybe wrong but believe what your asking is not possible.


[quoted text, click to view]

V.B. de Haan
8/9/2003 9:51:53 AM
You can do this like this:

<html>
<head><title>Example page</title></head>
<body onLoad="document.print()">
HTML-content
</body>
</html>

But it's quite easier to click file>>print...>>ok




[quoted text, click to view]

AddThis Social Bookmark Button