hello all
how to know the size of paper through code
if I have set the printer printing preference (via windows control panel)
( for instance I have set to A4,landscape)

thank you
denny

Please read here about the System.Drawing.Printing.PrinterSettings class.

Hope this helps

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.