Changing Default Printer Via Sdk
I'm new to the SDK, I have only used it to auto print a label, but from what I have seen so far I like it.
The question I have is this, is it possible to change the default printer of a label format without going into the actual label and changing it there. I want to be able to print the same label to different printers (if needed).
-
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 LabelFormatDocumentIf the BarTender document is already open, you can use the PrintSetup.PrinterName Property instead.
0 -
Thanks Domingo, that was exactly what I was looking for.
0
请先登录再写评论。
评论
2 条评论