1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
%include <filters.h>
#
# Magic filter setup file for HP Laserjet + or II with 1.5 Mb or more RAM
#
# This file has been automatically adapted to your system.
%ifndef HAVE_GHOSTSCRIPT
# However, since you didn't have GhostScript installed, most entries
# are going to be rejects.
%endif
#
/*
* Printer resolution
*/
%define DPI 300
/*
* PostScript
*/
%ifdef HAVE_GHOSTSCRIPT
%define HANDLE_PS filter PATH_GHOSTSCRIPT -q -dSAFER -dNOPAUSE -r300 -sDEVICE=ljetplus -sOutputFile=\|"cat 1>&3" - 3>&1 1>&2
%define HANDLE_PDF fpipe PATH_GHOSTSCRIPT -q -dSAFER -dNOPAUSE -r300 -sDEVICE=ljetplus -sOutputFile=\|"cat 1>&3" $FILE 3>&1 1>&2
%endif
/*
* PCL, PJL
*/
%define HANDLE_PCL cat
/*
* Text
*/
%define HANDLE_TEXT cat \eE\e&k2G\e(0N \eE
%define LATIN1_OK 1
%include <stdconv.mh>
# wild guess: PCL control codes start with <ESC>
0 \033 HANDLE_PCL
# Default entry -- for normal (text) files. MUST BE LAST.
default HANDLE_TEXT
|