Barcodes with report openoffice
11 posts • Page 1 of 2 • 1, 2
Barcodes with report openofficeI have one simple question.
Is it possible to define code 128 barcode with report openoffice. How can I define that a field (e.g. product.name) will be print out as an code 128 bacode? Thanks in advance Winni
Re: Barcodes with report openofficeYes, you can create Code 128 by using "make_barcode" function. It's definition is:
"code_type" option should be 'code128'... I noticed that there is no manual entry for this function, sorry for that - will add that in a while. Best regards, Kaspars
Re: Barcodes with report openofficeThanks Kaspar,
and how could I use this function in OpenOffice. Where should I define the Item to be printed as a barcode? Winni
Re: Barcodes with report openofficeWhat did I wrong?
TemplateSyntaxError: invalid syntax in expression "{'{urn:oasis:names:tc:opendocument:xmlns:office:1.0}value': barcode [code, code_type='code128', rotate=None, height=50, xw=1].product_id, '{urn:oasis:names:tc:opendocument:xmlns:office:1.0}value-type': __relatorio_guess_type(barcode [code, code_type='code128', rotate=None, height=50, xw=1].product_id)}" of "attrs" directive (, line 1) (/tmp/openoffice-report-0-IjZn.odt, line 1)
Re: Barcodes with report openofficeThe directive would look like this:
Where "object.product_id" is the string you would like to have encoded as barcode. Of course, you do not have to use "<" and ">" marks if you use Text Placeholder field type.
Re: Barcodes with report openofficeSorry, you have to use Frame, as barcode() function returns image, which is being placed on report. There have been months since used "barcode" last time. So the correct code would be:
For reference, on where you should place this directive, read chapter for the "Frame": http://kndati.lv/index.php/en/openerp/open-erp-addons/reporting-engine/81-defining-template-directives Best regards...
Re: Barcodes with report openofficeThanks!
Your Tool seemed to be very fine. OpenERP makes no errors now. But: Openoffice 3.2 can not open the odf file generated by Openerp. For Openoffice the file is corrupt. Do you have an Idea? Is Openoffice 3.2 the problem? Regards
Re: Barcodes with report openofficeDo you use the latest release of "report_openoffice" and "report_openoffice_pdf"? There is a Relatorio bug which is incompatible with OOo 3.2. Our latest modules compensate the bug. Please try to use latest version of Relatorio (v 0.5.5) as well.
If the problem persists, could you post the resulting report, so we could make a "dissection" of it, to find the reason for the problem.
Re: Barcodes with report openofficeHow to create barcodes using excel barcode font? I'm using excel barcode font for barcode 39 and in order to get my scanner to recognize it I have to put an asterick in front, however, when I do this it creates a plus between each of the letters. What can I use to put in front of the text to prevent this and have only my text?
_____________________________ yahoo keyword tool ~ overture ~ traffic estimator ~ adwords traffic estimator
Re: Barcodes with report openofficewhy don't you use a C#.NET barcode generator to create code 128 barcode, simple and easy.
11 posts • Page 1 of 2 • 1, 2
|
Copyright © 2001 Alistek Ltd., ALL RIGHTS RESERVED