473,412 Members | 2,069 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,412 software developers and data experts.

Printing question - Confusing.

Okay I am at the bottom stretch of my script for story tracking.

I have resolved ( with help) the fomating problem when recalling text back
from a database using nl2br().

I have it displayed on the screen doublespaced and 12 pt text like most
writing format is supposed to be, so it looks fine on teh screen.

my problem now lies in when I use Print option of my beowawe to print the
page - if comes out as single spaced tiny font. not good.

Is there a rountine that sends formated output to a printer?

Thanks for any responces.

Polar :)

Jul 17 '05 #1
1 1168
Polar wrote:
my problem now lies in when I use Print option of my beowawe to print the
page - if comes out as single spaced tiny font. not good.

Is there a rountine that sends formated output to a printer?


You really can't control the printer.
<OffTopic probably_belongs_to="comp.infosystems.www.authorin g.html">

You might want to check Cascading Style Sheets

http://www.w3.org/TR/CSS21/

Look at Chapter 7: Media types
I use this to not print "interactive" elements -- works ok in MSIE;
FireFox doesn't like it :( -- so I only use it for the intranet (where I
know everybody is using IE)

<html>
<head>
<title>test</title>
<style type="text/css">
@media print {
.interactive {display: none;}
}
@media screen {
.interactive {display: block;}
}
</style>
</head>
<body>
<p>bla bla bla</p>
<span class="interactive">
<form action="" method="post">
<input type="text"/><input type="submit"/>
</form>
</span>
<p>bla bla bla</p>
</body>
</html>

</OffTopic>

--
USENET would be a better place if everybody read: | to email me: use |
http://www.catb.org/~esr/faqs/smart-questions.html | my name in "To:" |
http://www.netmeister.org/news/learn2quote2.html | header, textonly |
http://www.expita.com/nomime.html | no attachments. |
Jul 17 '05 #2

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

Similar topics

11
by: | last post by:
Hey there, I want to print some dots in a single-line while my program loads or does something. I tried with he following but it didn't work :(. while 1: print '.', Prints line of dots...
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...
0
by: JF Turcotte | last post by:
Hi I'm unsuccessfully trying to print a form's image under VB.NET. To print under .NET is a real pain in the , I find it to be complex, lenghty, confusing, upsetting and ultimately not to be...
14
by: Steven T. Hatton | last post by:
I'm trying to write a program like hexel. I guess I could fish out the source for hexel and look at that, but for now I'm trying to figure out how I can do with with std::stringstream and...
4
by: Russ | last post by:
To ASP.NET printing experts: My Asp.net web form needs to print some reports at the client side. I've been trying to research this and find some confusing and conflicting information in previous...
4
by: Grahammer | last post by:
This is a stupid question, but the examples I've seen don't make sense to me... I simply want to print the contents of a textbox to a printer when the user clicks a button on my form. Printing...
6
by: Siv | last post by:
Hi, I am getting into printing with VB.NET 2005 and want to implement the usual capability that a user can select a selection of pages. I have a report that is generated by my application that if...
6
by: Chris Dunaway | last post by:
The method for printing documents in .Net can be confusing, especially for newer users. I would like to create a way to simplify this process. My idea would be implemented using a PrintDocument...
0
by: foocc | last post by:
Hi, how should modify this vb6 code to .net? Ive read through some articles and websites regarding printing in vb.net, but im cant seems to understand them and its confusing me. Private Sub...
3
by: William Chang | last post by:
Is the different behavior between __repr__ and __str__ intentional when it comes to printing lists? Basically I want to print out a list with elements of my own class, but when I overwrite __str__,...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.