A Guide To Linux Printing - page 6
Once your file has been processed by the filter it is ready to be printed. Parallel ports on a PC are typically called LPT1, and LPT2. "Parallel Printer Support" must be compiled into the Linux kernel to use the printer ports. Printer ports like other character devices in Linux correspond to files in the /dev directory. On a typical Linux system the file /dev/lp1 corresponds to LPT1. Data written to /dev/lp1 is sent to your printer. Often people will try copying a text file to /dev/lp1 to ensure that Linux talks with the printer correctly. For example the command "cat /etc/hosts >/dev/lp1" should result in your printer printing the hosts file. Do not worry if the output is not formatted correctly, filters are often used to correct this. If your printer did not receive any data a problem exists. Sometimes the kernel will log an error message in the systems log (usually /var/log/messages) that might hint at the problem.
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: Alienware, KDE and Ubuntu 13.04
- 2Linux Top 3: Linux Mint Olivia, Fedora 19's Cat and Ubuntu's Mission Accomplished Moment
- 3GNOME 3.8 Debuts New Open Source Linux Desktop
- 4Linux Top 3: Linux 3.10 Goes Long, Linux 3.11 Advances as LXDE Merges
- 5Linux Top 3: Ubuntu Kaylin, Debian Wheezy and Linux Mint