This may be a bit out of scope for this message board, but I may gain some insights from more experienced programmers on this topic as well as their experiences with the documentation. I'm basically trying to convert from the coordinate system that a printer driver deals with to a postscript point. Basically the printer driver declares its coordinate system and dimensions in:
(GDIINFO is documented in http://msdn.microsoft.com/en-us/library/ms798469.aspx)
- GDIINFO::ulHorzSize and GDIINFO::ulVertSize
- GDIINFO::ulHorzRes and GDIINFO::ulVertRes
- GDIINFO::ulLogPixels_ - dpi
- SIZEL structure
From what I understand, it appears that Microsoft Windows printer drivers intend to use dots as the dimensions. Are pixels and dots equivalent units (or am I even working with the right units from researching those documentations)? This would greatly help on the direction I should follow in the conversion.