Quantcast
Viewing all articles
Browse latest Browse all 11091

Forsberg+two commented on Order Printer, Multiple Packing Slips per page (4x)

Hey,

No problems at all, hope it helped a little :) That's a great solution you came up with using the printer settings to get it 4 per page, if that works then use it!

Regarding your questions: 

2)  "You need to override the default page break code built into Order Printer." How would one do something like that? App development and api access?

You would do this just in CSS of your template. Shopify Order Printer wraps your code with some of their own, and it contains some CSS for controlling where page breaks should occur, with something like:

.printer-inline-preview {
  page-break-before: avoid;
  page-break-inside: avoid;
  page-break-after: always !important;
}

That tries to get printers to behave nicely for creating new pages. So if you want it not to do the above, you need to add in overrulling CSS that does not allow page breaking after for example.

Anyway, glad you found a working solution, even if it does not solve the issue of partially printed sheets.

Best of luck with your store!

Bjorn


Viewing all articles
Browse latest Browse all 11091

Trending Articles