Cover V06, I03
Article
Figure 1
Listing 1
Listing 2
Table 1
Table 2
Table 3
Table 4

mar97.tar


Table 4: Example filter description files

1. DRAW FROM 11X17 TRAY ON AN HP4V WITH POSTSCRIPT
Input types: big
Output types: postscript
Printer types: any
Printers: any
Filter type: slow
Command: /usr/bin/awk '{print $0} NR == 1 \
{print "<</DeferredMediaSelection true /Pagesize [792 1224] >>"}'

2. ROTATE THE PRINT TO MAKE IT LANDSCAPE, AND THEN USE FILTER IN
EXAMPLE 1 (NOTICE OUTPUT TYPE MATCHES INPUT TYPE ABOVE)
Input types: bigland
Output types: big
Printer types: any
Printers: any
Filter type: slow
Command: /usr/bin/awk '{print $0} NR == 1 \
{print "90 rotate 0 792 neg translate"}'

3. PRINT COMPRESSED POSTSCRIPT FILES
Input types: zip
Output types: postscript
Printer types: any
Printers: any
Filter type: slow
Command: /opt/gnu/bin/gunzip

4. PRINT COMPRESSED POSTSCRIPT FILES AND THEN DRAW FROM 11x17 TRAY
Input types: zipbig
Output types: big
Printer types: any
Printers: any
Filter type: slow
Command: /opt/gnu/bin/gunzip

5. PRINT POSTSCRIPT TO HP4 WITH GHOSTSCRIPT (Input type for hplaser is
set to lj4 with the lpadmin command)
Input types: postscript
Output types: lj4
Printer types: any
Printers: hplaser
Filter type: slow
Command: /opt/gs/bin/gs -q -sDEVICE=ljet4 -sOutputFile=- -

6. EXAMPLE PRINT FILTER INCLUDED WITH SOLARIS 2.5.1
Input types: simple
Output types: postscript
Printer types: any
Printers: any
Filter type: slow
Command: /usr/lib/lp/postscript/postprint
Options: PAGES * = -o*
Options: LENGTH * = -l*
Options: MODES group = -n2
Options: MODES group\=\([2-9]\) = -n\1
Options: MODES portrait = -pp
Options: MODES landscape = -pl
Options: MODES x\=\(\-*[\.0-9]*\) = -x\1
Options: MODES y\=\(\-*[\.0-9]*\) = -y\1
Options: MODES magnify\=\([\.0-9]*\) = -m\1
Options: MODES catv_filter = -I