thin lines on printer (HTML)

I

Iver Erling Årva

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!

(e-mail address removed)
 
I

Iver Erling Årva

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.

(e-mail address removed)
 
G

Grant Wagner

Iver Erling Årva said:
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.

(e-mail address removed)

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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top