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

thin lines on printer (HTML)

P: n/a
Anyone know how I can get a printer to print thin lines using html print? 1
pixel is the least on screen, but that shows up as 4points or something like
that on a laser. I would like to have that 1pixel to show up as thinner
lines when printing to a printer. Is this possible? Other programs seem to
have little problem with this...
Thanks for any help!

iv**@tda.no
Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Strange how everybody else's questions are answered and how I never seem to
get answers to my questions. They're probably to silly to be taken seriously
I recon.
In the meantime I have found the answer myself. VML. Easy, free of charge
and really straight forward.

IV**@tda.no

"Iver Erling Årva" <iv**@tda.no> skrev i melding
news:42********@news.broadpark.no...
Anyone know how I can get a printer to print thin lines using html print?
1 pixel is the least on screen, but that shows up as 4points or something
like that on a laser. I would like to have that 1pixel to show up as
thinner lines when printing to a printer. Is this possible? Other programs
seem to have little problem with this...
Thanks for any help!

iv**@tda.no

Jul 23 '05 #2

P: n/a
"Iver Erling Årva" <iv**@tda.no> wrote in message
news:42********@news.broadpark.no...
Strange how everybody else's questions are answered and how I never
seem to get answers to my questions. They're probably to silly to be
taken seriously I recon.
In the meantime I have found the answer myself. VML. Easy, free of
charge and really straight forward.

IV**@tda.no

"Iver Erling Årva" <iv**@tda.no> skrev i melding
news:42********@news.broadpark.no...
Anyone know how I can get a printer to print thin lines using html
print? 1 pixel is the least on screen, but that shows up as 4points
or something like that on a laser. I would like to have that 1pixel
to show up as thinner lines when printing to a printer. Is this
possible? Other programs seem to have little problem with this...
Thanks for any help!


Perhaps you received no answer because how a user agent prints a page
depends on the user agent, on the operating system and on the printer
driver, 3 things we can't know in your environment. The question is also
off-topic for comp.lang.javascript, since there is little that could be
done in JavaScript to change the width of "a line" (where and how these
lines appeared was never described) - and almost anything that could be
done in JavaScript to control the width of "a line" could also be done
using CSS.

Example using table borders for your definition of "a line":

<style type="text/css">
table.x, table.x td {
border: 1px solid Black;
}
@media print {
table.x, table.x td {
border-collapse: collapse;
}
}
</style>
<table cellpadding="2" cellspacing="0" class="x">
<tr><td>TEST</td></tr>
</table>

--
Grant Wagner <gw*****@agricoreunited.com>
comp.lang.javascript FAQ - http://jibbering.com/faq
Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.