merge-label-cli
v1.0.0
Published
A CLI tool to merge a 4x6 shipping label PDF and a logo image into a printable 4x8 PDF for thermal printers like MUNBYN.
Maintainers
Readme
merge-label-cli
A CLI tool to merge a logo and a 4×6 shipping label PDF into a 4×8 layout, perfect for printing with thermal printers like MUNBYN.
✨ Features
- Inserts your store's logo centered in the top 2" of a 4×8" label
- Places an existing 4×6" shipping label below
- Outputs a print-ready 4×8 PDF
- Maintains aspect ratio and applies left/right padding
- Ideal for custom-branded shipping labels
📦 Installation
npm install -g merge-label-cli🛠️ Usage
merge-label --logo path/to/logo.jpg --label path/to/label.pdf --output path/to/output.pdfOptions:
| Flag | Description |
| ---------- | --------------------------------------- |
| --logo | Path to logo image (JPG or PNG) |
| --label | Path to existing 4×6 shipping label PDF |
| --output | Output path for the merged 4×8 PDF |
🖨️ Example
merge-label --logo acme-logo.png --label usps-label.pdf --output label-4x8.pdfThis creates a new label-4x8.pdf with the logo on top and label on the bottom.
