Skip to Content.
Sympa Menu

baslinux - Re: [BL] Line printing

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: baslinux AT lists.ibiblio.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] Line printing
  • Date: Sat, 15 Mar 2008 03:53:01 +0000 (UTC)

On Sat, 15 Mar 2008, baslinux AT lists.ibiblio.org wrote:

Message from Steven
===================
Teixeira wrote:

I need to make immediate line printings through
a serial port, let's say, com2.

As an experiment, do the following:
--
wp
--
Then type some lines of random text and try
printing it. Did it work? If so, we can
adapt the printing routine in wp.

I am looking at the wp script. How would it determine that you are printing to ttyS1 (com2) instead of lp0 or lp1? It looks like the 'device' line just selects for the last parallel port.

Can you simply insert the required driver for the serial printer then

cat document |dos2unix -d > /dev/ttyS1

This would require a 'generic printer' that can print plain text.
There is a very large Serial HOWTO online.
Sindi


Cheers,
Steven




Archive powered by MHonArc 2.6.24.

Top of Page