Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. 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 Databases 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 July 30th, 2003, 01:50 AM
Registered User
 
Join Date: Jul 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Printing in Landscape using HTML and asp

Hi,

Is there a method in ASP or HTML by a which I can print in Landscape with out the user changing his printer setting to Landscape?


Hemalatha

Hemalatha
 
Old June 9th, 2004, 01:23 PM
Registered User
 
Join Date: Jun 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

the below will work to print in landscape

html>
<head>
<title>Landscape Printing</title>
<style type="text/css" media="print">
<!--
div.page {
writing-mode: tb-rl;
height: 80%;
margin: 10% 0%;
}
-->
</style>
</head>
<body>
<div class="page">
This is a test<br>
This is a test
</div>
</body>
</html>

good luck

anil

 
Old July 5th, 2007, 02:22 AM
Registered User
 
Join Date: Jul 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

try to take the print out using mozila firefox or other than IE.. :(




Thanks,
Tricker
 
Old December 19th, 2011, 11:57 PM
Registered User
 
Join Date: Dec 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am struggling to print a page in landscape. The reason behind to print in landscape was that, the table has many coulmns or anything else can be done besides printing in landscape?. Is there any statement in html to server the option of fit in page in printer settings automatically?

Even the print function is not producing total satisfactory output...
I am calling window.print on the onload event of the target page and then closing it. But it is opening then giving me an option to select the printer then closes automatically. But is it possible to print an other page without opening--> printing-->closing. I mean printer options to print an other page on click of a button.

Please help me to solve this issue! or suggest me an alternative method .





Similar Threads
Thread Thread Starter Forum Replies Last Post
CR XI Report printing in Landscape instead of Port jdaulagar Beginning VB 6 0 March 2nd, 2007 01:46 PM
Crystal Report Orientation = Landscape in asp agoz Classic ASP Professional 0 February 17th, 2006 04:15 AM
Printing an html document amc Dreamweaver (all versions) 1 May 31st, 2004 11:42 AM
printing color in html tables Fletcher HTML Code Clinic 2 August 18th, 2003 01:10 PM





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