Hi
Looking at the example, the DrawVectorImage() procedure will resize the image to the size specified. So could you first run the same programme but use debug to see what size the image is to be on each platform? Windows reports a setting for DPI on a printer and MAC appears to report the actual DPI so some error can creep in.
Debug VectorOutputWidth() etc and compare on each platform?
A second thing is that the code uses the default for StartVectorDrawing(PrinterVectorOutput()) which displays the image in points. Can you try this with mm?
Code: Select all
StartVectorDrawing(PrinterVectorOutput(#PB_Unit_Millimeter))
MovePathCursor(10, 10) ;Move cursor to 10mm from left and 10mm from top
DrawVectorImage(ImageID(0), 255,100,15) ;draw image 100mm wide and 15mm high
StopVectorDrawing()
Both should then print the same as you are giving definate sizes for DrawVectorImage to use.
Please let me know how you get on.
__________________________________________________
Code tags added
21.12.2015
RSBasic
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.