Print From Web Application Urgent!
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
0
-
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"
0
Please sign in to leave a comment.
Comments
1 comment