By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,830 Members | 2,271 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,830 IT Pros & Developers. It's quick & easy.

Printing question - Confusing.

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.