How Do I Print?
One of the first things you should do before setting up your printer for Linux (especially if it is a parallel-port printer), is to make sure the printer works. First, check to see that your printer is plugged in, turned on, and attached to your computer's parallel port. Pass-through parallel port cables shouldn't pose a problem, but don't expect to be able to use your printer while you're using your CD-ROM, QuickCam, SCSI adapter, tape drive, or SyQuest drive if attached to a pass-through cable.
For starters, try this simple code:
# ls >/dev/lp0
Chances are your printer will activate and its print head will move, but when you look at the printout, you might see a staircase effect, with each word on a separate line, moving across ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access