Skip to Content.
Sympa Menu

baslinux - Re: [BL] Hard Copy

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: sindi keesan <keesan AT sdf.lonestar.org>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] Hard Copy
  • Date: Sat, 3 Feb 2007 02:52:35 +0000 (UTC)

On Fri, 2 Feb 2007, Greg Mayman wrote:

I want to print out some files I have downloaded with lists of commands
for linux, so I can practice using the commands.

The BL2 FAQ says I can use wp. I can open it but I can't make it load
any files.

The FAQ also says I can execute 'insmod lp' to find which printer port
is active, then 'cat {filename} >/dev/lp0' or 'lp1' according to the
result of the previous command.

But 'insmod lp' returns the following:

Using /lib/modules/2.2.26/misc/lp.o
insmod: unresolved symbol parport_unregister_device
insmod: unresolved symbol parport_enumerate
insmod: unresolved symbol parport_claim_or_block
insmod: unresolved symbol parport_register_device
insmod: unresolved symbol parport_release

Before the lp module will insert, you need to activate the parallel port (printer port) by inserting (insmod) parport and parport_pc.
The 'wp' script inserts the modules for you.

If you get a list of unresolved symbols as above, you can often guess what module you are missing from them - in this case something with parport in it (two such somethings).

To print to any printer later than a dot-matrix, you would also need to convert the unix style file to a DOS style file with dos2unix, which the wp script also does for you. Take a look at wp (Steven's script).


There must be a way that is easier than copying the file to the DOS
environment and using a DOS command or DOS utility to print it.

. ,-./\
. / \ from Greg Mayman, in Adelaide, South Australia
. \_,-*_/ "Queen City of The South" 34:55 S 138:36 E
. v


-----------------------
BasicLinux mailing list
-----------------------
http://www.basiclinux.com.ru
http://www.ibiblio.org/pub/linux/distributions/baslinux/
------------------------------------
To exit, send subject=unsubscribe to
baslinux-request AT lists.ibiblio.org


keesan AT sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org




Archive powered by MHonArc 2.6.24.

Top of Page