Print From Web Application Urgent! フォローする

0
Avatar
Legacy Poster

Hi everyone

 

Actually I am starting to use Bartender and I have created a print button from my web system:

 

    Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
 
        Dim btengine As New Engine()
        Dim btapp As New BarTender.Application
 
 
        btengine.Start()
        Dim btformat As Seagull.BarTender.Print.LabelFormatDocument = btengine.Documents.Open("\\tpxsvr01\GM\989A FSAB LH\824176 - 739200404000J caja.btw")
        btformat.Print()
 
 
        btengine.Stop()
 
    End Sub
 
--- Here my question is, how can I set up the quantity of Copies of my project and If I have many differents Printers per station how can I choose one of it.
 
Thanks for your help
 
Regards
 
 
      
 

1 コメント

0
Avatar
Ian Cummings
モデレータ
コメントアクション Permalink

Set the relevant properties of the PrintSetup of the format:

 

' Change the number of identical labels and serialized labels to print

btFormat.PrintSetup.NumberOfSerializedLabels = 4

btFormat.PrintSetup.IdenticalCopiesOfLabel = 10

 

To select printers you can set the property in PrintSetup like below, or as a second argument in the open format method.

 

btFormat.PrintSetup.PrinterName = "MyPrinterX"

ログインしてコメントを残してください。