mirror of
				https://github.com/python-escpos/python-escpos
				synced 2025-10-23 09:30:00 +00:00 
			
		
		
		
	Update escpos.py
Set block_text to use the default font. This means calls will wrap to full paper width.
This commit is contained in:
		@@ -539,7 +539,7 @@ class Escpos(object):
 | 
			
		||||
        if count > 0:
 | 
			
		||||
            self.text('\n' * count)
 | 
			
		||||
 | 
			
		||||
    def block_text(self, txt, font=None, columns=None):
 | 
			
		||||
    def block_text(self, txt, font="0", columns=None):
 | 
			
		||||
        """ Text is printed wrapped to specified columns
 | 
			
		||||
 | 
			
		||||
        Text has to be encoded in unicode.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user