How To Change Printer Presets? 追蹤
This question is not about BarTender software, but the driver for my printer pointed to seagullscientific.com, and I haven't found another place to ask this question, so I hope that I will get the answer here.
I need to print Microsoft Reporting reports using special printing presets for each one. I have a Toshiba TEC B-SX4 printer, and I need to change the printer presets programmatically because our application should be able to print different labels which have different sizes, paddings and other config. I am using .NET 4.0 . TEC B-SX4 obviously doesn't support XPS, so there is no point in using System.Printing . I also couldn't achieve my goal using System.Drawing.Printing - I could not find where properties other than size could be set.
The developer manual that I have seems to refer to hardware level and not to higher software levels.
The only solution that I've found up until now is to use hacks with Windows Registry, but it has some obvious and considerable disadvantages.
In FoxPro this was achieved by storing printer presets in the report itself, but we are not using FoxPro any more and MS Report in VS2010 doesn't seem to provide similar capabilities.