Re:How to get/set margins of a printer?
Quote
"lsoft" <ls...@ax.hu> wrote in message
news:85ut8k$d1j2@bornews.borland.com...
Quote
> Is it possible to get and set paper margins (left,right,top,bottom) of a
> printer? If yes, how?
You can "get" the values for the physical printer margins, but I don't think
you can set them. You can establish your own "logical" margins inside
the physical margins using program logic.
You might search for "Margin" or "GetDeviceCaps" at
http://www.efg2.com/Lab/Library/Delphi/Printing
Also, Printer Demo #1 might help you:
http://www.efg2.com/Lab/OtherProjects/PrinterDemo1.htm
--
efg
Earl F. Glynn E-Mail: EarlGl...@att.net
Overland Park, KS USA
efg's Computer Lab: http://www.efg2.com/Lab