Sam/Jeff
I am on a Mac.
The printer dpi is being reported as 72 dpi. I am attempting to print the graphic one to one on the printer graphic. The code that I am using is as follows:
if iHeaderGraphic <> nil then
select case iHeaderGraphicOrient
case orLeft
iHeaderArea.DrawPicture(iHeaderGraphic, 0, 0, iHeaderGraphic.Width, iHeaderGraphic.Height, 0, 0, iHeaderGraphic.Width, iHeaderGraphic.Height)
case orRight
iHeaderArea.DrawPicture(iHeaderGraphic, iHeaderArea.Width - iHeaderGraphic.Width, 0, iHeaderGraphic.Width, iHeaderGraphic.Height, 0, 0, iHeaderGraphic.Width, iHeaderGraphic.Height)
end Select
end if
iHeaderGraphic is the picture that I want to print, loaded from disk and is reporting under the debugger to be 400X100.
iHeaderArea is the section of the open printer graphic that I have .Clip to be the top area of my page graphic.
I have set two constants, orLeft and orRight, that designate where the graphic should be printed (left or right side of the area graphic).
My code above seems to emulate Jeff’s suggestion of:
g.drawpicture mypicture,0,0,400,100,0,0,400,100
but…
Hence my original post. The graphic is being printed larger than I expected which causes it to be fuzzy.
Any further ideas?