Different printing settings

G

Guest

Hi,

I've created a form that prints a document which i created (with the
printDocument class), I draw the page's lines and text. when i'm printing it
on my computer, with my printer, the printing is ok, the page boundes are ok.
but when i take my project *.exe file to a computer which have only .NET
framework (and don't have visual studio), the printing bounds are different.
The OS is same on both computers, the printers are different.
does the exe file is enough, or should i add a *.dll files?
how can i make my printing universal, so if tommorow i'll put it on another
computer, with different printer I won't have the same problems?

Thanks,
Gidi.
 
J

Jeff Louie

Gidi... Are you aware of the MarginBounds property as in:

private void menuItemPrint_Click(object sender
, System.EventArgs e)
{
e.HasMorePages= printEngine.PrintPage(document,
e.Graphics,
e.MarginBounds,
false);
}
Regards,
Jeff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top