mirror of
https://github.com/python-escpos/python-escpos
synced 2025-08-24 09:03:34 +00:00
use print function in example
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
"""Prints code page tables.
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import six
|
||||
import sys
|
||||
|
||||
@@ -21,7 +23,7 @@ def main():
|
||||
|
||||
dummy.cut()
|
||||
|
||||
print dummy.output
|
||||
print(dummy.output)
|
||||
|
||||
|
||||
def print_codepage(printer, codepage):
|
||||
|
Reference in New Issue
Block a user