WPPizza – A Restaurant Plugin for WordPress › Support › Feature Requests › 2 Printers and 2 templates
- AuthorPosts
- 23 October, 2017 at 10:27 am #31913
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
23 October, 2017 at 1:06 pm #31914One 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
24 October, 2017 at 10:59 am #31928The 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
26 October, 2017 at 2:14 pm #32013Hi 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 ); - AuthorPosts
- The topic ‘2 Printers and 2 templates’ is closed to new replies.