On Sep 30, 2005, at 10:29 AM, Robert Fang wrote:
The PPD for the Stylewriter2400 has a built-in set of margins
(half-inch
all-around). The printout on the Mac starts printing at slightly over
the
one-inch mark from the paper's edge.
And your code has the leftmost character drawn at X = 0?
You are probably already doing this, but you can check what Rb thinks
about the printer by instantiating PrinterSetUp and checking values:
dim p as PrinterSetUp
p = new PrinterSetUp
LeftEdgeOfPrintableArea = p.PageLeft
TopEdgeOfPrintableArea = p.PageTop
These establish the upper left corner (0,0) of the printable area as Rb
sees it.
The debugger shows the left margin at
36 Points (half an inch), and the printer graphics object does in fact
start
drawing at the coordinate (0,0).
I see. So p.PageLeft = -36? And your drawing code is something like:
g.DrawString Something, 0, 0?
Hmmm...
Jack
I'm not sure. The printable area(PageLeft, PageTop) varies with=20
printers, on the Mac at least. So that might explain your results=20
involving Mac printing between the NEC and the Stylewriter. In the
case=20=
of Mac and PC printing to the same printer, there is the issue of
the=20
system margin setting available on the PC. When you say "a left
margin=20=
twice the size defined" do you mean twice that of the Windows user=20
margin settings or twice the size expected from your coded margins?
Best,
Jack=
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|