3 help "Supports the Lekmark 1000 and 1100"
6 requires "lm1100" # Because GDI printer
8 requires "convert" # For images
11 (gs -h |grep -q ppmraw) ||
12 (echo "Ghostscript driver ppmraw is required"; exit 1)
17 desc = "Type of Cartridge"
22 help = "13400HC black cartridge."
27 help = "13619HC color cartridge."
35 default_choice "300x300"
40 help = "Print at 300x300 dpi"
48 help = "Minimum value: 0, Maximum value: 255 (less = darker)"
85 desc = "Paper orientation"
101 desc = "Papers per sheet (for ASCII files only)"
111 desc = "Two pages, landscape"
112 help = "Two pages, landscape"
121 language_driver postscript {
122 filetype_regx = "postscript"
125 language_driver image {
127 convert $INPUT -resize ${fs} ppm:$OUTPUT
132 language_driver text {
144 if [ "$CARTRIDGE" == "bw" ]; then
150 if [ -f $INPUT.nogs ]; then
151 lm1100 $CARTRIDGE -b ${br} -p ${ps} $INPUT > ${OUTPUT}
162 |lm1100 ${CARTRIDGE} -b ${br} -p ${ps} - > ${OUTPUT}