|
Lines 1928-1940
Link Here
|
| 1928 |
# capture the stderr output from Ghostscript and mail it back to |
1928 |
# capture the stderr output from Ghostscript and mail it back to |
| 1929 |
# the user originating the print job. |
1929 |
# the user originating the print job. |
| 1930 |
# |
1930 |
# |
| 1931 |
exec 3>&1 1>&2 |
1931 |
exec 3>&1 1>&2 \ |
| 1932 |
/usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=djet500 \ |
1932 |
/usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=djet500 \ |
| 1933 |
-sOutputFile=/dev/fd/3 - && exit 0 |
1933 |
-sOutputFile=/dev/fd/3 - && exit 0 |
| 1934 |
|
1934 |
|
| 1935 |
# |
|
|
| 1936 |
/usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=djet500 -sOutputFile=- - \ |
| 1937 |
&& exit 0 |
| 1938 |
else |
1935 |
else |
| 1939 |
# |
1936 |
# |
| 1940 |
# Plain text or HP/PCL, so just print it directly; print a form feed |
1937 |
# Plain text or HP/PCL, so just print it directly; print a form feed |