mirror of
https://git.familie-radermacher.ch/linux/ptouch-print.git
synced 2026-03-07 06:34:18 +00:00
Add support for using \n for new line (thanks to github.com/probonopd/)
This commit is contained in:
@@ -56,7 +56,9 @@ file (which can be printed later using the --image printing command option).
|
||||
.BR \-\-text\ \fItext
|
||||
Print the given text at the current position. Text including spaces must be
|
||||
enclosed in question marks.
|
||||
To print a text in multiple lines, give multiple text arguments.
|
||||
Literal '\\n' or actual newline characters in the text will be treated as
|
||||
line breaks.
|
||||
To print a text in multiple lines, either use '\\n' or use the -n argument.
|
||||
Also see the
|
||||
.BR EXAMPLES
|
||||
section.
|
||||
@@ -107,7 +109,7 @@ Printer device could not been opened.
|
||||
\fBptouch-print\fR \fI--text\fR 'Hello World'
|
||||
Print the text 'Hello World' in one line
|
||||
.TP
|
||||
\fBptouch-print\fR \fI--text\fR 'Hello' 'World'
|
||||
\fBptouch-print\fR \fI--text\fR 'Hello' -n 'World'
|
||||
Print the text 'Hello World' in two lines ('Hello' in the first line
|
||||
and 'World' in the second line).
|
||||
.TP
|
||||
|
||||
Reference in New Issue
Block a user