• Resolved skoz95

    (@skoz95)


    Hi there,

    I’m customer from France I have the
    star MCP20 printer and I would like to use your plugin to print the orders from my woocommerce website. My website use custom field (add-on) so I can have some trouble to print all the information on the receipt. Can you please provide me a link to your beta plugin or help me to integrate your email solution for thermal printer ?

    Kind regards,

Viewing 6 replies - 16 through 21 (of 21 total)
  • Plugin Contributor lawrenceowen

    (@lawrenceowen)

    Great, thanks for letting me know ??

    Thread Starter skoz95

    (@skoz95)

    Hi @lawrenceowen,

    No problem thank for your help. Last question I’m using a multi-site installation (fast-food chain like Mc donalds) with 2 subdomain, each subdomain must be linked with a dedicated thermal printer. So I can use your plugin in these subdomain without any trouble ?

    Plugin Contributor lawrenceowen

    (@lawrenceowen)

    @skoz95 You should be ok, as long as each domain has it’s own WordPress instance, with it’s own database and configuration. But, there are a lot of different ways to make multi-site installations of WordPress and a lot of plugin options to change the way the WordPress and WooCommerce function so it’s hard to guarantee.

    If you do have any issues, we are here to help.

    Plugin works great for us, thanks!

    Would be be possible to style the font for additional order info? For us the pickup date and time are very important.

    Plugin Contributor lawrenceowen

    (@lawrenceowen)

    @gendai yes you can do that as long as you are comfortable with modifying the PHP slightly?

    Are you using the same version of the plugin that we prepares for skoz95?
    Either way you can modify the star_cloudprnt_create_receipt_order_meta_data() function in order-handler.php.

    Anyway, if you put the line:
    $printer->set_font_magnification(2, 1);
    somewhere near the beginning of that function, such as just before the foreach loop, then it will switch the printer to a double wide font.
    You should also put:
    $printer->set_font_magnification(1, 1);
    to switch back to the standard size font before generating the rest of the receipt data.

    You can adjust the font size as you like where the first parameter is the width magnification, and second parameter is height. They must be whole numbers, up to a maximum magnification level of 6.

    Ciao,
    in the order printout the meta data addons have & euro ; instead of the euro symbol

    • This reply was modified 4 years, 1 month ago by cgabelli.
    • This reply was modified 4 years, 1 month ago by cgabelli.
Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Add-on and custom field’ is closed to new replies.