Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / JScript / August 2003

Tip: Looking for answers? Try searching our database.

newbie question about JavaScript print function

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gay Alson - 22 Jul 2003 15:07 GMT
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 - 29 Jul 2003 17:13 GMT
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.

> If I'm in the wrong newsgroup, I apologize and would appreciate a suggestion
> where I might find my answer.
[quoted text clipped - 11 lines]
> Thanks in advance for any help,
> Gay Alson
V.B. de Haan - 09 Aug 2003 08:51 GMT
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

> If I'm in the wrong newsgroup, I apologize and would appreciate a suggestion
> where I might find my answer.
[quoted text clipped - 11 lines]
> Thanks in advance for any help,
> Gay Alson

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.