SUBPAGE MENU
# # #
printing_lpr
# #
Description: Debian GNU/Linux 7.7 (wheezy)
#1 SMP Debian 3.16.7-ckt2-1~bpo70+1 (2014-12-08)
3.16.0-0.bpo.4-amd64
Aspire S7-392
15_05_17
#
apt-cache show lpr | grep Version
Version: 1:2008.05.17+nmu1
# #
How to print documents on linux using command line.
Simple example:
echo "salve printer" >> tmp_print
lpr -P Lexmark_Lexmark_E352dn tmp_print
Where Lexmark_Lexmark_E352dn is the name of your printer. You can get this name by using the technique described below.
To aquire command for printing you can do as follows:
1. Run: acroread some_pdf.pdf
2. File -> print (or ctrl+p)
3. Properties (or alt+p)
4. Click on someting from the list to get the command
# #
Troubleshooting
# #
Sources
#
http://www.computerhope.com/unix/ulpr.htm
# # #