/usr/bin/ps2lexmark is in printer-driver-c2050 0.3b-6.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
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
|