[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libbusiness-us-usps-webtools-perl and USPS Ground Advantage shipping



On Thu, 2024-03-07 at 23:15 -0500, Jeffrey Walton wrote:
> Hi Everyone,
> 
> I need to generate some shipping labels for drop-off at the USPS post
> office using USPS Ground Advantage.
> 
> I have a USB thermal printer for the shipping labels,
> <https://www.amazon.com/gp/product/B08V28J3JS>.
> 
> I see Debian carries libbusiness-us-usps-webtools-perl. I visited the
> module's GitHub at
> <https://github.com/ssimms/business-us-usps-webtools>, but the
> examples are on the lite side. I don't see a workflow similar to
> creating and printing a shipping label.
> 
> My question is, can I use the module to create and print a shipping
> label for a USPS Ground Advantage package?

When you look at the documentation at
https://metacpan.org/pod/Business::US::USPS::WebTools it looks as if
this doesn't do any printing.  The most recent commit seems to be 3
years old and I doubt that this library is still useful since the web
services it uses have probably changed in the meantime.

If you can print on the printer and want to automate printing labels,
you could use LaTeX.  Other options like scribus and libreoffice don't
run headless (unless scribus has changed).  However, I don't know what
these labels look like.

This printer has only 300dpi.  If you print QR-codes on it make sure
you can scan them: they have to be large enough or get you an
unscanable smear.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: