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 39 40 41 42 43 44
|
%include <filters.h>
#
# Magic filter setup file for Epson Stylus series printers
# THIS FILE IS UNTESTED!
#
# This file is in the public domain.
#
# 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 360
/*
* PostScript
*/
%ifdef HAVE_GHOSTSCRIPT
%define HANDLE_PS filter PATH_GHOSTSCRIPT -q -dSAFER -dNOPAUSE -r360 -sDEVICE=st800 -sOutputFile=- /usr/share/magicfilter/quiet.ps - -c quit
%define HANDLE_PDF fpipe PATH_GHOSTSCRIPT -q -dSAFER -dNOPAUSE -r360 -sDEVICE=st800 -sOutputFile=- /usr/share/magicfilter/quiet.ps $FILE -c quit
%endif
/*
* Text
*/
%define HANDLE_TEXT text
/*
* Native here to override PCL magic
*/
# wild guess: native control codes start with <ESC>
0 \033 cat
%include <stdconv.mh>
# Default entry -- for normal (text) files. MUST BE LAST.
%ifdef HAVE_RECODE
# Please adjust recode's codepage conversion manually according to your
# local needs. We apologize for the inconveniences...
#
%endif
default HANDLE_TEXT
|