• Resolved nirmalnair

    (@nirmalnair)


    Hello,

    We have been using the plugin alongside star tsp654ii printer.

    1. By default we only get 1 copy of the receipt printed out .how do we get multiple copies.?

    2. We wanted to get same receipt printed at another location as well could we do that.? eg. Right now the printer is placed at billing section. We would like to get another printer placed and configured in kitchen section to automatically generate receipts whenever a woocommerce order is processing.

    I did see earlier topic where certain updated version of the plugin was shared , however those links seem to be expired, hence would appreciate your help on this matter.

    Thankyou so much for your assistance.

Viewing 11 replies - 16 through 26 (of 26 total)
  • Plugin Contributor lawrenceowen

    (@lawrenceowen)

    @lewis-rowlands That mainly depends on how the plugin you use attaches its information to the order. In most cases, it will work although you may have to adjust our pugin if you require specific formatting of the output. I have tested the Delivery & Pickup Date Time for WooCommerce plugin and all seems to work ok.

    These things do work a bit better with the new 2.0 plugin, but that doesn’t yet support printing to multiple devices, and it should print ok with the version you have.

    lewis rowlands

    (@lewis-rowlands)

    Hi @lawrenceowen

    Thanks for your help with this by the way. I have installed multiple delivery and pickup slot plugins and I purchased the pro version of the plugin you suggested.

    Unfortunately, the receipts do not print ANY delivery slot dates or times from ANY plugin.

    Any idea what’s going off there?

    Many thanks

    Plugin Contributor lawrenceowen

    (@lawrenceowen)

    @lewis-rowlands I’m not sure which version of the Star plugin you are using, but please install the version 2.0 sample, and enable the “Print additional order meta-data, such as custom fields.” setting, and possibly the “Include hidden fields” option too.

    Version 2.0 can be downloaded from this forum thread.

    The 1.1.x and earlier versions of the Star plugin don’t support printing additional fields from external plugins, so you will need one of the pre-release sample versions, of which I recommend the 2.0 beta.

    lewis rowlands

    (@lewis-rowlands)

    Hi Lawrence @lawrenceowen thanks your reply,

    We may have an issue then because I am using the plugin you gave me to print multiple copies as we need them for front of house and for kitchen, does the new version handle multiple copies like the plugin you sent me to use?

    Plugin Contributor lawrenceowen

    (@lawrenceowen)

    @lewis-rowlands ah, of course, thanks for reminding me. No version 2.0 doesn’t yet implement that, I plan it as an official feature, but only after 2.0 is released and proven to be solid. 2.0 is intended to re-base the plugin code, so that I can more efficiently add new features and hopefully reduce the confusion of having so many sample and customised versions.

    The multi-printer sample version that you have is based on 1.2 though, and should have a setting to enable printing additional order fields. Is that setting enabled for your site?

    lewis rowlands

    (@lewis-rowlands)

    @lawrenceowen aaaaaah oh yes, brilliant, thanks for your help!!

    Plugin Contributor lawrenceowen

    (@lawrenceowen)

    @lewis-rowlands No problem, I hope it’s working ok now.

    Version 2.0 does improve the additional order information printing a bit, reformatting the key names (e.g. “delivery_date” will print as “Delivery Date”), ignoring hidden fields by default, and allowing you to remove fields that you don’t want. So keep an eye out for multi-printer support being added officially, but obviously please hold-off upgrading until then.

    lewis rowlands

    (@lewis-rowlands)

    One last question, If I am wanting to increase font size for the delivery dates/times where can I do that in the order-handler file?

    Plugin Contributor lawrenceowen

    (@lawrenceowen)

    @lewis-rowlands
    In the version of the plugin you are using, that would be in a function named star_cloudprnt_create_receipt_order_meta_data().

    For example, to print a field named “delivery_date” with a double size font:

    Change this part:

    $item_data = $meta_data_item->get_data();
    $printer->add_text_line($item_data["key"].": ".$item_data["value"]);

    To something like (warning, untested code, just an example):

    $item_data = $meta_data_item->get_data();
    if ($item_data["key"] == "delivery_date"){
      $printer->set_font_magnification(2, 2);
      $printer->add_text_line($item_data["key"].": ".$item_data["value"]);
      $printer->set_font_magnification(1, 1);
    } else {
      $printer->add_text_line($item_data["key"].": ".$item_data["value"]);
    }
    lewis rowlands

    (@lewis-rowlands)

    Thanks mate much appreciated!!

    marketwho

    (@marketwho)

    @lawrenceowen

    Thank you for all of your help with everything. Everything is working great with the exception of versions above 1.20 beta do not allow printing to multiple printers. Please enable the latest version to allow multi-printer support again.

    Thanks again

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘Multiple Copies & 2 Printers’ is closed to new replies.