c# - How do I find PageImagableArea for other papersizes -


im trying fix scaling issue when our application prints on other papersizes a4. there existing method called getprintablearea, returns same values regardless of mediasize is:

public size getprintablearea(pagemediasize mediasize)  {   _printqueue.currentjobsettings.currentprintticket.pagemediasize = mediasize;   var capabilities = _printqueue.getprintcapabilities(_printqueue.currentjobsettings.currentprintticket);   return new size(capabilities.pageimageablearea.extentwidth, capabilities.pageimageablearea.extentheight);  } 

capabilities.pageimageablearea w/h set same values (761, 1090). , far can see selected printers imageable area a4 (in 1/96" units). how printers pageimageablearea other papersizes example a3?


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -