Short: DeskJet500 Print 4 pages on 1 (rev 2.2) The following scripts are placed into the public domain. Disclaimer: Use at your own risk - the authors are not to be held liable for any damage... RemAnsi: Textfile 'noise' filter. This script removes (hopefully) any Amiga ANSI-control sequences (ESC and CSI) from its input file. It further strips the following bytes: 0x00..0x07,0x0b,0x0d..0x1f,0x7f..0x9f,0xff. It can replace formatfeeds (0x0c) by linefeeds (0x0a) and translate the poor man's bold/underline into something readable (EG. 'A_' wird zu 'A'). RemAnsi.Test: The beginning of less.0 with some added evil to test RemAnsi. Note - you do not need to remove the backspace constructs, since the deskjet and other printers and the cli understand them. but they're just too ugly, when seen in a texteditor ! A4print4: version 2.1 for HP Deskjet. + Script modified for papersize DIN A4 + automatic handling of two-sided printjobs (simply reinsert the complete output and print backsides...) + partial translation of ECMA94Latin1 umlauts to the deskjet default charset PC8 + width adjustment for backspaces (double strike typewriter mode :-)) + tab expansion + 4 normal pages on one side (default) (each upto 89chars/line and 66 lines!) + adjustable formats: upto 8 (smaller) minipages on one side + quick mode and letter quality mode Customization: -> for other paper formats, adjust localpagesize, psize, change the settings for the various layout styles (width, oddleftborder) and set the command sequence isoA4='' for default (should be US Letter). Original author: Joe Smith, the bugs in 4print however are mine :-). 4print: Original poster and signature: ------ Path: informatik.tu-muenchen.de!math.fu-berlin.de!Sirius.dfn.de!chx400!ira.uka.de!yale.edu!jvnc.net!darwin.sura.net!haven.umd.edu!uunet!olivea!tardis!jms From: jms@tardis.Tymnet.COM (Joe Smith) Newsgroups: alt.sources.amiga Subject: Program to print 4 pages on 1 piece of paper Summary: For HP DeskJet printer, written in AREXX Message-ID: <3111@tardis.Tymnet.COM> Date: 2 Sep 92 07:55:40 GMT Organization: BT Tymnet, San Jose, CA Lines: 140 Joe Smith (408)922-6220 BTNA GNS Major Programs, TYMNET Global Network P.O. Box 49019, MS-C51, San Jose, CA 95161-9019 CA license plate: "POPJ P," Married to the LB, Quantum Leap's #1 net.fan PDP-10, 36-bits forever! Humorous disclaimer: "My Amiga 3000 speaks for me." ----- Bugs / Todo: + both programs aren't smart about pipes - but anyway - they aren't the kind of standard filter, either :-) + enjoy! Peter --- Peter Jakobi, Munich, Oct. 2, 1992 # cat .sig jakobi@informatik.tu-muenchen.de I'm on strike. lazarus@salyko.doit.cubenet.org # ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 11851 4891 58.7% 09-Oct-92 19:38:30 a4print4.rexx 3114 1668 46.4% 09-Oct-92 19:39:28 DeskJet500Print4-2_2.readme 6562 2244 65.8% 06-Oct-92 13:56:16 RemAnsi.rexx 5440 2001 63.2% 03-Oct-92 09:03:14 remansi.test -------- ------- ----- --------- -------- 26967 10804 59.9% 09-Oct-92 18:34:10 4 files