473,385 Members | 1,555 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,385 software developers and data experts.

printing to pre-printed page.

Hi all,
i have an ASP.Net page where the user will enters his information and when
he hits on submit ,it prints on an pre-printed page ( like a bill of sale or
any other application forms)
Now my problem is this pre-printer page already has fieldnames name init ,
all it is expecting are the values that the user typed in the above mentioned
form. Also these values should go right in where the values are expected(
next to the field names) in the pre printed page. Any suggestion of how this
can be done also considering the problem that printout from internet print
the url as well either at the top or the bottom( which is something that i
dont want)
thanks
Nov 19 '05 #1
1 1298
sameer wrote:
Now my problem is this pre-printer page already has fieldnames name
init , all it is expecting are the values that the user typed in the
above mentioned form. Also these values should go right in where the
values are expected( next to the field names) in the pre printed
page. Any suggestion of how this can be done
One thing you might want to investigate is the use of the 'media' keyword in
stylesheet definitions. Using 'media="print"' it's possible to overwrite
elements of your normal display stylesheet when printing. You could for
example use this to hide all of the labels (by giving them a class whose
contents is hidden in the print stylesheet) while leaving your field values
to print normally.
also considering the
problem that printout from internet print the url as well either at
the top or the bottom( which is something that i dont want)


This is a client browser issue and not something you will be able to control
from your web application.

Even if you have access to the client machine it's still not easy to do
anything about it. To automatically remove these elements (in IE) you need
to change some registry values (remembering to restore them back to their
original values after you're done). I've not investigated how you'd do this
in Firefox or any other browsers.

--

(O)enone

Nov 19 '05 #2

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

Similar topics

3
by: Steve Johnson | last post by:
Been banging my head on this for two days now. Hope someone can help! My test program below is in the form of a single JSP, with a Node class build in. (All the coded needed to run is below.) ...
0
by: tertius | last post by:
Hi, I need advice on printing from python. The reports are simple text-based pre-formatted HTML files that must be send to a printer. I was hoping that there is a way to print the report making...
4
by: Fabian | last post by:
I have a three tier nested array, used to define a map for a javascript game, and can be edited within the web page. Is there a way I can generate a visible copy of this array that I can then c&p...
7
by: Alan Illeman | last post by:
How do I set several different properties for PRE in a CSS stylesheet, rather than resorting to this: <BODY> <PRE STYLE="font-family:monospace; font-size:0.95em; width:40%; border:red 2px...
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...
1
by: | last post by:
Could you be more precise? Do you want to print a pre- defined text or random text? Do you want the user to select it, or look it up in the regional settings of windows? >-----Original...
1
by: Rhino | last post by:
I have a working knowledge of CSS but I've been away from it for a while so I'd really appreciate it if someone could get me started with a problem I'm having. I have a wiki which displays just...
5
by: Lloyd Dupont | last post by:
In my (C#) code I have some painting methods using Interop and GDI (win32). Unfortunately, as you might know, you have to apply some transformation to your space and fonts if you want to achieve...
1
by: Simon Verona | last post by:
I have the requirement for address label printing within my software. I have a name and address list in a ado.net in-memory dataset - I'd like a pre-built software library which will display a...
8
by: MuzicK622 | last post by:
I have a command button on a form that I want to use to print one or two of four letters (reports) based on the criteria tied to the persons account. Right now my statement is this: Private Sub...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.