This commit is contained in:
Thijs Triemstra 2018-02-13 01:05:55 +01:00 committed by GitHub
parent 21d3b7a980
commit 2f82beb0d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -843,7 +843,7 @@ class Escpos(object):
def is_online(self):
"""
Queries the printer its online status.
Queries the online status of the printer.
:returns: When online, returns ``True``; ``False`` otherwise.
:rtype: bool
@ -855,7 +855,8 @@ class Escpos(object):
def paper_status(self):
"""
Queries the printer its paper status.
Queries the paper status of the printer.
Returns 2 if there is plenty of paper, 1 if the paper has arrived to
the near-end sensor and 0 if there is no paper.