Quantcast
Channel: Crystal Reports
Viewing all articles
Browse latest Browse all 1507

How to set printer pageSize dynamically when export RDLC to PDF?

$
0
0
<div>Hi,</div> <div>I've some RDLC's which are of different pageSizes like  Letter, A4, some custom sizes also.</div> <div> For printing these RDLC reports, I convert them to PDF and from PDF, I print them.</div> <div> </div> <div>1. How can I set printer orientation& pageSize automatically based on PDF size when printed from PDF?</div> <div>Ex: if PDF is of A4, then orientation is portrait and pagesize is A4.</div> <div>if PDF is 6X4, then orientation is landscape and pagesize is whichever comes nearer to the PDF size.</div><div> </div> <div>2. Is there any way to print them directly? When I click print button on my page, directly print preview comes.</div>

Viewing all articles
Browse latest Browse all 1507

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>