New To Bartender, Help With Application Approach Needed
I'm running Bartender 10.1 SR2 with Automation Enterprise activated. My IDE is VB.NET Studio 2013 Pro.
I am building an automated carton labeler that will print a label and have a robot press the carton against the label. Formats are existing and already setup to connect to Excel as a database and populate fields. I will not be changing this feature.
I'd like some guideance/code snippets for:
1: How to open up to seven formats simultaneously and holding them in memory until application closes
2: I'll need to enter data into each format. I'd rather not expose all the substrings to the operator, is there a way to call the User Form instead?
3: Is the ExportPrintPreviewToFile the only way to display an edited format in a picture box?
4: Shoud I have a seperate Engine for each Formaat that is opened? How do I pass each format to a single Engine
Thanks in advance!
-
1. Open the label format, but don't call the close method on the label document object until you're done with it.
2. Your application is an abstraction layer that effectively hides the BarTender data sourcing from the user. You don't have to expose anything to the print operator that you don't wish to.
3. Effectively yes.
4. One engine instance would be sufficient I guess. After all, if you run BarTender manually you can open, edit, and print multiple documents all within the same application instance.
0 -
Thank you for the reply Ian!
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare