|
Screenshots
Here are some "screenshots" of the configuration files.
They are more important than the graphical interface :)
Xpdq screenshots are at the end.
printer foo {
# Added by the wizard at Sat Apr 10 12:45:23 1999
model "HP Laserjet V Si"
location "135A"
interface bsd_lpd
interface_args { REMOTE_HOST="foo.foo.com" }
driver postscript-duplex-generic
driver_opts "duplex, 1up"
}
interface bsd_lpd {
help "This is a common way to connect to IP networked printers."
required_args "REMOTE_HOST"
argument {
var = "REMOTE_HOST"
desc = "Remote lpd hostname"
help = "Enter the IP name or number of the printer"
}
argument {
var="QUEUE"
def_value = "raw"
desc = "Remote lpd queue"
help = "Enter the name of the remote queue. If you are printing
directly to a networked printer, try raw or lp"
}
requires "lpd_send" # pdq will check that it can locate this
# executable. For more complex checks, use
# a verify_exec script.
# The programs lpd_status, lpd_send and lpd_cancel
# are included in the pdq distribution
status_exec { lpd_status $REMOTE_HOST $QUEUE }
send_exec { lpd_send -f $INPUT -j $JOB_ID $REMOTE_HOST $QUEUE }
cancel_exec { lpd_cancel -j $JOB_ID $REMOTE_HOST $QUEUE }
}
driver epson-stylus {
requires "gs"
verify_exec {
(gs -h |grep -q stcolor) ||
(echo "Ghostscript driver stcolor is required"; exit 1)
}
option { desc="Resolution"; var = "GS_RES";
choice 360x360 {desc = "360x360" value="-r360x360"}
choice 720x720 {desc = "720x720" value="-r720x720"}
}
option { desc="Dithering"; var = "GS_DITHER";
choice fscmyk {
desc = "Floyd-Steinberg CMYK";
value = "-sDithering=fscmyk";
}
choice fsmono {
desc = "Floyd-Steinberg monochrome";
value = "-sDithering=fsmono";
}
}
language_driver ps {
filetype_regx = "postscript"
convert_exec = {
gs -sDEVICE=stcolor \
$GS_RES \
$GS_DITHER \
-q \
-dNOPAUSE \
-sOUTPUTFILE=$OUTPUT \
- <$INPUT # done like this to prevent GS> prompt
}
}
# Must declare text after postscript, because the command "file" will
# often describe a postscript file as text (which it is).
language_driver text { }
}
Copyright 1999, 2000 Jacob A. Langford
Copying, distribution and modification are governed by
the GNU General Public License version 2.
|