Zen Cart Logo
Forums / Managing Customers and Orders / Font size on receipt

Font size on receipt

Locked

Views: 1,328

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
18 Aug 2007, 8:53 PM
#1
beth_katherine avatar

beth_katherine

Zen Follower

Join Date:
Feb 2007
Posts:
158
Plugin Contributions:
0

Font size on receipt

I can't find any references to an answer to this question so perhaps I'm looking in the wrong spot but I was wondering how to change the font size on the receipts that are printed out. Right now you need a magnifying glass to read it and I want to change it to 12pt. Any clues?

Beth-Katherine

19 Aug 2007, 11:30 PM
#2
wolfsz avatar

wolfsz

Zen Follower

Join Date:
Mar 2006
Location:
Australia
Posts:
286
Plugin Contributions:
3

Re: Font size on receipt

Hi there
when you say receipt I assume you mean invoice. To change the the font size edit admin/invoice.php. For example I have done this to increase the size of my Ship To address as follows (around line 110):

<tr> <td class="main"><?php echo '<font size="4"><B>'.zen_address_format($order->delivery['format_id'], $order->delivery, 1, '', '<br>').'</B></font>'; ?></td> </tr> What I added was: "'<font size="4"><B>'. " and the closing tags: ".'</B></font>'"

Hope this helps

14 Dec 2007, 4:17 PM
#3
mike1969 avatar

mike1969

New Zenner

Join Date:
Feb 2007
Posts:
27
Plugin Contributions:
0

Re: Font size on receipt

Hi, I have followed the procedure above to make the text larger on the 'ship to' address but now have the problem that the text is too far to the left, is there any way I can move it to the right slightly?

16 Dec 2007, 9:48 PM
#4
wolfsz avatar

wolfsz

Zen Follower

Join Date:
Mar 2006
Location:
Australia
Posts:
286
Plugin Contributions:
3

Re: Font size on receipt

Hi there
If you only want to move it a tad it might be enough to insert a space using:   after the <B>

17 Dec 2007, 10:07 AM
#5
mike1969 avatar

mike1969

New Zenner

Join Date:
Feb 2007
Posts:
27
Plugin Contributions:
0

Re: Font size on receipt

Hi, Thanks for that I will give it a tr y :smile: