• Resolved blackarmy

    (@blackarmy)


    Hi,
    ? ?Just a small help needed ? How to change the font size of the field? below the additional order information. If you check up the attached image I want to change the font size or make it bold or bigger of the custom data field below additional order information field: like change the font size of? : Service Type Pickup / Service date/ Service time?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor lawrenceowen

    (@lawrenceowen)

    @blackarmy

    You can change the font scaling by modifying the php code if you are comfortable with doing that.
    You will need to modify the function named star_cloudprnt_create_receipt_order_meta_data in the file order-handler.php.

    You can add the line $printer->set_font_magnification(w, h); to change the font size, where w is the font width magnification (1 for standard width, 2 for double, etc.) and h is the height. only whole numbers are allowed from 1 to 6.

    to scale absolutely everything to double wide/high text, just put:
    $printer->set_font_magnification(2, 2); at the top of the function, and
    $printer->set_font_magnification(1, 1); at the end.

    I think that you already have a modified version of order-handler.php so if you aren’t comfortable making the changes yourself (or have any trouble) then please past your star_cloudprnt_create_receipt_order_meta_data function here and I will help you to modify it. Or contact the UK office directly so that we can help you to modify your order-handler.php.

    Thread Starter blackarmy

    (@blackarmy)

    Hi Lawrence,
    Thanks for your reply. I have sent email from UK office website . Cheers.

    Dave

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing the Font’ is closed to new replies.