Support » Plugin: WooCommerce PDF Invoices & Packing Slips » print to billing slip

  • Resolved winner singh



    instead of print from the wocomerce order, I want to print the bills from the email gmail , how it is possible that when i give print command in the gmail it will print like same as invoice

    and second question is i want to print on small printer like we get the bill slip from grosery store.

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


    Hello @winner-singh

    Our plugin doesn’t have any kind of integration with GMail, unless you are receiving the invoices attached to emails, in that case you can print from there.

    For the second question, look at our documentation for custom page size/orientation.

    winner singh


    @alexmigf okay and next question is Like I use the code for invoice is this one, so what kind printer should i order, can you suggest me.

    add_filter( ‘wpo_wcpdf_paper_format’, ‘wcpdf_custom_inch_page_size’, 10, 2 );
    function wcpdf_custom_inch_page_size($paper_format, $template_type) {
    // change the values below
    $width = 5.5; //inches!
    $height = 8.5; //inches!

    //convert inches to points
    $paper_format = array( 0, 0, $width * 72, $height * 72 );

    return $paper_format;

    Plugin Support alexmigf


    Hi @winner-singh

    You can choose any printer you like and then adjust the size and orientation with that code.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘print to billing slip’ is closed to new replies.