From: Juergen Schroeder <schroedj@pcub133.ub.uni-marburg.de>
Subject: Re: Help with print filters
Date: 1998/12/10 [thread overview]
Message-ID: <74o0dp$5fu$1@surz18.HRZ.Uni-Marburg.DE> (raw)
In-Reply-To: 74mfoj$gs2$1@nnrp1.dejanews.com
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
next prev parent reply other threads:[~1998-12-10 5:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-12-09 5:00 Help with print filters gabriel_ronin
1998-12-10 5:00 ` Walker Haddock`
1998-12-10 5:00 ` Juergen Schroeder [this message]
1998-12-10 5:00 ` Ernest LaBonte
1998-12-10 5:00 ` Juergen Schroeder
1998-12-10 5:00 ` Ernest LaBonte
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox