473,657 Members | 2,667 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

thin lines on printer (HTML)

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
2 1561
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
"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.javas cript, 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*****@agrico reunited.com>
comp.lang.javas cript FAQ - http://jibbering.com/faq
Jul 23 '05 #3

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

Similar topics

4
9698
by: Lizard King | last post by:
Hi. I have a computer running a third party software (POS). The thing is this application opens the printer port and I need to use another program while the first one is still running. Since the other app has the printer port windows shows an error (path/file access error). Is there a way that two applications can share the printer port?
2
2675
by: Richard Choate | last post by:
I'm writing an article and I need your informed opinions, so I ask you this: 1. Doesn't the web-enabled app generally run slower for one reason or another? 2. Isn't the fact that application graphics must be limited, just proof of #1, especially with low bandwidth situations? 3. Aren't the web-enabled apps really less feature rich because the developer has to emulate the controls of a thick/fat client app, and sometimes you just can't...
5
2018
by: Tom Berry | last post by:
We currently are trying our first transformation from VB6 to VB.Net. Of course, the Printer object is gone, but I'm having trouble finding the replacement syntax necessary to perform similar actions or set variables. We are interested in doing this inline (no pop-up dialog box). Specifically, where how would I replace the following properties/methods of the old Printer objects. Printer.NewPage Printer.TextHeight Printer.TextWidth
5
7115
by: Hank | last post by:
My Access 2000 code has been running for several years in our main plant. Now we need to install it, as a stand-along application, at remote sites, some of which are out of state. My problem is the printer destination for special reports such as stickers and mailing labels. The Mailing Label report is, of course, designed here for a specific printer (Mailing Label). At another site, the name could be completely different. Other than...
3
15024
by: giloosh99 | last post by:
Hello I have a report that needs to printed by a specific printer rather than the computers default printer? Is there a way to dynamically choose a specific printer to print a report through VBA code? I know that in the report's page setup you could choose a specific printer to print from in the page setup but that is not enough for my needs. I need to be able to dynamically choose a printer through code. Is there a way? Any help will...
3
2037
by: 99m | last post by:
Can anyone recommend to me a thin PHP framework? By thin, I mean that I don't want a massive amount of code, dependencies, or large learning curve. I'm also not thrilled about introducing XSLT into the project -- I'm not a fan of that. However, I'd like to use something that helps me abstract the application logic and presentation layer a little better. And if there's something that helps me display prettier HTML forms, or a seperate...
1
2358
by: groulder | last post by:
hi all, i have a problem with a network database that's used by a lot of people. people are finding, they will start the database, and if the mouse is moved over the print icon, the tooltip appears to show which printer it will print to as normal. this printer however is a printer that the user doesn't even have installed.
9
2626
by: cniharral | last post by:
Hi, I'm interested in printing out coloured lines of my application and I don't know what to use. Can anybody give me an idea?? Regards. Carlos Niharra López
0
1316
by: dutch | last post by:
Greetings. I'm attempting to print an existing html file to a network printer. I tried opening a socket connection using the printer ip and port. With this, I was able to print the file path/name on the printer, ala... my $socket = IO::Socket::INET->new(PeerAddr => $peerAddr, PeerPort => $peerPort, Proto => 'tcp', ...
0
8402
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8315
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8829
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8608
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7341
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4323
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2733
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1962
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1627
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.