Class: RBarcode::Planet
Overview
This class takes a string and generates a USPS PLANET based barcode from that string.
Constant Summary collapse
- @@encoding =
@@encoding key
-
t => tall bar
-
s => short bar
-
{ '0' => "ssttt", '1' => "tttss", '2' => "ttsts", '3' => "ttsst", '4' => "tstts", '5' => "tstst", '6' => "tsstt", '7' => "sttts", '8' => "sttst", '9' => "ststt" }
Constants inherited from Postnet
RBarcode::Postnet::API_VERSION, RBarcode::Postnet::BAR_SHORT_HEIGHT, RBarcode::Postnet::BAR_TALL_HEIGHT, RBarcode::Postnet::BAR_WIDTH
Instance Attribute Summary
Attributes inherited from Base
Method Summary
Methods inherited from Postnet
Methods inherited from Base
#code39, #initialize, #postnet
Constructor Details
This class inherits a constructor from RBarcode::Postnet