2 Printers and 2 templates

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #31913
    laurent
    Participant

      Hi Olly,

      Would be possible to set up 2 different printer on Google Cloud Print with 2 differents Order Print History Templates ?

      Actually the idea is one ticket with Customer Details for the delivery man
      And one ticket for the customer with only the price and the Items…

      Thank you

      Lorent

      #31914
      laurent
      Participant

        One more thing,

        How to add several printer ID on Cloud Print to have for exemple the same order print on each printer?

        (One print in the office and one in the Kitchen)

        Thank you

        #31928
        Olly
        Admin & Mod

          The plugin has a filter hook included you could use to send to different printers.
          please see here:

          https://www.wp-pizza.com/topic/printing-the-same-order-on-two-printers/

          regrading a different template for each copy, that is currently not implemented I am afraid

          #32013
          laurent
          Participant

            Hi Olly,

            Ok thank you, I will test it.

            (But for the moment I have a size problem on the second printer.
            The order is printed too small, impossible to read…)

            But to summarize, I had to put that in the funcions.php
            and replace “$printerid” by the real printer id ?

            function myprefix_wppizza_gcp_filter_copies( $printerid, $cp ) {
            if($cp == 1){
            return ‘some other printer id’;
            }else{
            return $printerid;
            }
            }
            add_filter( ‘wppizza_gcp_filter_copies’, ‘myprefix_wppizza_gcp_filter_copies’. 10, 2 );

          Viewing 4 posts - 1 through 4 (of 4 total)
          • The topic ‘2 Printers and 2 templates’ is closed to new replies.