From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,eceae65b1b523b82 X-Google-Attributes: gidfee84,public From: Juergen Schroeder Subject: Re: Help with print filters Date: 1998/12/10 Message-ID: <74o0dp$5fu$1@surz18.HRZ.Uni-Marburg.DE>#1/1 X-Deja-AN: 420738076 References: <74mfoj$gs2$1@nnrp1.dejanews.com> Organization: HRZ Uni Marburg User-Agent: tin/pre-1.4-980226 (UNIX) (Linux/2.0.35 (i686)) Newsgroups: comp.unix.osf.osf1 gabriel_ronin@my-dejanews.com wrote: : Does anyone know where I can find an example print filter that is not This is an example for HP printers: #!/bin/sh # Filter for HP-DJ/LJ with 66 lines per page # Margin + condensed + LF -> CRLF # #\\033\E # reset #\\033\&l0O # portrait = 0, 1 : landscape #\\033\&l6D # 6 lines per inch #\\033\&l70P # formlen = 70 lines #\\033\&l3E # TOF = 2 lines #\\033\&l66F # max lines = 66 #\\033\&a0E # Left start = 0 ? #\\033\&k2G # LF -> CR+LF #\\033\(s12H # 12 char per inch #\\033\&a16L # left margin in char #\\033\&l1S # 0=einseitig, 1=Hoch- 2=Quer-Duplex #\\033\(0N # unix charset #\\033\%-12345X # ps, eps end echo \\033\E\\033\&l0O\\033\&l6D\\033\&l70P\\033\&l2E\\033\&l66F echo \\033\&k2G\\033\(s12H\\033\&a12L\\033\&l0S\\033\(0N cat - echo \\033%-12345X ------ Use this as if. Remember inputfilters were ignored on remote printers. Juergen