Debian Codegraph @

contrib/okidisplay/README

raw
1 # $ApsCVS: src/apsfilter/contrib/okidisplay/README,v 1.2 2000/04/16 11:42:12 andreas Exp $
2
3 okidisplay is for HPLJ compatible OKI 400ex. They have a programmable
4 display. Martin Kraemer ([email protected]) has made a C Program,
5 that hacks the current print job into the display of the printer in the
6 following form:
7
8 <job>:<user>@<host>
9
10 The program okidisplay has to be in apsfilters search path.
11 Best would be in bin/...
12
13 In bin/apsfilter you have to enhance the PRINT_PS variable two times,
14 ~line 346:
15
16
17 *)
18 # we have a nice non ps printer
19 if [ -z "$GS_RESOL" ]
20 then
21 # default is _not_ to fiddle around with
22 # ghostscripts printer driver resolution
23 PRINT_PS=" gs \
24 -q \
25 -sDEVICE=${PRINTER} \
26 -sPAPERSIZE=${PAPERSIZE} \
27 -dNOPAUSE \
28 -dSAFER \
29 -sOutputFile=- \
30 - \
31 | okidisplay \
32 \"$JOB:$USER@$HOST\" "
33 else
34 # if we urgently need another resolution
35 # then we use it (selectable in /etc/apsfilterrc
36 # or in $HOME/apsfilterrc)
37 PRINT_PS=" gs \
38 -q \
39 -sDEVICE=${PRINTER} \
40 -r${GS_RESOL} \
41 -sPAPERSIZE=${PAPERSIZE} \
42 -dNOPAUSE \
43 -dSAFER \
44 -sOutputFile=- \
45 - \
46 | okidisplay \
47 \"$JOB:$USER@$HOST\" "
48 fi
49 ;;