plugin:barcode
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:barcode [2014-06-17 15:54] – [Documentation] Question about external dependency 194.138.39.53 | plugin:barcode [2024-02-13 04:02] (current) – [Requests] 77.116.87.77 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== barcode (2D-Barcodes) ====== | + | ====== barcode (2D-Barcodes) |
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
author | author | ||
email : staff@eiroca.net | email : staff@eiroca.net | ||
type : syntax | type : syntax | ||
- | lastupdate : 2013-06-29 | + | lastupdate : 2019-02-24 |
- | compatible : Weatherwax, Adora Belle | + | compatible : Greebo |
depends | depends | ||
conflicts | conflicts | ||
- | similar | + | similar |
- | tags : media, images, barcode | + | tags : media, images, barcode, qrcode |
- | downloadurl: | + | downloadurl: |
- | bugtracker : http://sourceforge.net/projects/eirocasoftware/support | + | bugtracker : https://github.com/eiroca/dokuwiki-plugin-barcode/issues |
- | sourcerepo : http://sourceforge.net/p/ | + | sourcerepo : https://github.com/eiroca/dokuwiki-plugin-barcode |
- | donationurl: | + | donationurl: |
---- | ---- | ||
===== Download and Installation ===== | ===== Download and Installation ===== | ||
- | Download | + | Search |
- | ^ Download | [[http:// | + | ^ Download | [[https:// |
- | Last version can be found on [[http://sourceforge.net/projects/ | + | Last version can be found on [[https://github.com/eiroca/dokuwiki-plugin-barcode/releases|GitHub]], including project tracking. |
+ | **Fork 2024-02-13** with ability to use **local qrencode or zint library** and compatibility for **PHP 8.2** and DokuWiki version **2024-06-04a " | ||
+ | ^ Repository |[[https:// | ||
===== Documentation ===== | ===== Documentation ===== | ||
+ | |||
Barcode generates 2D barcodes using different providers, currently: | Barcode generates 2D barcodes using different providers, currently: | ||
+ | |||
* Google Charts | * Google Charts | ||
* I-nigma | * I-nigma | ||
* Kaywa | * Kaywa | ||
* QRServer | * QRServer | ||
+ | * qrencode (only available in Fork of Runout) | ||
+ | * zint (only available in Fork of Runout) | ||
+ | |||
+ | [[https:// | ||
+ | |||
Layout of the barcode can be defined by CSS styles. | Layout of the barcode can be defined by CSS styles. | ||
- | Full documentation and examples [[http:// | + | Full documentation and examples [[http:// |
+ | |||
+ | ==== Usage ==== | ||
+ | |||
+ | < | ||
+ | ~~BARCODE~attribute1=value1~attribute2=value2~~ | ||
+ | </ | ||
+ | |||
+ | === Attributes === | ||
+ | |||
+ | Only one attribute of type payload can be specified. \\ If no payload attribute is given a barcode pointing to the containing page is generated. | ||
+ | |||
+ | ^Attribute^Description^Type^ | ||
+ | |id|Id to assign to the barcode img tag. \\ Control for rendering via CSS.|optional| | ||
+ | |class|Class to assign to the barcode img tag. \\ Control for rendering via CSS. \\ Possible values: \\ barcode_left -> barcode is left aligned \\ barcode_right -> barcode is right aligned \\ barcode_center -> barcode is centered|optional| | ||
+ | |mode|Only for I-nigma provider. 0 is QR-Code, 1 is DataMatrix |optional| | ||
+ | |size|Size of the barcode. Allowed values: S, M, L, XL|optional| | ||
+ | |url|payload is an URL, e.g. // | ||
+ | |sms|payload is a SMS, e.g. // | ||
+ | |tel|payload is a telephone number, e.g. // | ||
+ | |contact|payload is a contact, e.g. // | ||
+ | |text|payload is a text, e.g. // | ||
+ | |caption|caption to be used on the bottom of the barcode. \\ Only for ' | ||
+ | |bgcolor|Background color of the barcode. \\ Only for '' | ||
+ | |foreground|color | ||
+ | |background|color | ||
+ | |level|Error | ||
+ | |margin|Width of margin. (default=4)|optional \\ Runout fork only| | ||
+ | |dpi|DPI of the generated PNG. (default=72)|optional \\ Runout fork only| | ||
+ | |||
+ | === Examples === | ||
+ | |||
+ | < | ||
+ | ~~BARCODE~class=barcode_left~url=http:// | ||
+ | ~~BARCODE~class=barcode_right~url=http:// | ||
+ | ~~BARCODE~class=barcode_center~size=M~~ | ||
+ | </ | ||
+ | |||
+ | For Zint (Runout fork only) use the long form parameters of the cli. | ||
+ | |||
+ | //size// is a synonym for // | ||
+ | |||
+ | < | ||
+ | ~~BARCODE~class=barcode_left~url=https:// | ||
+ | ~~BARCODE~barcode=aztec~scale=L~~ | ||
+ | </ | ||
- | :?: Would it be possible to create barcodes without any external provider and dependancy? This would be heldpful for intranets internet access. Perhaps a libary like [[http:// | ||
===== History ===== | ===== History ===== | ||
+ | === version 19.02 === | ||
+ | * dokuwiki " | ||
+ | * PHP 7.x compatibility | ||
=== 2013/06/29 === | === 2013/06/29 === | ||
* Added support fol translation plugin | * Added support fol translation plugin | ||
Line 57: | Line 113: | ||
Plugin is based upon [[plugin: | Plugin is based upon [[plugin: | ||
- | Copyright © 2010-2011 eIrOcA (eNrIcO Croce & sImOnA Burzio) | + | Copyright © 2010-2019 eIrOcA (eNrIcO Croce & sImOnA Burzio) |
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. | This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. | ||
Line 66: | Line 122: | ||
===== Discussion ===== | ===== Discussion ===== | ||
- | ==== Requests | + | ==== FAQ ==== |
- | Is possible to draw a QR code of current page? | + | **Is possible to draw a QR code of current page?** |
- | + | ||
- | --- // | + | |
From version 2010/01/20 without specifying the payload, e.g. | From version 2010/01/20 without specifying the payload, e.g. | ||
~~BARCODE~~ | ~~BARCODE~~ | ||
+ | | ||
+ | ==== Requests ==== | ||
+ | Please raise request [[https:// | ||
+ | |||
+ | * :?: Would it be possible to create barcodes without any external provider and dependency? This would be helpful for intranets without internet access. Perhaps a library like [[http:// | ||
+ | * You can try runout' | ||
+ |
plugin/barcode.1403013292.txt.gz · Last modified: 2014-06-17 15:54 by 194.138.39.53