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] double sided printing script
- Date: Thu, 23 Mar 2006 03:25:59 +0000 (UTC)
I got help from someone who took a linux course.
Scripts to print even or odd pages only:
printeven:
#!/bin/sh
for i in *[0,2,4,6,8].pbm; do pbmtolj $i > /dev/lp0; done
Turn over and reinsert stack of paper, if needed reverse order of pages.
printodd:
#!/bin/sh
for i in *[1,3,5,7,9].pbm; do pbmtolj $i > /dev/lp0; done
Not elegant, but a lot simpler than the duplex script.
Can I specify 'odd number' instead of writing them all out?
I tested with 'echo' instead of pbmtolj and got 01 03 11 33 (ascending).
I got the same output with [9,7,5,3,1]. How do I specify descending numerical order in a script?
The HP Laserjet 6L feeds one page at a time after lightly sanding the separation pads (which would be $11 plus shipping to replace).
Sindi
keesan AT sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
-
[BL] double sided printing script,
sindi keesan, 03/21/2006
- Re: [BL] double sided printing script, sindi keesan, 03/21/2006
-
Re: [BL] double sided printing script,
James Miller, 03/21/2006
- Re: [BL] double sided printing script, sindi keesan, 03/22/2006
-
Re: [BL] double sided printing script,
Ron Clarke, 03/22/2006
-
Re: [BL] double sided printing script,
sindi keesan, 03/22/2006
-
Re: [BL] double sided printing script,
Ron Clarke, 03/22/2006
-
Re: [BL] double sided printing script,
sindi keesan, 03/22/2006
-
Re: [BL] double sided printing script,
sindi keesan, 03/22/2006
-
Re: [BL] double sided printing script,
David Moberg, 03/23/2006
- Re: [BL] double sided printing script, sindi keesan, 03/23/2006
- Re: [BL] double sided printing script, Ron Clarke, 03/23/2006
- Re: [BL] double sided printing script, sindi keesan, 03/23/2006
- Re: [BL] double sided printing script, sindi keesan, 03/23/2006
-
Re: [BL] double sided printing script,
David Moberg, 03/23/2006
- Re: [BL] double sided printing script, 3aoo-cvfd, 03/23/2006
- Re: [BL] double sided printing script, sindi keesan, 03/23/2006
- Re: [BL] double sided printing script, sindi keesan, 03/24/2006
-
Re: [BL] double sided printing script,
sindi keesan, 03/22/2006
-
Re: [BL] double sided printing script,
sindi keesan, 03/22/2006
-
Re: [BL] double sided printing script,
Ron Clarke, 03/22/2006
-
Re: [BL] double sided printing script,
sindi keesan, 03/22/2006
Archive powered by MHonArc 2.6.24.