跳至主內容

搜尋

搜尋

Programmatic Adjustment Of Label Content Alignment Per-Print

評論

3 條評論

  • Avatar
    Shotaro Ito

    If the print operator has some control on printer driver, try horizontal offset in driver.

    Right click printer driver > printing preferences > Page setup tab > Advanced options > Printing position > Horizontal offset.

    this setting affects all documents printed from the printer.

     

    When you print from .net SDK / ActiveX, you can get and set right / left margin to shift print result by

    Format.PageSetup.MarginLeft and Format.PageSetup.MarginRight .

    0
  • Avatar
    Legacy Poster

    Shotaro,

     

    Thanks much for this.  It looks like this control would address our needs, as it includes offset adjustments for both horizontal and vertical alignment (both are necessary).  However, the operators will not have access to these settings directly, nor do we want them to, as the printers are "installed" on the server, not the local workstation.  Can you suggest any further reading regarding programmatic adjustment of these values?  This does not necessarily need to be mediated by BarTender - if necessary, I expect that we can come up with a Powershell script (or something of that nature) than can be called by the middleware on a per-job basis, per our requirements.

     

    EDIT: for clarity - we're not using .NET or ActiveX for the middleware, it's a WAMP stack.

    0
  • Avatar
    Shotaro Ito

    I'm out of idea - you can import and export driver settings using "ssdal.exe" utility installed with seagull driver, but I don't think that's the way as we don't provide automation for individual offset value.

    http://forums.seagullscientific.com/index.php?/topic/897-default-stock-size-for-different-printers/

    I recon there's feature request to modify page setup from BarTender XML script, and that will be the solution. so  I add your request to our "Wish List" to make the feature arrive soon.

    0

登入寫評論。