mirror of
				https://github.com/python-escpos/python-escpos
				synced 2025-10-23 09:30:00 +00:00 
			
		
		
		
	Add cut after printing demos
This commit is contained in:
		
				
					committed by
					
						
						Davis Goglin
					
				
			
			
				
	
			
			
			
						parent
						
							00ef7f129b
						
					
				
				
					commit
					a445c4205a
				
			@@ -361,6 +361,7 @@ def demo(printer, **kwargs):
 | 
			
		||||
        )
 | 
			
		||||
        for params in DEMO_FUNCTIONS[demo_choice]:
 | 
			
		||||
            command(**params)
 | 
			
		||||
        printer.cut()
 | 
			
		||||
 | 
			
		||||
if __name__ == '__main__':
 | 
			
		||||
    main()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user