how to get page alignment in tray?

how to get page alignment in tray?

Post by Mike » Fri, 18 Jan 2008 05:41:12


I need to get the feed alignment of the page in the printer tray
Some printers feed paper stock from the center of the tray, some from
the right and most from the left.
It used to be possible to just call DeviceCapabilities() and pass
DC_BINADJUST

The returned values were:

DCBA_FACEUPNONE
DCBA_FACEUPCENTER
DCBA_FACEUPLEFT
DCBA_FACEUPRIGHT
DCBA_FACEDOWNNONE
DCBA_FACEDOWNCENTER
DCBA_FACEDOWNLEFT
DCBA_FACEDOWNRIGHT

This is no longer supported.
How can I at least determine the alignment (left, right, center) on
Win 2000 or above?
Thanks!