Title: Change Print Width
Last modified: August 14, 2017

---

# Change Print Width

 *  Resolved [Mafz](https://wordpress.org/support/users/mahfuzhannan/)
 * (@mahfuzhannan)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/change-print-width/)
 * Hi,
 * I was wodering how I can change the width of the receipt to print. I have had
   a look at the email_print.php file and found something along the lines of this:
 *     ```
       /***************************************
                        rows
       ***************************************/
       foreach($section_values['parameters'] as $value_key => $values){
   
       	if(!empty($values['enabled']) && !empty($order_formatted['sections'][$section_key][$value_key])){
   
       	/* left label, right value using filter to space evenly*/
       	$row = array();
       	$row['lft'] = $order_formatted['sections'][$section_key][$value_key]['label'];
       	$row['rgt'] = $order_formatted['sections'][$section_key][$value_key]['value_formatted'];
   
       	/** line **/
       	$tpl[$section_key][$value_key] = apply_filters('wppizza_filter_plaintext_line', $row, ' ');
   
       	}
   
       }
       ```
   
 * do you know how i can reduce the size for 58mm POS? Assuming it’s a variable 
   hidden away somewhere?
    -  This topic was modified 8 years, 10 months ago by [Mafz](https://wordpress.org/support/users/mahfuzhannan/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [ollybach](https://wordpress.org/support/users/ollybach/)
 * (@ollybach)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/change-print-width/#post-9408949)
 * any plaintext (email/print) is set to 74 characters width per line
 * if you need variable width, text-sizes etc etc i would suggest you change the
   template to HTML and set your declarations there depending on how your printer
   does things

Viewing 1 replies (of 1 total)

The topic ‘Change Print Width’ is closed to new replies.

 * ![](https://ps.w.org/wppizza/assets/icon-256x256.png?rev=2498121)
 * [WPPizza - A Restaurant Plugin](https://wordpress.org/plugins/wppizza/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wppizza/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wppizza/)
 * [Active Topics](https://wordpress.org/support/plugin/wppizza/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wppizza/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wppizza/reviews/)

## Tags

 * [print](https://wordpress.org/support/topic-tag/print/)

 * 1 reply
 * 2 participants
 * Last reply from: [ollybach](https://wordpress.org/support/users/ollybach/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/change-print-width/#post-9408949)
 * Status: resolved