• Resolved mkilic

    (@mkilic)


    Hi,

    I am trying to customize the page size for the PDF invoices so they are formatted for POS/Thermal printers. This will be used to print restaurant food orders on a thermal printer. I’ve tried a few ways, including the suggested solution @ https://docs.wpovernight.com/woocommerce-pdf-invoices-packing-slips/use-custom-page-sizeorientation/ .

    However, this does not work well. The width of the paper seems OK, however, with thermal printers, height is determined by length of the receipt. Also, another issue I have is, how would I customize the invoice layout so it would fit in a 80mm/3inch receipt paper, in a more food receipt format instead of the standard table layout of standard woocommerce invoice?

    I am novice php coder. Any help would be appreciated.

Viewing 1 replies (of 1 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    While I don’t have any first hand experience printing on 80mm media, I have seen others using this plugin without much issues. These printers usually have a setting to determine where it should cut the paper, at the end of a document or at every page break. If you start with a base height (for example 200mm) that fits most of your printouts, and make sure that page breaks don’t get cut, you should be alright in terms of printout height AFAIK.

    For customizing the layout itself I would recommend:

    • Reducing the page margins and other margins
    • Moving the data that is currently in side-by-side columns in the header and .order-data-addresses table to their own rows

    This will not require PHP coding, the primary changes would be in HTML & CSS itself.

    Hope that helps!

Viewing 1 replies (of 1 total)
  • The topic ‘Invoice Size for POS (80MM) Printers’ is closed to new replies.