Support » Plugin: WooCommerce Print Invoice & Delivery Note » can this be used to resize invoice paper size?

  • Resolved jthompsonjr

    (@jthompsonjr)


    I need to create invoices that will print on a ticket/receipt printer (restaurant type ticket printer). Will this plugin do that?

    If not, can someone suggest one that will?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support komal-maru

    (@komal-maru)

    Hi @jthompsonjr,

    Yes, you can change the font of the Invoice and Delivery note with CSS. Use the wcdn_head hook and then write your own CSS code. It’s best to place the code in the functions.php file of your theme.

    An example that changes the font and makes the addresses very large. Paste the code in the functions.php file of your theme:

    function example_serif_font_and_large_address() {
        ?>
            <style> 
                #page {
                font-size: 1em;
                font-family: Georgia, serif;
            }
    
            .order-addresses address {
                font-size: 2.5em;
                line-height: 125%;
            }
        </style>
    <?php
    }
    add_action( 'wcdn_head', 'example_serif_font_and_large_address', 20 );

    We have added this point in the FAQ list on the plugin’s page as well if you have missed checking on it. 😉

    Regards,
    Komal Maru

    jthompsonjr

    (@jthompsonjr)

    Could I change the paper size it prints to?

    Plugin Support komal-maru

    (@komal-maru)

    Hi @jthompsonjr,

    Currently, we have ‘Letter, A4’ size option for the Paper Size setting while printing any Invoice, Receipt or Delivery Note.

    You can make CSS changes according to your requirement using the above provided one.

    Regards,
    Komal Maru

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.