doc fix lists
This commit is contained in:
parent
3d98eb8b9c
commit
7c732ee615
|
@ -88,6 +88,7 @@ set("align", "font", "type", width, height, invert, smooth, flip)
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
Set text properties.
|
Set text properties.
|
||||||
|
|
||||||
* ``align`` set horizontal position for text, the possible values are:
|
* ``align`` set horizontal position for text, the possible values are:
|
||||||
|
|
||||||
* CENTER
|
* CENTER
|
||||||
|
@ -106,6 +107,7 @@ cut("mode")
|
||||||
^^^^^^^^^^^
|
^^^^^^^^^^^
|
||||||
|
|
||||||
Cut paper.
|
Cut paper.
|
||||||
|
|
||||||
* ``mode`` set a full or partial cut. *Default:* full
|
* ``mode`` set a full or partial cut. *Default:* full
|
||||||
|
|
||||||
**Partial cut is not implemented in all printers.**
|
**Partial cut is not implemented in all printers.**
|
||||||
|
@ -132,6 +134,7 @@ control("align")
|
||||||
^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
Carrier feed and tabs.
|
Carrier feed and tabs.
|
||||||
|
|
||||||
* ``align`` is a string which takes any of the following values:
|
* ``align`` is a string which takes any of the following values:
|
||||||
|
|
||||||
* LF *for Line Feed*
|
* LF *for Line Feed*
|
||||||
|
|
|
@ -32,6 +32,7 @@ Network("host", port)
|
||||||
^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
Based on socket
|
Based on socket
|
||||||
|
|
||||||
* ``host`` is an alphanumeric host name, could be either DNS host name or IP address.
|
* ``host`` is an alphanumeric host name, could be either DNS host name or IP address.
|
||||||
* ``port`` to write to (default = 9100)
|
* ``port`` to write to (default = 9100)
|
||||||
|
|
||||||
|
@ -40,7 +41,8 @@ Problems with a network-attached printer can have numerous causes. Make sure tha
|
||||||
Often you can check the IP address by triggering the self-test of the device. As a next step try to send text
|
Often you can check the IP address by triggering the self-test of the device. As a next step try to send text
|
||||||
manually to the device. You could use for example:
|
manually to the device. You could use for example:
|
||||||
|
|
||||||
::
|
.. ::
|
||||||
|
|
||||||
echo "OK\n" | nc IPADDRESS 9100
|
echo "OK\n" | nc IPADDRESS 9100
|
||||||
# the port number is often 9100
|
# the port number is often 9100
|
||||||
|
|
||||||
|
@ -50,4 +52,5 @@ File("file\_name")
|
||||||
^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
Printcap printers
|
Printcap printers
|
||||||
|
|
||||||
* ``file_name`` is the full path to the device file name
|
* ``file_name`` is the full path to the device file name
|
||||||
|
|
Loading…
Reference in New Issue