Configuring the Printer

At this point, we are going to assume that you have a relatively recent printer that is plugged in to your computer's parallel port. We aren't going to cover serial printers, which are relatively obsolete.

The first thing you will want to do is set the parallel port mode.

Configuring the Parallel Port

The lptcontrol program can be used to configure the mode of the parallel port. You will need to be logged in as the root user to do this. In its basic form, lptcontrol is run with an option that you wish to set on the port. The following options are supported:

OptionDescription
-iSets interrupt driven mode
-pSets polled mode
-eSets extended mode
-sSets standard mode (that is, turns off extended mode)

The option you will probably ...

Get Sams Teach Yourself FreeBSD® in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.