mirror of
				https://github.com/python-escpos/python-escpos
				synced 2025-10-23 09:30:00 +00:00 
			
		
		
		
	DOC improve docstring of direct_image
This commit is contained in:
		@@ -208,9 +208,11 @@ class Escpos(object):
 | 
			
		||||
            current += bandsize
 | 
			
		||||
 | 
			
		||||
    def direct_image(self, image):
 | 
			
		||||
        """ Send image to printer
 | 
			
		||||
        """ Direct printing function for pictures
 | 
			
		||||
 | 
			
		||||
        :param image:
 | 
			
		||||
        This function is rather fragile and will fail when the Image object is not suited.
 | 
			
		||||
 | 
			
		||||
        :param image: PIL image object, containing a 1-bit picture
 | 
			
		||||
        """
 | 
			
		||||
        mask = 0x80
 | 
			
		||||
        i = 0
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user