File: ps2lexmark

package info (click to toggle)
c2050 0.3b-8
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 144 kB
  • sloc: ansic: 280; makefile: 55; sh: 14; python: 8
file content (24 lines) | stat: -rwxr-xr-x 472 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
#
# ps2lexmark translates a postscript file to the Lexmark 2050 Series protocol
#
# Copyright 2000-2007, Marco Nenciarini
# Copyright 1999, Christian Kornblum
#
# License: GPL (GNU Public License)
#

if [ -x /usr/bin/gs ]
then
  gs -q -sDEVICE=bitcmyk \
     -r300 \
     -dDITHERPPI=150 \
     -sPAPERSIZE=a4 \
     -dNOPAUSE \
     -dSAFER \
     -dBATCH \
     -sOutputFile=\|c2050 \
     -
else
  echo "You must have gs to use this script." > /dev/stderr
fi