473,399 Members | 4,177 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,399 software developers and data experts.

printing web forms

sql
Hi all,
I use javascript's Print function to print my web page. But the web page
contains multiline text boxes. The print function only prints the visible
portion of the multiline textboxes. How can I print the web page with all
contents of the multiline textboxes?

Thanks in advance.
Nov 17 '05 #1
2 3836
You can't. You have to create a 'printer friendly' page that displays
everything, have your users navigate to that, and print from there.

"sql" <do*******@nospaml.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi all,
I use javascript's Print function to print my web page. But the web page
contains multiline text boxes. The print function only prints the visible
portion of the multiline textboxes. How can I print the web page with all
contents of the multiline textboxes?

Thanks in advance.

Nov 17 '05 #2
You can specify the portion of the page you'd like to print by using CSS.
Using some hidden page sections, you might be able to pull this off without
requiring a special printer-friendly page.

Here are all the details:
http://www.alistapart.com/articles/goingtoprint/

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"sql" <do*******@nospaml.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi all,
I use javascript's Print function to print my web page. But the web page
contains multiline text boxes. The print function only prints the visible
portion of the multiline textboxes. How can I print the web page with all
contents of the multiline textboxes?

Thanks in advance.

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Jody Gelowitz | last post by:
I am trying to find the definition of "Safe Printing" and cannot find out exactly what this entitles. The reason is that I am trying to print contents from a single textbox to no avail using the...
2
by: Marcin Zmyslowski | last post by:
Hello all! Are there any special tools or ways in ASP to print a filled form? I used to use MS Access 97 and there were reports special created for printing forms. Thanx for posts Marcin...
1
by: tremor | last post by:
I'd like to print a form based on the filters currently applied to it (these are again based on selections in combo-boxes). The form has multiple subforms, and as I try to print it, it prints all...
1
by: EggHead | last post by:
Hi all, I have a form that has a panel. Inside the panel is a bunch of objects - picturebox, panel and so on. I want to be able to print what is in the panel to a printer. I can not use the...
8
by: Rick Lederman | last post by:
I am using a PrintDocument and PrintDialog to print. The first time that I print it works, but when I try to print a second time without exiting the entire program I get an...
0
by: Chetana | last post by:
I have created a report in windows application using c#.net. This report takes runtime columns and values and it is quite big. So the form has both horizontal and vertical scrollbars. All the help...
1
by: paquer | last post by:
I have forms that are used in the office as well as in the field. I want user's to be able to print out an exact copy of the form for "in the field" data entry. (Yes we are still stuck in the 90's....
1
by: tmh86 | last post by:
I am currently building a database within Access 2007. I have a form that is populated via vba coding and thereform is not stored in a specific table. I have created a button that essentially runs...
2
by: =?Utf-8?B?Umlja1NlYW4=?= | last post by:
I have a long form within a panel which exceeds the maximum height of 876. I use the following code to print the form but it prints only the portion of the form that is displayed on the screen (max...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.