├── readme.md ├── .github └── FUNDING.yml ├── license.md └── as_barcode.pks /readme.md: -------------------------------------------------------------------------------- 1 | # as_barcode 2 | 3 | No documentation available 4 | See this [APEX demo](https://apex.oracle.com/pls/apex/f?p=156013) 5 | 6 | I use that demo application also to develop and test this package. So it might be possible that the demo shows more than can be done with the lastest version available at github, for instance PDF417. And that application itself is NOT available. 7 | 8 | Supports QR-code, Aztec, data matrix, EAN-8, EAN-13, UPC-A, code39, code128, Interleaved 2 of 5 (ITF) and some (RM4SCC, Australia Post 4-State Customer Code, KIX) postal 4-State barcodes 9 | 10 | Output format includes png, svg, gif, bmp and jpg. 11 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: ['https://www.paypal.me/apexplugins'] 13 | -------------------------------------------------------------------------------- /license.md: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2016-2022 Anton Scheffer 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /as_barcode.pks: -------------------------------------------------------------------------------- 1 | create or replace package as_barcode 2 | is 3 | function barcode( p_val varchar2 character set any_cs 4 | , p_type varchar2 5 | , p_parm varchar2 := null 6 | ) 7 | return raw; 8 | -- 9 | procedure download_barcode( p_val varchar2 character set any_cs 10 | , p_type varchar2 11 | , p_parm varchar2 := null 12 | ); 13 | -- 14 | function datauri_barcode( p_val varchar2 character set any_cs 15 | , p_type varchar2 16 | , p_parm varchar2 := null 17 | , p_format varchar2 := null 18 | ) 19 | return clob; 20 | -- 21 | function barcode_svg( p_val varchar2 character set any_cs 22 | , p_type varchar2 23 | , p_parm varchar2 := null 24 | , p_logo blob := null 25 | , p_logo_href varchar2 := null 26 | ) 27 | return clob; 28 | -- 29 | function datauri_barcode_svg( p_val varchar2 character set any_cs 30 | , p_type varchar2 31 | , p_parm varchar2 := null 32 | , p_logo blob := null 33 | , p_logo_href varchar2 := null 34 | ) 35 | return clob; 36 | -- 37 | function barcode_blob( p_val varchar2 character set any_cs 38 | , p_type varchar2 39 | , p_parm varchar2 := null 40 | , p_format varchar2 := 'BMP' 41 | , p_logo blob := null 42 | , p_logo_href varchar2 := null 43 | ) 44 | return blob; 45 | -- 46 | end as_barcode; 47 | / 48 | --------------------------------------------------------------------------------