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

Printing fine lines

I have to print some rectangular graphics. When drawing lines I can't
seem to make them very fine. Even if I set the pen width to say .1 the
width of the line is the same as if the pen width is 1.
Nov 21 '05 #1
2 891
>I have to print some rectangular graphics. When drawing lines I can't
seem to make them very fine. Even if I set the pen width to say .1 the
width of the line is the same as if the pen width is 1.


A pixel is the smallest possible element. You cannot draw anything smaller.
You need to decrease the printed size of your pixels, which means increasing
the resolution.
You can compare it to making a mosaic from tiles: to get finer detail you
have to use smaller tiles; covering the same area will mean using more of
those smaller tiles.

Andrew
Nov 21 '05 #2
Can you give me an example on how to increase the resolution?
Thanks.
Tosch
On Thu, 21 Apr 2005 08:58:18 +0100, "Andrew Morton"
<ak*@in-press.co.uk.invalid> wrote:
I have to print some rectangular graphics. When drawing lines I can't
seem to make them very fine. Even if I set the pen width to say .1 the
width of the line is the same as if the pen width is 1.


A pixel is the smallest possible element. You cannot draw anything smaller.
You need to decrease the printed size of your pixels, which means increasing
the resolution.
You can compare it to making a mosaic from tiles: to get finer detail you
have to use smaller tiles; covering the same area will mean using more of
those smaller tiles.

Andrew


Nov 21 '05 #3

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

Similar topics

5
by: Patrick De Ridder | last post by:
How can I turn what I want to print 90 degrees using the logic below? Please tell me the code with which to make the modification. Many thanks, Patrick. using System.ComponentModel; using...
10
by: Jeff B. | last post by:
Has anyone come across a decent algorithm for implementing word wrap features in .net printing? I have a small component that uses basic printing techniques (i.e. e.Graphics.DrawString in a...
0
by: Gregg | last post by:
Hi All, I have an app that I have written that reads a text file into a SQL database, and then uses that database to generate a variety of mailing labels. All of my laser label formats work just...
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...
2
by: tom thorp | last post by:
I'm currently working on my first complex VB.Net / Winforms application where I'm not using CR to print my Invoices, but have written using PrintDoc My problem is that on my dev machine,...
4
by: Rob T | last post by:
I have a small VB program that has a printing module...very simple....and works great. However, If I try to print to a generic printer, I get the following error: "The data area passed to a...
0
by: Jay | last post by:
Hi, I have this problem with DataGrid printing. I have a page which contains only DataGrid. When i try to print the page, only 1st page contains the verticle and horizontal lines of the grid....
1
by: mehdi | last post by:
Hi, Consider a printing scenario where I have to draw the entire page on a 827x1169 (.01 inch) size. Thereafter, the entire bitmap has to be resized to fill a given Bounds rectangle (keeping the...
2
by: daimler007 | last post by:
dear friends... how to stop the printer after printing the last line of a report insted of rolling to tha last line...? Suppose A4 size report is created but the data retrieved by the report...
0
it0ny
by: it0ny | last post by:
Hi guys, thanks I am fairly new to this forum so I hope I chose the right place to post this question. I try to make my program printout a deposit's report. I created a class to store the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
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...

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.