How To Change Printer Presets? Follow
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.
4 comments
It should be noted that BarTender can be integrated programmatically using .NET in order to act as the label printing engine. See the below white paper and the BarTender Help system for more information and a full reference.
http://s3.amazonaws.com/SeagullBarTender/ftp/WhitePapers/WhitePaper_BarTenders.NET_SDKs_English.pdf
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.
[/quote]
Hi bogdan0x400,
Not sure if you can manage with the ssdal command
Seagull Scientific driver has Command Line Automation and you can change the default settings of driver with the following command: [i]ssdal /p "SX4" settings import label01.sds[/i]
So, before to work with report you should import the specific configuration on the driver. You can export the driver configuration from windows driver properties (Tools, Controler Option, Administration, Export).
Regards
In Printing preference, modify desired setting, then in Page setup tab > Preset [Manage], create a new preset.
Then add a new custom stock, enable Automatic Preset Selection and select the preset.
In Printing preference, modify desired setting, then in Page setup tab > Preset [Manage], create a new preset.
Then add a new custom stock, enable Automatic Preset Selection and select the preset.
Please sign in to leave a comment.