Probably yes, I Change document to HTML instead of PDF and customized the template file to my own needs.
Plugin Contributor
dwpriv
(@dwpriv)
@muntasirbr you can adjust the dimensions of the PDFs to fit your needs. Once you do that, you may need to update the sizes of the text in the document, as changing the size of the PDF doesn’t adjust the text. You can use this guide to adjust the dimensions.
Thanks, How can I adjust the text size in PDF?
Hi @muntasirbr .
You can see template creation guide at this link and create your template for your PDF.
text size can be changed through style.css or in your template inline css.
Note that custom pdf size guide does not apply on Mpdf and RTL template of it, you need to change sizes manually in Mpdf plugin.
Plugin Contributor
dwpriv
(@dwpriv)
@muntasirbr as @atshan mentioned, you can change the font sizes using CSS rules in the style.css file, or using a code snippet. If you’ve setup a custom template and are therefore using the style.css file, you can paste this CSS there
body, p, .meta, .item-meta, dd {
font-size: 0.8rem;
}
Hello everyone,
Please check the following reply, in which is explained how to configure the plugin for thermal printers with an 80 mm paper size: https://ww.wp.xz.cn/support/topic/how-to-set-diferent-paper-size-for-package-slips/#post-17482461
Please note that the document scope is limited to the packing slip, but if you want to apply this to the invoice, just change 'packing-slip' with 'invoice' or remove the condition altogether, if you want to apply the same behavior to both documents.