This file is indexed.

/etc/gnuspool/cupspy/cupspy.conf is in gnuspool-cupspy 1.7.

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
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
# Copyright (C) 2009  Free Software Foundation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.

# Originally written by John Collins <jmc@xisl.com>.

# This will get rewritten by cupspy-setup

PARAMS:

# Parameters section

PARAMS:
	LOGLEVEL=2

# Default values to answer questions with
# Individual printer specs override

DEFAULTS:
	
	# Define default printer
	Printer=Copier_A4

	# Set copies, title, User name parameters for use with python % operator
	Prefix=gspl-pr --verbose -s
	Copies=-c %d
	Title=-h %s
	User=-U %s
	GSPrinter=-P %s
	Form=-f %s

	# These are answers to questsions NOW and MAKELOCALURI etc have obvious meanings

	printer-current-time IPP_TAG_DATE NOW
	printer-error-policy IPP_TAG_NAME stop-printer
	printer-is-accepting-jobs IPP_TAG_BOOLEAN 1
	printer-is-shared IPP_TAG_BOOLEAN 1
	printer-op-policy IPP_TAG_NAME default
	printer-state IPP_TAG_ENUM 3
	printer-state-change-time IPP_TAG_INTEGER NOW-3600
        printer-state-message IPP_TAG_TEXT ""
	printer-state-reasons IPP_TAG_KEYWORD none
	printer-type IPP_TAG_ENUM 135244
	printer-up-time IPP_TAG_INTEGER NOW-7200
	printer-uri-supported IPP_TAG_URI MAKELOCALURI
	queued-job-count IPP_TAG_INTEGER 0
	uri-authentication-supported IPP_TAG_KEYWORD requesting-user-name
	uri-security-supported IPP_TAG_KEYWORD none
	printer-name IPP_TAG_NAME PRINTERNAME
	printer-location IPP_TAG_TEXT "Local Printer"
	printer-info IPP_TAG_TEXT ""
	printer-more-info IPP_TAG_URI MAKENETURI
	job-quota-period IPP_TAG_INTEGER 0
        job-k-limit IPP_TAG_INTEGER 0
	job-page-limit IPP_TAG_INTEGER 0
	job-sheets-default IPP_TAG_NAME none
	device-uri IPP_TAG_URI MAKEDEVURI
	color-supported IPP_TAG_BOOLEAN 1
	pages-per-minute IPP_TAG_INTEGER 12
	printer-make-and-model IPP_TAG_TEXT ""
	media-supported IPP_TAG_KEYWORD A4 BrA4_B Letter BrLetter_B Legal Executive B5 A5 A6 BrA6_B PostC4x6 BrPostC4x6_B \
			IndexC5x8 BrIndexC5x8_B PhotoL BrPhotoL_B Photo2L BrPhoto2L_B PostCard BrHagaki_B DoublePostCardRotated \
			EnvC5 EnvDL Env10 EnvMonarch EnvYou4
	media-default IPP_TAG_KEYWORD A4
	port-monitor IPP_TAG_KEYWORD none
        port-monitor-supported IPP_TAG_KEYWORD none
	finishings-supported IPP_TAG_ENUM 3
        finishings-default IPP_TAG_ENUM 3
	document-format-supported IPP_TAG_MIMETYPE application/octet-stream application/pdf application/postscript \
						   application/vnd.cups-postscript application/vnd.cups-raw \
						   application/vnd.hp-hpgl application/x-cshell \
						   application/x-csource application/x-perl application/x-shell \
						   image/gif image/jpeg image/png image/tiff image/x-bitmap \
					 	   image/x-photocd image/x-portable-anymap image/x-portable-bitmap \
					           image/x-portable-graymap image/x-portable-pixmap image/x-sgi-rgb \
					           image/x-sun-raster image/x-xbitmap image/x-xpixmap \
						   text/html text/plain
	copies-default IPP_TAG_INTEGER 1
	job-hold-until-default IPP_TAG_KEYWORD no-hold
	job-priority-default IPP_TAG_INTEGER 50
        number-up-default IPP_TAG_INTEGER 1
        orientation-requested-default IPP_TAG_ENUM 3
        charset-configured IPP_TAG_CHARSET utf-8
        charset-supported IPP_TAG_CHARSET us-ascii utf-8
        compression-supported IPP_TAG_KEYWORD none gzip
        copies-supported IPP_TAG_RANGE 1 100
        document-format-default IPP_TAG_MIMETYPE application/octet-stream
        generated-natural-language-supported IPP_TAG_LANGUAGE en-us
        ipp-versions-supported IPP_TAG_KEYWORD 1.0 1.1
        job-hold-until-supported IPP_TAG_KEYWORD no-hold indefinite day-time evening night second-shift third-shift weekend
        job-priority-supported IPP_TAG_INTEGER 100
        job-sheets-supported IPP_TAG_NAME none classified confidential mls secret selinux standard te topsecret unclassified
        multiple-document-handling-supported IPP_TAG_KEYWORD separate-documents-uncollated-copies separate-documents-collated-copies
        multiple-document-jobs-supported IPP_TAG_BOOLEAN 1
        multiple-operation-time-out IPP_TAG_INTEGER 60
        natural-language-configured IPP_TAG_LANGUAGE en-us
        notify-attributes-supported IPP_TAG_KEYWORD printer-state-change-time notify-lease-expiration-time notify-subscriber-user-name
        notify-lease-duration-default IPP_TAG_INTEGER 86400
        notify-lease-duration-supported IPP_TAG_RANGE 0 2147483647
        notify-max-events-supported IPP_TAG_INTEGER 100
        notify-events-default IPP_TAG_KEYWORD job-completed
        notify-events-supported IPP_TAG_KEYWORD job-completed job-config-changed job-created job-progress \
					        job-state-changed job-stopped printer-added printer-changed \
					        printer-config-changed printer-deleted printer-finishings-changed \
					        printer-media-changed printer-modified printer-restarted \
					        printer-shutdown printer-state-changed printer-stopped \
					        server-audit server-restarted server-started server-stopped
        notify-pull-method-supported IPP_TAG_KEYWORD ippget
        notify-schemes-supported IPP_TAG_KEYWORD mailto testnotify
        number-up-supported IPP_TAG_INTEGER 1 2 4 6 9 16
        operations-supported IPP_TAG_ENUM 2 4 5 6 8 9 10 11 12 13 16 17 18 20 22 23 24 25 26 27 28 34 35 \
				          16385 16386 16387 16388 16389 16390 16391 16392 16393 16394 \
				          16395 16396 16397 16398
        orientation-requested-supported IPP_TAG_ENUM 3 4 5 6
        page-ranges-supported IPP_TAG_BOOLEAN 1
        pdl-override-supported IPP_TAG_KEYWORD not-attempted
        printer-error-policy-supported IPP_TAG_NAME abort-job retry-job stop-printer
        printer-op-policy-supported IPP_TAG_NAME default

# These are (virtual) printers

Copier_A4:
	GSPrinter=copier
	Form=a4.ps
	media-supported IPP_TAG_KEYWORD A4
	media-default IPP_TAG_KEYWORD A4
	document-format-supported IPP_TAG_MIMETYPE application/postscript
	printer-info IPP_TAG_TEXT "Copier used as printer"

Copier_A4_double:
	GSPrinter=copier
	Form=a4.ps-dup
	media-supported IPP_TAG_KEYWORD A4
	media-default IPP_TAG_KEYWORD A4
	document-format-supported IPP_TAG_MIMETYPE application/postscript
	printer-info IPP_TAG_TEXT "Copier used as printer - double sided"

Copier_bypass_tray:
	GSPrinter=copier
	Form=a4.lh
	media-supported IPP_TAG_KEYWORD A4
	media-default IPP_TAG_KEYWORD A4
	document-format-supported IPP_TAG_MIMETYPE application/postscript
	printer-info IPP_TAG_TEXT "Copier used as printer 100gm paper bypass tray"