i'm trying send , print file code this link. issue i'm not able enable printer option page selection range printer setting dialog. after digging on internet found way using below code:
printdialog.userpagerangeenabled() printdialog.showdialog()
but seems wpf code , not available normal winform c# application, though i'm using .net 4.5 framework.
any clues how same without using wpf?
in system.windows.forms
namespace there printdialog
has properties:
- allowcurrentpage
- allowselection
- allowsomepages
why not use them instead? please @ msdn reference: https://msdn.microsoft.com/en-us/library/system.windows.forms.printdialog.aspx
edit: i've found people mention usage of: printersettings.printrange = printrange.somepages
neeeded. depends how code looks , not provided @ moment.
Comments
Post a Comment