Importing A Barcode From A Image File S’abonner
Hello,
I need to create Datamatrix barcodes dynamically in our application. As far as I have understood Barcode SDK does not have any API's to do this so I am using DevExpress library to do this. My question is how can I import a .NET Image object into the printer class and sent it to the printer.
thanks,
Ehsan
EPM Technology
5 commentaires

Domingo Rodriguez
ModérateurHello,
Do you use BarTender at all? BarTender supports encoding binary data into a Data Matrix bar code. You would do this by using escape sequences in the data (in particular, you will need to make use of the ^dnnn
escape sequence, where nnn represents a 3-digit ASCII codeword).
As an example, the below data will encode binary information into your Data Matrix bar code:
^d003^d001^d220^d120^d012^d000^d048^d055^d049^d077^d150^d183^d009^d000^d
194^d230^d040^d001^d000^d040^d010^d000^d183^d220^d050^d001^d145^d023^d00
0^d000^d042^d051^d101^d047^d000^d097^d103^d001^d000^d000^d000^d156^d228^
d001^d000^d017^d096^d000^d000^d008^d011^d000^d000^d236^d218^d199^d225^d0
25^d157^d170^d070^d198^d053^d233^d060^d015^d151^d238^d195^d046^d022^d098
^d203^d068^d066^d045^d048^d046^d254^d229^d146^d042^d187^d032^d004^d138^d
084^d177^d004^d091^d231^d078^d154^d000^d250^d050^d176^d004^d008^d000^d14
5^d023^d000^d000
If you would be printing via our .NET SDKs, you can set the binary data for your variable bar code by using the above recommended approach.
Thanks for the reply, but I do not understand what you mean. Which API must I use?
You would first design your label and Data Matrix bar code by using BarTender, and you could then programmatically control BarTender in the background by making use of our .NET SDKs, which are available in the Automation Editions of BarTender: http://www.bartenderbarcodesoftware.com/label-software/whitepapers/Controlling-Barcode-Label-Software-using-C-Sharp-and-VB.NET(English).pdf
I cannot use BarTender to design the barcode, each barcode will be created at run time using the information given by the user.
I cannot use BarTender to design the barcode, each barcode will be created at run time using the information given by the user.
Vous devez vous connecter pour laisser un commentaire.