This file is indexed.

/usr/lib/printfilters/pdf-to-ps.fpi is in printfilters-ppd 2.13-11.1.

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
25
26
27
28
29
30
31
#!/bin/bash
#
# A. Mennucc 2002 GPL


#
# Load postscript configuration options
#
if [ -f "${SPOOLDIR}/postscript.cfg" ]; then
    source ${SPOOLDIR}/postscript.cfg
else
    eval `pcap -S $SPOOLDIR`
    eval `pcap -P$queue:RESOLUTION` >> /dev/null
    eval `pcap -P$queue:PAPERSIZE` >> /dev/null
    eval `pcap -P$queue:EXTRA_GS_OPTIONS` >> /dev/null
fi

#unfortunately it seems that pdf needs a temporary file

t=`mktemp /tmp/pdf-to-pf.XXXXXXX`

cat > $t

# shamelessly copied from pdf2ps
#
# Doing an initial 'save' helps keep fonts from being flushed between pages.
gs  -r$RESOLUTION -sPAPERSIZE=$PAPERSIZE \
    -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pswrite -sOutputFile=- \
     $COLOR $EXTRA_GS_OPTIONS  -c save pop  -f $t 

rm $t