Я пытаюсь напечатать текстовый файл на принтер с помощью LP -d {принтера} {файл}, но это только печать, что выглядит, как в первой строке из файла.
Содержимое текстового файла:
*******************************************************************
* *
* ATTENTION: This is the last DAILY TEST REPORT *
* *
* The data is now are captured at the time of sale through *
* *
* the Linux System. Your data WILL be higher than usual today. *
* *
*******************************************************************
Команда используется:
lp -d Printer filename
Я также использовал (одни и те же результаты):
cat filename | lp -d Printer
Выход на принтер 1 страница 1 линия * 'с, поэтому я предполагаю, что это первая линия.
Ниже выход из lpoptions | тр «» «\ п»
auth-info-required=none
copies=1
device-uri=lpd://printerdev
finishings=3
job-hold-until=no-hold
job-priority=50
job-sheets=none,none
marker-change-time=0
number-up=1
printer-info=Printer
printer-is-accepting-jobs=true
printer-is-shared=true
printer-location
printer-make-and-model='Local
Raw
Printer'
printer-state=3
printer-state-change-time=1581623737
printer-state-reasons=none
printer-type=131076
printer-uri-supported=ipp://localhost:631/printers/Printer
Есть идеи?