mirror of
				https://github.com/python-escpos/python-escpos
				synced 2025-10-23 09:30:00 +00:00 
			
		
		
		
	Merge branch 'master' into development
This commit is contained in:
		
							
								
								
									
										12
									
								
								README.rst
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								README.rst
									
									
									
									
									
								
							@@ -54,14 +54,14 @@ The basic usage is:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
.. code:: python
 | 
					.. code:: python
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    from escpos import *
 | 
					    from escpos.printer import Usb
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    """ Seiko Epson Corp. Receipt Printer M129 Definitions (EPSON TM-T88IV) """
 | 
					    """ Seiko Epson Corp. Receipt Printer M129 Definitions (EPSON TM-T88IV) """
 | 
				
			||||||
    Epson = escpos.Escpos(0x04b8,0x0202,0)
 | 
					    p = Usb(0x04b8,0x0202,0)
 | 
				
			||||||
    Epson.text("Hello World\n")
 | 
					    p.text("Hello World\n")
 | 
				
			||||||
    Epson.image("logo.gif")
 | 
					    p.image("logo.gif")
 | 
				
			||||||
    Epson.barcode('1324354657687','EAN13',64,2,'','')
 | 
					    p.barcode('1324354657687','EAN13',64,2,'','')
 | 
				
			||||||
    Epson.cut()
 | 
					    p.cut()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The full project-documentation is available on `Read the Docs <https://python-escpos.readthedocs.io>`_.
 | 
					The full project-documentation is available on `Read the Docs <https://python-escpos.readthedocs.io>`_.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user