I am trying to setup my printer to print using lpr from the command line. My goal is to be able to print documents created in vi with nroff formatting. I have managed to set up my printer using CUPS and if I print in a non-terminal application printing works fine. If however, I print in the terminal, although the printer responds and "prints", it prints out blank pages. This is the case even for a simple text file, as in:
I have read this link:
I have followed the instructions there.
This is the text I have in my /etc/printcap file:
I also have lpd_enable="YES".
I would appreciate any suggestions.
Code:
lpr txt.txt
I have read this link:
This is the text I have in my /etc/printcap file:
Code:
lp:\
:lp=/dev/ulpt0:\
:sh:\
:mx#0:\
:sd=/var/spool/lpd/lp:\
:lf=/var/log/lpd-errs:
I would appreciate any suggestions.