#!/bin/csh

# This is a sample ghostscript formatter for Samba network printers.
# You must change the -r, -sDEVICE, -sPAPERSIZE, -sOUTPUTFILE options
# before installation

# -r define resolution
# -sDEVICE defines printing device
# -sPAPERSIZE defines a4
# -q means "quite"
# -sOUTPUTFILE defines the output file

gs -r300 -sDEVICE=laserjet -sPAPERSIZE=a4 -dNOPAUSE -q -sOUTPUTFILE=\|ljlpr $1 <<^

quit
^
