Sorry Joe, I am getting confused. In my previous programming
environment, (Future Basic) I could print hairlines on my 300 dpi laser
printer and 1200 dpi ink jet printer with no special attention to
physical printer configurations. In RB, the finest line that I can
print is defined as g.penWidth = 1 and g.penHeight = 1. This results
in a line width of 1/72 inch on both the above printers. I think I need
to send a software instruction to the printer so that it will know that
g.penHeight sets printer pixels and not screen pixels. Is this correct?
If so where can I find the appropriate code?
Thanks
Barrie
On Nov 29, 2004, at 4:40 PM, Joseph J. Strout wrote:
At 4:32 PM -0500 11/29/04, Barrie Jones wrote:
Is it really that simple? I must be missing something because
g.Drawline ..... draws a line that is defined by g.penWidth and
g.penHeight.
Right.
Since the smallest setting is 1 (pixel), the line drawn is not a
hairline.
Sure it is, if your pixels are a hair's width.
The printer is set at 600 dpi.
If it's properly set to that, then a 1-pixel line is 1/600th of an
inch thick. That's going to be too small to easily see; you'd
probably want to set the pen size to 2 or more even for a hairline, at
that resolution.
But I suspect that your printer resolution isn't really 600, and
that's why you're not getting hair-thin lines.
Best,
- Joe
--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|