/usr/share/perl5/Foomatic/Defaults.pm is in foomatic-db-engine 4.0.11-0ubuntu1.
This file is owned by root:root, with mode 0o644.
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 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | package Foomatic::Defaults;
use vars qw(@EXPORT @EXPORT_OK $libdir $bindir $sysdeps $DEBUG);
require Exporter;
@ISA = qw/Exporter/;
@EXPORT = qw($libdir $bindir $sysdeps);
@EXPORT_OK = qw($DEBUG);
# Debug flag; set this to enable debugging messages from Perl modules.
$DEBUG = '';
# Library directory; typically /usr/share/foomatic or somesuch.
$libdir = '/usr/share/foomatic';
$libdir = $ENV{FOOMATICDB} if $ENV{FOOMATICDB};
# Binary directory; typically /usr/bin or somesuch.
$bindir = '/usr/bin';
# System configuration list
$sysdeps = {
'foo-etc' => '/etc/foomatic',
'foomatic-rip'=> '/usr/bin/foomatic-rip',
'lpd-dir' => '/var/spool/lpd',
'lpd-log' => '/var/log/lp-errs',
'lpd-bin' => '/usr/sbin/lpd',
'lpd-pcap' => '/etc/printcap',
'lprng-conf' => '/etc/lpd.conf',
'lpd-lpr' => '/usr/bin/lpr',
'lpd-lpq' => '/usr/bin/lpq',
'lpd-lprm' => '/usr/bin/lprm',
'lpd-lpc' => '/usr/sbin/lpc',
'lprng-checkpc' => '/usr/sbin/checkpc',
'cups-etc' => '/etc/cups',
'cups-admin' => '/usr/sbin/lpadmin',
'cups-lpstat' => '/usr/bin/lpstat',
'cups-ppds' => '/usr/share/cups/model',
'cups-filters' => '/usr/lib/cups/filter',
'cups-backends' => '/usr/lib/cups/backend',
'cups-driver' => '/usr/lib/cups/driver',
'cups-pconf' => '/etc/cups/printers.conf',
'cups-lpr' => '/usr/bin/lpr',
'cups-lpq' => '/usr/bin/lpq',
'cups-lprm' => '/usr/bin/lprm',
'cups-lpc' => '/usr/sbin/lpc',
'cups-lp' => '/usr/bin/lp',
'cups-cancel' => '/usr/bin/cancel',
'cups-enable' => '/usr/bin/enable',
'cups-disable' => '/usr/bin/disable',
'cups-accept' => '/usr/sbin/accept',
'cups-reject' => '/usr/sbin/reject',
'cups-lpmove' => '/usr/sbin/lpmove',
'cups-lpoptions' => '/usr/bin/lpoptions',
'cups-lpinfo' => '/usr/sbin/lpinfo',
'pdq-conf' => '/usr/lib/x86_64-linux-gnu/pdq',
'pdq-printrc' => '/usr/lib/x86_64-linux-gnu/pdq/printrc',
'pdq-foomatic' => '/usr/lib/x86_64-linux-gnu/pdq/drivers/foomatic',
'pdq-print' => '/usr/bin/pdq',
'pdq-jobdir' => '~/.printjobs',
'ppr-pprd' => '/usr/lib/x86_64-linux-gnu/ppr/bin/pprd',
'ppr-interfaces' => '/usr/lib/x86_64-linux-gnu/ppr/interfaces',
'ppr-ppdfiles' => '/usr/share/ppr/PPDFiles',
'ppr-etc' => '/etc/ppr',
'ppr-ppr' => '/usr/bin/ppr',
'ppr-ppad' => '/usr/bin/ppad',
'ppr-ppop' => '/usr/bin/ppop',
'direct-etc' => '/etc/foomatic/direct',
'direct-config' => '/etc/foomatic/direct/.config',
'nc' => '/usr/bin/nc',
'rlpr' => '/usr/bin/rlpr',
'smbclient' => '/usr/bin/smbclient',
'nprint' => '/usr/bin/nprint',
'ptal-connect' => '/usr/bin/ptal-connect',
'ptal-pipes' => '/var/run/ptal-printd',
'mtink-pipes' => '/var/mtink',
'cat' => '/bin/cat',
'gzip' => '/bin/gzip',
'wget' => '/usr/bin:/bin:/usr/local/bin:/usr/sbin:/sbin:/usr/local/sbin:/etc/sbin',
'curl' => '/usr/bin:/bin:/usr/local/bin:/usr/sbin:/sbin:/usr/local/sbin:/etc/sbin'
};
|