Skip to main content

Crate papermint

Crate papermint 

Source

Re-exports§

pub use charset::InternationalCharset;
pub use codepage::CodePage;
pub use encoder::Encoder;
pub use error::PapermintError;
pub use status::CoverStatus;
pub use status::DrawerStatus;
pub use status::PaperStatus;
pub use status::PrinterStatus;
pub use tax::ZatcaInvoice;
pub use tax::base64_decode;
pub use tax::base64_encode;
pub use tax::encode_zatca_tlv;
pub use tax::zatca_qr_base64;
pub use dialect::escpos::EscPos;
pub use dialect::star::Star;
pub use layout::column::ColumnWidth;
pub use layout::column::PaperWidth;
pub use layout::column::TableColumn;
pub use layout::preview::render_html;
pub use layout::preview::render_svg;
pub use layout::receipt::Receipt;
pub use printer::Printer;
pub use transport::tcp::TcpTransport;
pub use transport::vec_sink::VecSink;
pub use papermint_label as label;
pub use command::*;

Modules§

charset
International character set selection for thermal receipt printers.
codepage
Character code page tables for thermal receipt printers.
command
Command intermediate representation for printer-agnostic receipt construction.
dialect
Printer dialect abstractions.
encoder
Command stream encoder.
error
Structured, typed error variants for papermint diagnostics.
layout
Layout and formatting engine for receipts.
printer
High-level printer orchestrator.
status
Printer hardware status and sensor telemetry models.
tax
Tax and e-invoicing compliance engines.
transport
Printer communication transports.