cups-label-crop is a CUPS print server with AirPrint and a "Label Crop" printer for online sellers. Vinted, InPost, Evri, Royal Mail and many marketplaces send shipping labels as a PDF with the label sitting on an A4 sheet. Print that sheet to Label Crop from your phone or computer, and the container finds the label, crops it, turns it upright and sends a sharp 4x6 label to your thermal printer. No app, no website, no manual cropping. Barcodes stay vector, so they scan cleanly. - Works with any CUPS label printer: Zebra, Rollo, Munbyn, SATO, DYMO, Brother and others - AirPrint built in, so it shows up on iPhone/iPad/Mac on your network - Vendor drivers: drop the .deb in appdata/cups-label-crop/drivers and it's installed on every start, so it survives updates - Configurable label size (4x6, 100x150 mm, 4x4), padding and rotation - amd64 and arm64 images - Already run CUPS elsewhere? There's a careful add-on installer for existing CUPS servers (see the README) - GPL-3.0. Label detection is based on dodopus/vinted-label-4x6. Thanks dodopus! Setup 1. Install from CA. Keep Network = host (needed for AirPrint) and set an admin password. 2. Open the WebUI (port 631), add your label printer as Label_Printer (or whatever you set in Target printer queue), and set its default media to 4x6. 3. On your phone, print the carrier's A4 PDF to Label Crop. You can rename it, e.g. "Vinted Labels", with Crop queue display name. Remote printing over Tailscale and the iOS profile are covered in the README. Links GitHub: https://github.com/Dyingmisery/cups-label-crop Releases: https://github.com/Dyingmisery/cups-label-crop/releases Image: ghcr.io/dyingmisery/cups-label-crop When asking for help, please post your printer model and how it's connected, the container log (docker logs cups-label-crop), and the job message from the CUPS web UI Jobs tab. An anonymised sample PDF helps with detection problems. Please don't post real labels, since they contain names and addresses. Note: if you already run another CUPS container on host networking, stop it first, because both need port 631.