mirror of
				https://github.com/python-escpos/python-escpos
				synced 2025-10-23 09:30:00 +00:00 
			
		
		
		
	Fixed outdated example file: should be font 'b' not 'B'
Updated AUTHORS using script.
This commit is contained in:
		 Sergio Pulgarin
					Sergio Pulgarin
				
			
				
					committed by
					
						 Patrick Kanzler
						Patrick Kanzler
					
				
			
			
				
	
			
			
			 Patrick Kanzler
						Patrick Kanzler
					
				
			
						parent
						
							19663ec574
						
					
				
				
					commit
					99034d0575
				
			
							
								
								
									
										3
									
								
								.mailmap
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								.mailmap
									
									
									
									
									
								
							| @@ -8,4 +8,5 @@ Cody (Quantified Code Bot) <cody@quantifiedcode.com> Cody <cody@quantifiedcode.c | ||||
| Renato Lorenzi <renato.lorenzi@senior.com.br>        Renato.Lorenzi <renato.lorenzi@senior.com.br> | ||||
| Ahmed Tahri <nyuubi.10@gmail.com>                    TAHRI Ahmed <nyuubi.10@gmail.com> | ||||
| Michael Elsdörfer <michael@elsdoerfer.com>           Michael Elsdörfer <michael@elsdoerfer.info> | ||||
| csoft2k <csoft2k@hotmail.com> | ||||
| csoft2k <csoft2k@hotmail.com> | ||||
| Sergio Pulgarin <sergio.pulgarin@gmail.com> | ||||
|   | ||||
							
								
								
									
										1
									
								
								AUTHORS
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								AUTHORS
									
									
									
									
									
								
							| @@ -22,6 +22,7 @@ Qian Linfeng | ||||
| Renato Lorenzi | ||||
| Romain Porte | ||||
| Sam Cheng | ||||
| Sergio Pulgarin | ||||
| Stephan Sokolow | ||||
| Thijs Triemstra | ||||
| Thomas van den Berg | ||||
|   | ||||
| @@ -37,14 +37,14 @@ def print_codepage(printer, codepage): | ||||
|     sep = "" | ||||
|  | ||||
|     # Table header | ||||
|     printer.set(text_type='B') | ||||
|     printer.set(font='b') | ||||
|     printer._raw("  {}\n".format(sep.join(map(lambda s: hex(s)[2:], range(0, 16))))) | ||||
|     printer.set() | ||||
|  | ||||
|     # The table | ||||
|     for x in range(0, 16): | ||||
|         # First column | ||||
|         printer.set(text_type='B') | ||||
|         printer.set(font='b') | ||||
|         printer._raw("{} ".format(hex(x)[2:])) | ||||
|         printer.set() | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user