Module: Zint

Includes:
Constants::CapabilityFlags, Constants::DebugFlags, Constants::Errors, Constants::InputDataTypes, Constants::OutputOptions, Constants::SpecificOptions, Constants::Symbologies, Constants::WarnLevels, Constants::Warnings
Defined in:
lib/zint.rb,
lib/zint/qr.rb,
lib/zint/dpd.rb,
lib/zint/fim.rb,
lib/zint/kix.rb,
lib/zint/pzn.rb,
lib/zint/vin.rb,
lib/zint/daft.rb,
lib/zint/eanx.rb,
lib/zint/flat.rb,
lib/zint/rmqr.rb,
lib/zint/aztec.rb,
lib/zint/ean14.rb,
lib/zint/isbnx.rb,
lib/zint/itf14.rb,
lib/zint/nve18.rb,
lib/zint/rss14.rb,
lib/zint/ultra.rb,
lib/zint/upc_a.rb,
lib/zint/upc_e.rb,
lib/zint/upnqr.rb,
lib/zint/azrune.rb,
lib/zint/bc_412.rb,
lib/zint/bitmap.rb,
lib/zint/c25ind.rb,
lib/zint/code11.rb,
lib/zint/code32.rb,
lib/zint/code39.rb,
lib/zint/code49.rb,
lib/zint/code93.rb,
lib/zint/dpleit.rb,
lib/zint/ean128.rb,
lib/zint/hanxin.rb,
lib/zint/hibc39.rb,
lib/zint/hibcdm.rb,
lib/zint/hibcqr.rb,
lib/zint/native.rb,
lib/zint/pdf417.rb,
lib/zint/pharma.rb,
lib/zint/planet.rb,
lib/zint/rssexp.rb,
lib/zint/rssltd.rb,
lib/zint/barcode.rb,
lib/zint/c25iata.rb,
lib/zint/cep_net.rb,
lib/zint/channel.rb,
lib/zint/codabar.rb,
lib/zint/code128.rb,
lib/zint/code16k.rb,
lib/zint/dbarexp.rb,
lib/zint/dbarltd.rb,
lib/zint/dbaromn.rb,
lib/zint/dbarstk.rb,
lib/zint/dpident.rb,
lib/zint/eanxchk.rb,
lib/zint/gs1_128.rb,
lib/zint/hibc128.rb,
lib/zint/hibcpdf.rb,
lib/zint/logmars.rb,
lib/zint/plessey.rb,
lib/zint/postnet.rb,
lib/zint/telepen.rb,
lib/zint/upu_s10.rb,
lib/zint/version.rb,
lib/zint/aus_post.rb,
lib/zint/c25inter.rb,
lib/zint/c25logic.rb,
lib/zint/code128b.rb,
lib/zint/code_one.rb,
lib/zint/dot_code.rb,
lib/zint/excode39.rb,
lib/zint/mailmark.rb,
lib/zint/micro_qr.rb,
lib/zint/one_code.rb,
lib/zint/aus_reply.rb,
lib/zint/aus_route.rb,
lib/zint/c25matrix.rb,
lib/zint/code128ab.rb,
lib/zint/hibcaztec.rb,
lib/zint/maxi_code.rb,
lib/zint/pharmatwo.rb,
lib/zint/upc_a_chk.rb,
lib/zint/upc_e_chk.rb,
lib/zint/uspsimail.rb,
lib/zint/dbarexpstk.rb,
lib/zint/dbaromnstk.rb,
lib/zint/hibcblockf.rb,
lib/zint/hibcmicpdf.rb,
lib/zint/japan_post.rb,
lib/zint/korea_post.rb,
lib/zint/msiplessey.rb,
lib/zint/pdf417comp.rb,
lib/zint/rss14stack.rb,
lib/zint/telepennum.rb,
lib/zint/c25standard.rb,
lib/zint/codablock_f.rb,
lib/zint/data_matrix.rb,
lib/zint/grid_matrix.rb,
lib/zint/mailmark_2d.rb,
lib/zint/mailmark_4s.rb,
lib/zint/pdf417trunc.rb,
lib/zint/rssexpstack.rb,
lib/zint/zint_recipe.rb,
lib/zint/aus_redirect.rb,
lib/zint/bitmap_pixel.rb,
lib/zint/dependencies.rb,
lib/zint/micro_pdf417.rb,
lib/zint/rss14stackomni.rb,
lib/zint/structs/symbol.rb,
lib/zint/structs/vector.rb,
lib/zint/constants/errors.rb,
lib/zint/structs/structapp.rb,
lib/zint/constants/warnings.rb,
lib/zint/structs/vector_rect.rb,
lib/zint/constants/debug_flags.rb,
lib/zint/constants/symbologies.rb,
lib/zint/constants/warn_levels.rb,
lib/zint/structs/vector_circle.rb,
lib/zint/structs/vector_string.rb,
lib/zint/structs/vector_hexagon.rb,
lib/zint/constants/output_options.rb,
lib/zint/constants/capability_flags.rb,
lib/zint/constants/input_data_types.rb,
lib/zint/constants/specific_options.rb

Defined Under Namespace

Modules: Constants, Structs Classes: AusPost, AusRedirect, AusReply, AusRoute, Azrune, Aztec, Barcode, Bc412, Bitmap, BitmapPixel, C25iata, C25ind, C25inter, C25logic, C25matrix, C25standard, CepNet, Channel, Codabar, CodablockF, Code11, Code128, Code128AB, Code128B, Code16k, Code32, Code39, Code49, Code93, CodeOne, Daft, DataMatrix, DbarExp, DbarExpstk, DbarLtd, DbarOmn, DbarOmnstk, DbarStk, DotCode, Dpd, Dpident, Dpleit, Ean128, Ean14, Eanx, EanxChk, Error, Excode39, Fim, Flat, GridMatrix, Gs1_128, Hanxin, Hibc128, Hibc39, HibcAztec, HibcBlockf, HibcDm, HibcMicpdf, HibcPdf, HibcQr, Isbnx, Itf14, JapanPost, Kix, KoreaPost, Logmars, Mailmark, Mailmark2D, Mailmark4S, MaxiCode, MicroPdf417, MicroQr, MsiPlessey, Nve18, OneCode, Pdf417, Pdf417comp, Pdf417trunc, Pharma, PharmaTwo, Planet, Plessey, Postnet, Pzn, Qr, Rmqr, Rss14, Rss14stack, Rss14stackOmni, RssExp, RssExpstack, RssLtd, Telepen, TelepenNum, Ultra, UpcA, UpcAChk, UpcE, UpcEChk, Upnqr, UpuS10, UspsImail, Vin, ZintRecipe

Constant Summary collapse

ERROR_CLASS_FOR_RESULT =
{}
VERSION =
"1.4.0"
ZINT_VERSION =
ENV["ZINT_VERSION"] || "2.12.0"
ZINT_SOURCE_URI =
"https://downloads.sourceforge.net/zint/zint-#{ZINT_VERSION}-src.tar.gz"
ZINT_SOURCE_SHA1 =
"6e16036d9822895edededd96e65da755ef3fdb69"
MINI_PORTILE_VERSION =
"~> 2.1"

Constants included from Constants::Warnings

Constants::Warnings::WARNINGS

Constants included from Constants::WarnLevels

Constants::WarnLevels::WARN_DEFAULT, Constants::WarnLevels::WARN_FAIL_ALL

Constants included from Constants::Symbologies

Constants::Symbologies::BARCODE_AUSPOST, Constants::Symbologies::BARCODE_AUSREDIRECT, Constants::Symbologies::BARCODE_AUSREPLY, Constants::Symbologies::BARCODE_AUSROUTE, Constants::Symbologies::BARCODE_AZRUNE, Constants::Symbologies::BARCODE_AZTEC, Constants::Symbologies::BARCODE_BC412, Constants::Symbologies::BARCODE_C25IATA, Constants::Symbologies::BARCODE_C25IND, Constants::Symbologies::BARCODE_C25INTER, Constants::Symbologies::BARCODE_C25LOGIC, Constants::Symbologies::BARCODE_C25MATRIX, Constants::Symbologies::BARCODE_C25STANDARD, Constants::Symbologies::BARCODE_CEPNET, Constants::Symbologies::BARCODE_CHANNEL, Constants::Symbologies::BARCODE_CODABAR, Constants::Symbologies::BARCODE_CODABLOCKF, Constants::Symbologies::BARCODE_CODE11, Constants::Symbologies::BARCODE_CODE128, Constants::Symbologies::BARCODE_CODE128AB, Constants::Symbologies::BARCODE_CODE128B, Constants::Symbologies::BARCODE_CODE16K, Constants::Symbologies::BARCODE_CODE32, Constants::Symbologies::BARCODE_CODE39, Constants::Symbologies::BARCODE_CODE49, Constants::Symbologies::BARCODE_CODE93, Constants::Symbologies::BARCODE_CODEONE, Constants::Symbologies::BARCODE_DAFT, Constants::Symbologies::BARCODE_DATAMATRIX, Constants::Symbologies::BARCODE_DBAR_EXP, Constants::Symbologies::BARCODE_DBAR_EXPSTK, Constants::Symbologies::BARCODE_DBAR_EXPSTK_CC, Constants::Symbologies::BARCODE_DBAR_EXP_CC, Constants::Symbologies::BARCODE_DBAR_LTD, Constants::Symbologies::BARCODE_DBAR_LTD_CC, Constants::Symbologies::BARCODE_DBAR_OMN, Constants::Symbologies::BARCODE_DBAR_OMNSTK, Constants::Symbologies::BARCODE_DBAR_OMNSTK_CC, Constants::Symbologies::BARCODE_DBAR_OMN_CC, Constants::Symbologies::BARCODE_DBAR_STK, Constants::Symbologies::BARCODE_DBAR_STK_CC, Constants::Symbologies::BARCODE_DOTCODE, Constants::Symbologies::BARCODE_DPD, Constants::Symbologies::BARCODE_DPIDENT, Constants::Symbologies::BARCODE_DPLEIT, Constants::Symbologies::BARCODE_EAN128, Constants::Symbologies::BARCODE_EAN128_CC, Constants::Symbologies::BARCODE_EAN14, Constants::Symbologies::BARCODE_EANX, Constants::Symbologies::BARCODE_EANX_CC, Constants::Symbologies::BARCODE_EANX_CHK, Constants::Symbologies::BARCODE_EXCODE39, Constants::Symbologies::BARCODE_FIM, Constants::Symbologies::BARCODE_FLAT, Constants::Symbologies::BARCODE_GRIDMATRIX, Constants::Symbologies::BARCODE_GS1_128, Constants::Symbologies::BARCODE_GS1_128_CC, Constants::Symbologies::BARCODE_HANXIN, Constants::Symbologies::BARCODE_HIBC_128, Constants::Symbologies::BARCODE_HIBC_39, Constants::Symbologies::BARCODE_HIBC_AZTEC, Constants::Symbologies::BARCODE_HIBC_BLOCKF, Constants::Symbologies::BARCODE_HIBC_DM, Constants::Symbologies::BARCODE_HIBC_MICPDF, Constants::Symbologies::BARCODE_HIBC_PDF, Constants::Symbologies::BARCODE_HIBC_QR, Constants::Symbologies::BARCODE_ISBNX, Constants::Symbologies::BARCODE_ITF14, Constants::Symbologies::BARCODE_JAPANPOST, Constants::Symbologies::BARCODE_KIX, Constants::Symbologies::BARCODE_KOREAPOST, Constants::Symbologies::BARCODE_LAST, Constants::Symbologies::BARCODE_LOGMARS, Constants::Symbologies::BARCODE_MAILMARK, Constants::Symbologies::BARCODE_MAILMARK_2D, Constants::Symbologies::BARCODE_MAILMARK_4S, Constants::Symbologies::BARCODE_MAXICODE, Constants::Symbologies::BARCODE_MICROPDF417, Constants::Symbologies::BARCODE_MICROQR, Constants::Symbologies::BARCODE_MSI_PLESSEY, Constants::Symbologies::BARCODE_NVE18, Constants::Symbologies::BARCODE_ONECODE, Constants::Symbologies::BARCODE_PDF417, Constants::Symbologies::BARCODE_PDF417COMP, Constants::Symbologies::BARCODE_PDF417TRUNC, Constants::Symbologies::BARCODE_PHARMA, Constants::Symbologies::BARCODE_PHARMA_TWO, Constants::Symbologies::BARCODE_PLANET, Constants::Symbologies::BARCODE_PLESSEY, Constants::Symbologies::BARCODE_POSTNET, Constants::Symbologies::BARCODE_PZN, Constants::Symbologies::BARCODE_QRCODE, Constants::Symbologies::BARCODE_RM4SCC, Constants::Symbologies::BARCODE_RMQR, Constants::Symbologies::BARCODE_RSS14, Constants::Symbologies::BARCODE_RSS14STACK, Constants::Symbologies::BARCODE_RSS14STACK_CC, Constants::Symbologies::BARCODE_RSS14STACK_OMNI, Constants::Symbologies::BARCODE_RSS14_CC, Constants::Symbologies::BARCODE_RSS14_OMNI_CC, Constants::Symbologies::BARCODE_RSS_EXP, Constants::Symbologies::BARCODE_RSS_EXPSTACK, Constants::Symbologies::BARCODE_RSS_EXPSTACK_CC, Constants::Symbologies::BARCODE_RSS_EXP_CC, Constants::Symbologies::BARCODE_RSS_LTD, Constants::Symbologies::BARCODE_RSS_LTD_CC, Constants::Symbologies::BARCODE_TELEPEN, Constants::Symbologies::BARCODE_TELEPEN_NUM, Constants::Symbologies::BARCODE_ULTRA, Constants::Symbologies::BARCODE_UPCA, Constants::Symbologies::BARCODE_UPCA_CC, Constants::Symbologies::BARCODE_UPCA_CHK, Constants::Symbologies::BARCODE_UPCE, Constants::Symbologies::BARCODE_UPCE_CC, Constants::Symbologies::BARCODE_UPCE_CHK, Constants::Symbologies::BARCODE_UPNQR, Constants::Symbologies::BARCODE_UPU_S10, Constants::Symbologies::BARCODE_USPS_IMAIL, Constants::Symbologies::BARCODE_VIN

Constants included from Constants::SpecificOptions

Constants::SpecificOptions::DM_DMRE, Constants::SpecificOptions::DM_SQUARE, Constants::SpecificOptions::ULTRA_COMPRESSION, Constants::SpecificOptions::ZINT_FULL_MULTIBYTE

Constants included from Constants::OutputOptions

Constants::OutputOptions::BARCODE_BIND, Constants::OutputOptions::BARCODE_BIND_TOP, Constants::OutputOptions::BARCODE_BOX, Constants::OutputOptions::BARCODE_DOTTY_MODE, Constants::OutputOptions::BARCODE_NO_QUIET_ZONES, Constants::OutputOptions::BARCODE_QUIET_ZONES, Constants::OutputOptions::BARCODE_STDOUT, Constants::OutputOptions::BOLD_TEXT, Constants::OutputOptions::CMYK_COLOUR, Constants::OutputOptions::COMPLIANT_HEIGHT, Constants::OutputOptions::GS1_GS_SEPARATOR, Constants::OutputOptions::OUT_BUFFER_INTERMEDIATE, Constants::OutputOptions::READER_INIT, Constants::OutputOptions::SMALL_TEXT

Constants included from Constants::InputDataTypes

Constants::InputDataTypes::DATA_MODE, Constants::InputDataTypes::ESCAPE_MODE, Constants::InputDataTypes::FAST_MODE, Constants::InputDataTypes::GS1NOCHECK_MODE, Constants::InputDataTypes::GS1PARENS_MODE, Constants::InputDataTypes::GS1_MODE, Constants::InputDataTypes::HEIGHTPERROW_MODE, Constants::InputDataTypes::UNICODE_MODE

Constants included from Constants::Errors

Constants::Errors::ERRORS

Constants included from Constants::DebugFlags

Constants::DebugFlags::ZINT_DEBUG_PRINT, Constants::DebugFlags::ZINT_DEBUG_TEST

Constants included from Constants::CapabilityFlags

Constants::CapabilityFlags::ZINT_CAP_COMPLIANT_HEIGHT, Constants::CapabilityFlags::ZINT_CAP_COMPOSITE, Constants::CapabilityFlags::ZINT_CAP_DOTTY, Constants::CapabilityFlags::ZINT_CAP_ECI, Constants::CapabilityFlags::ZINT_CAP_EXTENDABLE, Constants::CapabilityFlags::ZINT_CAP_FIXED_RATIO, Constants::CapabilityFlags::ZINT_CAP_FULL_MULTIBYTE, Constants::CapabilityFlags::ZINT_CAP_GS1, Constants::CapabilityFlags::ZINT_CAP_HRT, Constants::CapabilityFlags::ZINT_CAP_MASK, Constants::CapabilityFlags::ZINT_CAP_QUIET_ZONES, Constants::CapabilityFlags::ZINT_CAP_READER_INIT, Constants::CapabilityFlags::ZINT_CAP_STACKABLE, Constants::CapabilityFlags::ZINT_CAP_STRUCTAPP

Class Method Summary collapse

Class Method Details

.library_versionInteger

Returns library version of the current zint

Returns:

  • (Integer)

    library version



165
166
167
# File 'lib/zint.rb', line 165

def self.library_version
  Native.ZBarcode_Version
end