This file is indexed.

/usr/lib/printfilters/asc-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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/bin/bash
#
# convert input ascii into postscript
#
#
#
if [ -f "${SPOOLDIR}/postscript.cfg" ]; then
    . ${SPOOLDIR}/postscript.cfg
else
    # find the name of the queue from the spool dir
    eval `pcap -S $SPOOLDIR`

    # Load postscript configuration options
    eval `pcap -P$queue:PAPERSIZE` >> /dev/null
    eval `pcap -P$queue:NUP` >> /dev/null
    eval `pcap -P$queue:RTLFTMAR` >> /dev/null
    eval `pcap -P$queue:TOPBOTMAR` >> /dev/null
fi

#
# see if we should reverse order
#
# support will be added for this in the future
# psorder needed and is part of netatalk, which we dont currently ship
#

if [ "$PAPERSIZE" = "letter" ]; then
    mpage_paper="Letter"
elif [ "$PAPERSIZE" = "a4" ]; then
    mpage_paper="A4"
elif [ "$PAPERSIZE" = "legal" ]; then
    mpage_paper="Legal"
else 
    mpage_paper="Letter"
fi

#
#
#if [ "$NUP" = "1" ]; then
#    border="-o"
#else
#    border=""
#fi


exec mpage -b$mpage_paper -o -1 -m${RTLFTMAR}lr -m${TOPBOTMAR}tb

## Warning: on older debian the version of mpage is linked to libpaper.
## the problem with this is that libpaper makes use of the 
## "PAPERSIZE" variable. 
#SAVE_PAPERSIZE=$PAPERSIZE
#unset PAPERSIZE
#eval $mpage_cmd
#PAPERSIZE=$SAVE_PAPERSIZE
#unset SAVE_PAPERSIZE