Board index » delphi » Setting the Printer Margins, how?

Setting the Printer Margins, how?

Look at the windows api function GetDeviceCaps which give you info on
aspects of a device attached to the system. eg paper size, default
margins,orientation etc

Unfortunately, you would have to create your own routines to implement
page margins etc

In article <33FBB74A.5...@uni-koeln.de>, heike grabsch <h.grabsch@uni-
koeln.de> writes

Quote
>Hallo all,
>in D2, I want to print a form, but the the printout is ugly as the form
>is in the top left corner of the paper. How can I set the margins for the
>printer within the program?
>Johannes

Kind Regards
Claire
 

Re:Setting the Printer Margins, how?


Hallo all,
in D2, I want to print a form, but the the printout is ugly as the form
is in the top left corner of the paper. How can I set the margins for the
printer within the program?
Johannes

Other Threads