StiReport.Print vs. StiReport.PrintWithWpf
Posted: Thu Jan 12, 2012 10:55 am
Hello,
why Print is using PrintDocument and PrintWithWpf PrintTicket? I need to call and modify current printer settings from another place in program and than don't show PrintDialog, but when I modify settings using this method http://stackoverflow.com/questions/2437 ... ve-changes than I have only PrintDocument. Only one way how to get PrintTicket with needed settings is copying property by property from PrinterSettings to PrintDialog - this method is really stupid. Print function with PrintDocument is right what is ideal for my purposes, but I can't use it in WPF... What shall I do?
why Print is using PrintDocument and PrintWithWpf PrintTicket? I need to call and modify current printer settings from another place in program and than don't show PrintDialog, but when I modify settings using this method http://stackoverflow.com/questions/2437 ... ve-changes than I have only PrintDocument. Only one way how to get PrintTicket with needed settings is copying property by property from PrinterSettings to PrintDialog - this method is really stupid. Print function with PrintDocument is right what is ideal for my purposes, but I can't use it in WPF... What shall I do?