Skip to Content.
Sympa Menu

baslinux - [BL] netpbm continued

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: [BL] netpbm continued
  • Date: Fri, 8 Apr 2005 21:55:48 +0000 (UTC)

Besides pbmtolj pbm_file > /dev/lp0, could I pbmtolj pbm_file >
lj_file and then cat lj_file > /dev/lp0?

Why not? On Unix-like operating systems, you can use devices just like
files.

If so, is there a DOS way
(type?) to send the same preformatted file to a printer?

DOS may not handle the escape codes correctly. unix2dos may be needed
first. Or the equivalent option for dos2unix, which escapes me at the
moment. Assuming it can handle it, though:

type lj_file >lpt1


This worked too (though I forgot to pbmtolj -res 300 and only got the upper left quadrant printed, which was mostly blank). I have written the person who compiled netpbm for DOS asking about pbmtolj. He had steered me to DOS printgif but that is just one more step.

unix2dos (or dos2unix -d) appears to be needed only for text files to convert between EOL formats.


It's been a while since I've used DOS. Maybe that command isn't right.
It is right.




Archive powered by MHonArc 2.6.24.

Top of Page