By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,850 Members | 972 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,850 IT Pros & Developers. It's quick & easy.

Different printing settings

P: n/a
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.
Nov 23 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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

*** Sent via Developersdex http://www.developersdex.com ***
Nov 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.