Generate Barcodes With The Zebra-Barcode_Upca Font And The Printdocument Object
-
When automating BarTender you've no need to use bar code fonts for printing bar codes. You can use a proper bar code object instead and assign its variable value by using named sub-strings. You will find a full reference on our .NET SDK by opening BarTender's Help (within BarTender, press the F1 key to open BarTender's Help) by visiting the "Automating BarTender > Automation with the BarTender .NET SDKs"
0 -
Thanks Domingo for you quick response.I’ve reviewed the SDK documentation again and I don’t see how a barcode object can be added to a format at run time. It looks like a label format with predefined barcode objects must exist before it can be opened using the SDK (I am using the 9.2 version of SDK, so maybe it is outdated).Unfortunately, I don’t know how many barcodes need to be printed on a label, until my application is running. So designing a label in advance won’t really work, until I create a format for each combination of barcodes.For example:Format1 = Has 1 barcodeFormat2 = Has 2 barcodesFormat3 = Has 3 barcodesFormat4 = Has 4 barcodesFormat5 = Has 5 barcodesand so on...Let me ask this another way. Is it possible to create a label format and add one or more barcode objects to it, using just the SDK?0
-
No, BarTender's .NET SDK doesn't support full object automation at the moment. You're not allowed to create BarTender objects directly via the .NET SDK.
What you could make use of is our Template and Layer features in BT v10.0 and v10.1 respectively. This way, one BT document can have multiple templates (conditionally selectable at print time), and each template can have multiple layers (conditionally selectable at print time). This will help you to print BT documents with 1-5 bar codes.
http://www.bartenderbarcodesoftware.com/label-software/whitepapers/WhitePaper_WhatsNewInBT101.pdf
Hope this helps.
0
请先登录再写评论。
评论
3 条评论