Module: RGhost::Barcode
- Defined in:
- lib/rghost_barcode/rghost_barcode_types.rb,
lib/rghost_barcode/rghost_barcode_base.rb
Defined Under Namespace
Classes: Base, Border, Guard, Parameter, Text
Constant Summary collapse
- BARCODES =
{ :auspost=> { :desc => "AusPost 4 State Customer Code",:text => {:size => 8}, :enable => [:text], :default => '5956439111ABA 9', :custinfoenc=> 'character' }, :azteccode=> { :desc => "Aztec Code",:text => {:size => 8}, :default => 'This is Aztec Code', :format => 'full' }, :bc412=> { :desc => "BC412",:text => {:size => 8},:default => 'BC412',:enable => [:text,:checkintext], :semi => true }, :channelcode=> { :desc => "Channel Code",:text => {:size => 8},:default => 3493, :height=> '0.5',:enable => [:text] }, :codablockf=> { :desc => "Codablock F",:text => {:size => 8},:default => 'CODABLOCK F 34567890123456789010040digit', :cols=> 8 }, :code11=> { :desc => "Code 11",:text => {:size => 8}, :default => '0123456789',:enable => [:text,:checkintext, :check] }, :code128=> { :desc => "Code 128",:text => {:size => 8},:default => 'Count01234567^FNC2!', :enable => [:text], :parsefnc => true }, :code16k=> { :desc => "Code 16K",:text => {:size => 8},:default => 'Abcd-1234567890-wxyZ' }, :code2of5=> { :desc => "Code 25",:text => {:size => 8},:default => '01234567', :version=> 'iata',:enable => [:text,:checkintext, :check] }, :code32=> { :desc => "Italian PharmaCode",:text => {:size => 8},:default => '01234567', :enable => [:text] }, :code39=> { :desc => "Code 39",:text => {:size => 8},:default => 'MULTIPLE ROWS IN CODE 49', }, :code39ext=> { :desc => "Code 39 Extended",:text => {:size => 8}, :enable => [:text,:checkintext, :check], :default => 'Code39 Ext!' }, :code49=> { :desc => "Code 49",:text => {:size => 8} }, :code93=> { :desc => "Code 93",:text => {:size => 8}, :default => 'THIS IS CODE 93',:enable => [:text, :check] }, :code93ext=> { :desc => "Code 93 Extended",:text => {:size => 8},:default => 'Code93 Ext!',:enable => [:text,:check], }, :codeone=> { :desc => "Code One",:text => {:size => 8}, :default => 'Code One', :version=>'B' }, :daft=> { :desc => "Raw DAFT succession for custom 4 state symbologies",:text => {:size => 8},:default => 'FATDAFTDAD' }, :databarexpanded=> { :desc => "GS1 DataBar Expanded",:text => {:size => 8},:default => '(01)95012345678903(3103)000123' }, :databarexpandedcomposite=> { :desc => "GS1 DataBar Expanded Composite",:text => {:size => 8},:default => '(01)93712345678904(3103)001234|(91)1A2B3C4D5E' }, :databarexpandedstacked=> { :desc => "GS1 DataBar Expanded Stacked",:text => {:size => 8},:default => '(01)95012345678903(3103)000123', :segments=> 4 }, :databarexpandedstackedcomposite=> { :desc => "GS1 DataBar Expanded Stacked Composite",:text => {:size => 8},:default => '(01)00012345678905(10)ABCDEF|(21)12345678', :segments=> 4 }, :databarlimited=> { :desc => "GS1 DataBar Limited",:text => {:size => 8},:default => '(01)15012345678907' }, :databarlimitedcomposite=> { :desc => "GS1 DataBar Limited Composite",:text => {:size => 8},:default => '(01)03512345678907|(21)abcdefghijklmnopqrstuv' }, :databaromni=> { :desc => "GS1 DataBar Omnidirectional",:text => {:size => 8},:default => '(01)24012345678905' }, :databaromnicomposite=> { :desc => "GS1 DataBar Omnidirectional Composite",:text => {:size => 8},:default => '(01)03612345678904|(11)990102' }, :databarstacked=> { :desc => "GS1 DataBar Stacked",:text => {:size => 8},:default => '(01)24012345678905' }, :databarstackedcomposite=> { :desc => "GS1 DataBar Stacked Composite",:text => {:size => 8},:default => '(01)03412345678900|(17)010200' }, :databarstackedomni=> { :desc => "GS1 DataBar Stacked Omnidirectional",:text => {:size => 8},:default => '(01)03612345678904' }, :databarstackedomnicomposite=> { :desc => "GS1 DataBar Stacked Omnidirectional Composite",:text => {:size => 8}, :default => "(01)03412345678900|(17)010200" }, :databartruncated=> { :desc => "GS1 DataBar Truncated",:text => {:size => 8},:default => '(01)24012345678905' }, :databartruncatedcomposite=> { :desc => "GS1 DataBar Truncated Composite",:text => {:size => 8},:default => '(01)03612345678904|(11)990102' }, :datamatrix=> { :desc => "Data Matrix",:text => {:size => 8},:default => 'This is Data Matrix!',:rows=> '32', :columns=> '32' }, :ean13=> { :desc => "EAN-13",:text => {:size => 8},:default => '977147396801', :enable => [:text],:guard=>{:whitespace => true } }, :ean13composite=> { :desc => "EAN-13 Composite",:text => {:size => 8},:enable => [:text], :default => '331234567890|(99)1234-abcd' }, :ean14=> { :desc => "GS1-14",:text => {:size => 8},:enable => [:text], :default => '(01)04601234567893' }, :ean2=> { :desc => "EAN-2 (2 digit addon)",:text => {:size => 8},:enable => [:text],:guard=>{:whitespace => true },:default => '05' }, :ean5=> { :desc => "EAN-5 (5 digit addon)",:text => {:size => 8}, :default => '90200',:enable => [:text],:guard=>{:whitespace => true } }, :ean8=> { :desc => "EAN-8",:text => {:size => 8}, :default => '01335583',:guard => {:whitespace => true}, :enable => [:text], :height=> '0.5' }, :ean8composite=> { :desc => "EAN-8 Composite",:text => {:size => 8},:enable => [:text], :default => '12345670|(21)A12345678' }, :flattermarken=> { :desc => "Flattermarken",:default => "12345", :inkspread=> -0.25 }, :gs1_128=> { :desc => "GS1-128",:text => {:size => 8}, :default => '(01)95012345678903(3103)000123', :enable => [:text] }, :gs1_128composite=> { :desc => "GS1-128 Composite",:text => {:size => 8},:default => '(00)030123456789012340|(02)13012345678909(37)24(10)1234567ABCDEFG', :ccversion => 'c' }, :gs1_cc=> { :desc => "GS1 Composite 2D Component",:text => {:size => 8}, :default => '(01)95012345678903(3103)000123',:ccversion=>'b', :cccolumns=>'4' }, :hibccodablockf=> { :desc => "HIBC Codablock F",:text => {:size => 8},:default => 'A123BJC5D6E71' }, :hibccode128=> { :desc => "HIBC Code 128",:text => {:size => 8},:default => 'A123BJC5D6E71', :enable => [:text] }, :hibccode39=> { :desc => "HIBC Code 39",:text => {:size => 8},:default => 'A123BJC5D6E71',:enable => [:text] }, :hibcdatamatrix=> { :desc => "HIBC Data Matrix",:text => {:size => 8},:default => 'A123BJC5D6E71' }, :hibcmicropdf417=> { :desc => "HIBC MicroPDF417",:text => {:size => 8},:default => 'A123BJC5D6E71' }, :hibcpdf417=> { :desc => "HIBC PDF417",:text => {:size => 8},:default => 'A123BJC5D6E71' }, :hibcqrcode=> { :desc => "HIBC QR Code",:text => {:size => 8},:default => 'A123BJC5D6E71' }, :identcode=> { :desc => "Deutsche Post Identcode",:text => {:size => 8},:default => '563102430313', :enable => [:text] }, :interleaved2of5=> { :desc => "Interleaved 2 of 5 (ITF)",:text => {:size => 8} , :height=> '0.5' , :enable => [:text, :checkintext, :check], :default => '2401234567'}, :isbn=> { :desc => "ISBN",:text => {:size => 8},:default => '978-1-56592-479 54495',:guard=>{:whitespace => true } }, :ismn=> { :desc => "ISMN",:text => {:size => 8}, :default => '979-0-2600-0043',:enable => [:text],:guard=>{:whitespace => true } }, :issn=> { :desc => "ISSN",:text => {:size => 8}, :default => '0317-8471 00 05',:enable => [:text],:guard=>{:whitespace => true } }, :itf14=> { :desc => "ITF-14",:text => {:size => 8}, :enable => [:text], :default => '04601234567893' }, :japanpost=> { :desc => "Japan Post 4 State Customer Code",:text => {:size => 8},:default => '6540123789-A-K-Z', :enable => [:text, :checkintext] }, :kix=> { :desc => "Royal Dutch TPG Post KIX 4-State Barcode",:text => {:size => 8},:default => '1231FZ13XHS', :enable => [:checkintext, :check] }, :leitcode=> { :desc => "Deutsche Post Leitcode",:text => {:size => 8},:default => '21348075016401',:enable => [:text] }, :maxicode=> { :desc => "MaxiCode",:text => {:size => 8}, :mode=> '2', :parse => true, :default => '[\)>^03001^02996152382802^029840^029001^0291Z00004951^029UPSN^02906X610^029159^0291234567^0291/1^029^029Y^029634 ALPHA DR^029PITTSBURGH^029PA^029^004' }, :micropdf417=> { :desc => "MicroPDF417",:text => {:size => 8},:default => 'MicroPDF417' }, :msi=> { :desc => "MSI Modified Plessey",:text => {:size => 8}, :default => '0123456789',:enable => [:text,:checkintext, :check] }, :onecode=> { :desc => "United States Postal Service Intelligent Mail",:text => {:size => 8}, :default => '0123456709498765432101234567891',:barcolor=> "FF0000" }, :pdf417=> { :desc => "PDF417",:text => {:size => 8},:default => 'This is PDF417' }, :pharmacode=> { :desc => "Pharmaceutical Binary Code",:text => {:size => 8},:default => '117480' }, :pharmacode2=> { :desc => "Two-track Pharmacode",:text => {:size => 8},:default => '117480', :border => {:color => '#FF44FF'}, :enable => [:text] }, :planet=> { :desc => "United States Postal Service PLANET",:text => {:size => 8},:default => '01234567890',:enable => [:text,:checkintext] }, :plessey=> { :desc => "Plessey UK",:text => {:size => 8}, :default => '01234ABCD',:enable => [:text,:checkintext] }, :posicode=> { :desc => "PosiCode",:text => {:size => 8},:default => 'ABC123', :version=>'b', :inkspread=> '-0.5', :parsefnc => true, :enable =>[:text] }, :postnet=> { :desc => "United States Postal Service POSTNET",:text => {:size => 8}, :default => '01234',:enable => [:checkintext, :text] }, :pzn=> { :desc => "Pharmazentralnummer (PZN)",:text => {:size => 8},:default => '123456',:enable => [:text] }, :qrcode => { :desc => "QR Code",:text => {:size => 8},:default => 'http://www.terryburton.co.uk/barcodewriter/', :eclevel=> 'M' }, :rationalizedCodabar=> { :desc => "Rationalized Codabar",:text => {:size => 8},:default => 'A0123456789B',:enable => [:text,:checkintext, :check] }, :raw=> { :desc => "Raw bar space succession for custom symbologies ",:text => {:size => 8},:default => '331132131313411122131311333213114131131221323', :height=> '1' }, :royalmail=> { :desc => "Royal Mail 4 State Customer Code (RM4SCC)",:text => {:size => 8}, :enable => [:checkintext, :text], :barcolor => "FF0000", :default => 'LE28HS9Z' }, :sscc18=> { :desc => "SSCC-18",:text => {:size => 8},:default => '(00)006141411234567890',:enable => [:text] }, :symbol=> { :desc => "Miscellaneous symbols",:text => {:size => 8},:default => 'fima' }, :telepen=> { :desc => "Telepen",:text => {:size => 8}, :default => '123456', :enable => [:text], :numeric => true }, :upca=> { :desc => "UPC-A",:text => {:size => 8},:default => '78858101497', :enable => [:text] }, :upcacomposite=> { :desc => "UPC-A Composite",:text => {:size => 8}, :default => '01600033610|(99)1234-abcd' }, :upce=> { :desc => "UPC-E",:text => {:size => 8},:default => '0123456', :height=> '0.4', :enable => [:text] }, :upcecomposite=> { :desc => "UPC-E Composite", :default => '0121230|(15)021231', :text => {:size => 8},:enable => [:text]} }