Wrox Programmer Forums
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old August 28th, 2003, 07:01 AM
Registered User
Join Date: Aug 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to magesh_bala
Default To send reports direct to the printer

Its a challenge for me to do. Im at a beginner stage and i searched in all my ASP basics, but I could not able to find a solution rather Idea to send my reports with headers and page total, directly to printer using ASP. It wont be smart if I show with page break while viewing the report using Browsers. I succeeded in displaying the report in Browser.

Help me out from this challenging piece.

Thanks in Advance

With love,
Old September 3rd, 2003, 09:22 AM
Friend of Wrox
Join Date: Jun 2003
Posts: 217
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to mega

You probably need to use some client-side scripts for that.

Examing the window.print() function, may help you.

Check this out: http://www.asp101.com/resources/visitors/index.asp#worddoccreator

Regards - Jon
Old September 4th, 2003, 04:00 PM
Registered User
Join Date: Sep 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts

you could use style sheets - different one for screen and print display -
<link href="style_sheets/table_01.css" rel="stylesheet" type="text/css" media="screen">
<link href="style_sheets/print_table_01.css" rel="stylesheet" type="text/css" media="print">

in the print media ones change\create style with a page break after property set

Similar Threads
Thread Thread Starter Forum Replies Last Post
get Direct reports - Active directory anurag_ur .NET Framework 1.x 3 October 3rd, 2011 05:20 AM
get Direct reports - Active directory anurag_ur ASP.NET 1.x and 2.0 Application Design 2 January 17th, 2006 02:49 AM
get Direct reports - Active directory anurag_ur ASP.NET 1.0 and 1.1 Basics 1 January 16th, 2006 02:03 PM
get Direct reports - Active directory anurag_ur C# 0 January 16th, 2006 09:29 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.