Hi, Vinicius -
I figured out a pretty simple way to produce an EAN13 barcode as a DataWindow computed field using a specific EAN13 TrueType font and an Excel formula I learned about on (what else?) YouTube:
https://www.youtube.com/watch?v=5fIJftPqE7k
* Update * - The Excel spreadsheet contains an error, so I've corrected the PB sample app and replaced the attached zip file.
After downloading the example Excel spreadsheet used in the video and the required TrueType font, both from the YouTube author's Google Drive (links are available in the author's comments and I've also included a text file with these URL's), I decoded the Excel formula and created a PB global function that does the needed encoding/translation of the barcode digits into the proper code points within the font.
From this, I've thrown together a very small, simple PB app that produces EAN13 barcodes:
The app, the TrueType font, and a text file containing the URL's to the resources I used are included in the attached zip file.
* Update * - The global encoding function now calculates the checksum digit (the 13th digit).
Note: The picture in your original post shows a ">" sign after the barcode image, which does not follow the EAN13 standards, as near as I can tell. I mention this because the app I've provided cannot produce a barcode that contains this extra character. The barcode you see above uses the "Code EAN13 Regular" TrueType font, size 72 points. While you can vary the size of the barcode by changing the point size, you cannot stretch the barcode to make it taller within a given width, for instance. It is what it is.
* Update * - I've included in the DataWindow the transformed barcode text produced by the global function.
I hope you find this possible solution to your issue helpful.
Best regards, John