Click here to Skip to main content
15,885,941 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to print a form in C#. I made a form with A4 paper size but after print, printed page have margins and it's not that I want.I used print form controller in Visual Basic Power Packs. How I can fix printer setting?
Posted

1 solution

Don't use the VB power packs for printing - use the PrintDocument [^]instead. That way, the printed result does not need to contain any UI components, it can just be the information you need to print, and you can fit it to the page any way you want. It will also look better, because the output will be printer resolution, rather than UI resolution.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900