跳到主内容

搜索

搜索

Changing Default Printer Via Sdk

评论

2 条评论

  • Avatar
    Domingo Rodriguez
    版主

    Hello,

     

    You mean assigning the printer without manually opening the BT document in BarTender, correct?

     

    You can e.g. assign the printer via the SDK when opening the BT document:

     

    C#
    public LabelFormatDocument Open(string fileName, string printerName)

     

    Visual Basic
    Public Function Open ( _fileName As String, _printerName As String _) As LabelFormatDocument

     

     

    If the BarTender document is already open, you can use the PrintSetup.PrinterName Property instead.

    0
  • Avatar
    Legacy Poster

    Thanks Domingo, that was exactly what I was looking for.

    0

请先登录再写评论。