baslinux AT lists.ibiblio.org
Subject: Baslinux mailing list
List archive
- From: sindi keesan <keesan AT sdf.lonestar.org>
- To: baslinux AT lists.ibiblio.org
- Subject: Re: [BL] Printing scanned files
- Date: Tue, 22 Mar 2005 03:29:59 +0000 (UTC)
On Mon, 21 Mar 2005, David Moberg wrote:
----- Original Message -----
From: "sindi keesan" <keesan AT sdf.lonestar.org>
To: baslinux AT lists.ibiblio.org
Subject: Re: [BL] Printing scanned files
Date: Mon, 21 Mar 2005 19:57:12 +0000 (UTC)
I downloaded 2 MB of netpbm 10.19 source code and found not
pbmtops.c but pbmtolps.c (line ps) and pbmtoepson.c and pbmtols.c,
the latter two possibly capable of generating files that can be
sent directly to epson or laserjet printers. I have to figure out
how to use gcc directly to compile them. Can anyone tell me if any
other libraries are needed for compiling besides glibc?
You shouldn't. It's just a command-line converter, shouldn't need any
external libraries except a libc.
Maybe no other files needed to run it, but I need some to compile: pm_config.h and pm.h and pbm.h which I fetched and put in the same directory as pbmtoepson.c etc.
I don't really know how to compile in C but my partner guessed:
gcc -Wall -o pbmtoepson pbmtoepson.c
Undefined reference to pbm_init
and also pm_usage pm_openr pbm_readpmb pm_close.
I could see these mentioned in the .c file.
Are these programs which I need to compile first? I could not search for them easily because I don't have permission to 'find' at sdf where I unpacked the 2MB into something very much larger.
cat `pbmtolj filename.pbm' > /dev/lp1 ?
That's not a valid shell command. For printers that understand
PostScript:
is 'lj' a type of postscript? I thought it was some format that laserjet
printers understood directly. Similarly for epson. pbmtolps produces a form of postscript which would need to be printed using ghostscript.
pbmtolj filename.pbm >/dev/lp1
For those that don't:
pbmtolj filename.pbm | lpr
I found also pbmtoppa, which turns pbm files into a format directly
printable by 'Windows printers' HP 720 and 822C (which I have).
"Windows printer" is a misnomer, then, is it not, if you can printIt is labelled 'Windows printer'. As opposed to DOS or Mac.
with BL? "Non-standard printer" I'd call it.
Prints ppa files.
David
--
-
Re: [BL] Printing scanned files,
David Moberg, 03/21/2005
- Re: [BL] Printing scanned files, sindi keesan, 03/21/2005
- <Possible follow-up(s)>
-
Re: [BL] Printing scanned files,
David Moberg, 03/22/2005
- Re: [BL] Printing scanned files, sindi keesan, 03/22/2005
-
Re: [BL] Printing scanned files,
David Moberg, 03/22/2005
- Re: [BL] Printing scanned files, sindi keesan, 03/22/2005
-
Re: [BL] Printing scanned files,
David Moberg, 03/22/2005
- Re: [BL] Printing scanned files, sindi keesan, 03/22/2005
-
Re: [BL] Printing scanned files,
David Moberg, 03/23/2005
- Re: [BL] Printing scanned files, sindi keesan, 03/23/2005
- Re: [BL] Printing scanned files, sindi keesan, 03/23/2005
- Re: [BL] Printing scanned files, 3aoo-cvfd, 03/23/2005
Archive powered by MHonArc 2.6.24.