Skip to main content

Search

Search

Documentation? And Printing Position?

Comments

5 comments

  • Avatar
    Shotaro Ito

    BarTender .net SDK document can be installed via custom install or modify installation. 

    From Control panel > Programs, select BarTender and modify it, to add BarTender .net SDK.

    Usually that's installed in "C:\Program Files\Seagull\BarTender Suite\Help\BTSDK.chm" or "C:\Program Files (x86)\Seagull\BarTender Suite\Help\BTSDK.chm"

     

    As of BarTender 10.1, There's limitation on accessing objects over multiple templates. That should be fixed in future version.

    Not the exact same thing, however try add / reduce margins of document from PageSetup object, instead.

    0
  • Avatar
    Legacy Poster

    I apologize for the delay in responding to this thread > year end vacation.

     

    I was able to get a SMALL amount of adjustment using the margins. Left-right is no issue obviously, but up-down I cannot get much adjustment or the printer just cuts the format off, thinking it's going to go off the physical label. Unfortunately unless I can work around that, I am going to need more top-bottom adjustment for the project I'm working on...

    0
  • Avatar
    Legacy Poster

    Does not look like I even have access to btFormat.Objects in the newest "examples" of the SDK? Meaning I'm just importing Seagull.BarTender.Print as a reference.

     

    If I instead import BarTender 10.1 as a reference, I can launch a BarTender.Application, open the BarTender.Format, and access some object properties in the format...

    0
  • Avatar
    Shotaro Ito

    You're right - BarTender .net SDK (Seagull.BarTender.Print) does not support DesignObject - that means you don't have control on object position, color and font in .net SDK. At the moment that can only be done by BarTender ActiveX automation. We have number of requests to enable that in .net SDK and we hope to implement that in future version.

    0
  • Avatar
    Legacy Poster

    Well thanks for clearing it up so at least I know I'm not missing something.

     

    I must have been doing my previous .NET project "Wrong", as instead of starting the print engine I had starting lines like:

     

    Dim btapp As BarTender.Application
    Dim btFormat As BarTender.Format
     

    Then I could use For Each btObject As BarTender.DesignObject In btFormat.Objects and at least get through all the objects.

    Edit: Okay I see that I was using the ActiveX options from inside VB... maybe I'll just go back to doing that as I really need position adjustments in this project.

     

    So in the recommended .NET implementation (using the print engine), there is no good way to change the x/y print position of the format? I do not consider changing margins to be flexible enough at the moment.

    0

Please sign in to leave a comment.