Fix some docstrings
This commit is contained in:
parent
c4eb21e83d
commit
d3946212c7
@ -88,7 +88,6 @@ class CupsPrinter(Escpos):
|
|||||||
"""Class constructor for CupsPrinter.
|
"""Class constructor for CupsPrinter.
|
||||||
|
|
||||||
:param printer_name: CUPS printer name (Optional)
|
:param printer_name: CUPS printer name (Optional)
|
||||||
:type printer_name: str
|
|
||||||
:param host: CUPS server host/ip (Optional)
|
:param host: CUPS server host/ip (Optional)
|
||||||
:type host: str
|
:type host: str
|
||||||
:param port: CUPS server port (Optional)
|
:param port: CUPS server port (Optional)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
"""This module contains the implementation of the CupsPrinter printer driver.
|
"""This module contains the implementation of the File printer driver.
|
||||||
|
|
||||||
:author: python-escpos developers
|
:author: python-escpos developers
|
||||||
:organization: `python-escpos <https://github.com/python-escpos>`_
|
:organization: `python-escpos <https://github.com/python-escpos>`_
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
"""This module contains the implementation of the CupsPrinter printer driver.
|
"""This module contains the implementation of the LP printer driver.
|
||||||
|
|
||||||
:author: python-escpos developers
|
:author: python-escpos developers
|
||||||
:organization: `python-escpos <https://github.com/python-escpos>`_
|
:organization: `python-escpos <https://github.com/python-escpos>`_
|
||||||
@ -67,7 +67,6 @@ class LP(Escpos):
|
|||||||
"""LP class constructor.
|
"""LP class constructor.
|
||||||
|
|
||||||
:param printer_name: CUPS printer name (Optional)
|
:param printer_name: CUPS printer name (Optional)
|
||||||
:type printer_name: str
|
|
||||||
:param auto_flush: Automatic flush after every _raw() (Optional)
|
:param auto_flush: Automatic flush after every _raw() (Optional)
|
||||||
:type auto_flush: bool
|
:type auto_flush: bool
|
||||||
"""
|
"""
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
"""This module contains the implementation of the CupsPrinter printer driver.
|
"""This module contains the implementation of the Serial printer driver.
|
||||||
|
|
||||||
:author: python-escpos developers
|
:author: python-escpos developers
|
||||||
:organization: `python-escpos <https://github.com/python-escpos>`_
|
:organization: `python-escpos <https://github.com/python-escpos>`_
|
||||||
@ -22,8 +22,6 @@ _DEP_PYSERIAL = False
|
|||||||
try:
|
try:
|
||||||
import serial
|
import serial
|
||||||
|
|
||||||
# import serial.SerialException
|
|
||||||
|
|
||||||
_DEP_PYSERIAL = True
|
_DEP_PYSERIAL = True
|
||||||
except ImportError:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
"""This module contains the implementation of the CupsPrinter printer driver.
|
"""This module contains the implementation of the Win32Raw printer driver.
|
||||||
|
|
||||||
:author: python-escpos developers
|
:author: python-escpos developers
|
||||||
:organization: `python-escpos <https://github.com/python-escpos>`_
|
:organization: `python-escpos <https://github.com/python-escpos>`_
|
||||||
|
Loading…
x
Reference in New Issue
Block a user