跳至主內容

搜尋

搜尋

How To Change Printer Presets?

評論

4 條評論

  • Avatar
    Ian Cummings
    版主
    Only the BarTender application is able to adjust printer driver settings and make use of performance optimisations in the Seagull printer drivers that the standard Windows/.NET printing API's don't cover. Manipulating the registry and DEVmodes is one way I guess, but we don't provide technical support on how to use our printer drivers programmatically without BarTender. We also don't publish the Seagull printer driver API for accessing non-standard printer driver features. Of course, other users are welcome to chip in with suggestions on this forum if they wish.

    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
    0
  • Avatar
    Legacy Poster
    [quote name='bogdan0x400' timestamp='1322216040' post='1149']
    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
    0
  • Avatar
    Shotaro Ito
    If you can specify stock name (paper name) from application, seagull driver (from 7.2) you can save current printing preferences to preset, then associate the preset to specific stock name.
    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.
    0
  • Avatar
    Shotaro Ito
    If you can specify stock name (paper name) from application, In Seagull driver (from 7.2) you can save current printing preferences to preset, then associate the preset to custom stock name.
    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.
    0

登入寫評論。