Librenix
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

Setting up a Serial Printer under Linux

Up
vote
Down

The 'read more' link, below, leads to the serial printers section of the Linux Printing HOWTO.
Lpd provides five attributes which you can set in /etc/printcap to control all the settings of the serial port a printer is on. Read the printcap man page and note the meanings of br#, fc#, xc#, fs# and xs#. The last four of these attributes are bitmaps indicating the settings for use the port. The br# atrribute is simply the baud rate, ie `br#9600'.

It is very easy to translate from stty settings to printcap flag settings. If you need to, see the man page for stty now.

Use stty to set up the printer port so that you can cat a file to it and have it print correctly. Here's what `stty -a' looks like for my printer port:
 read more | mail this link | score:7118 | -Alex, August 12, 2000 (Updated: March 31, 2005)
More Linux articles...

Buy Digital Art on Acrylic

linux headlines

Dual-boot Fedora 17 on LVM and Windows 7 on a PC with 2 hard drives

Easylife: Make Fedora 17 user-friendly

Linux Mint 13 MATE/Cinnamon review

SalineOS 1.6 review

Upgrade Fedora 14 to 15

Configure LVM on Pardus 2011

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

 
Articles are owned by their authors.   © 2000-2012 Ray Yeargin