diff options
Diffstat (limited to 'package/cups/files/etc')
-rw-r--r-- | package/cups/files/etc/cups/classes.conf | 7 | ||||
-rw-r--r-- | package/cups/files/etc/cups/client.conf | 9 | ||||
-rw-r--r-- | package/cups/files/etc/cups/cupsd.conf | 34 | ||||
-rw-r--r-- | package/cups/files/etc/cups/printers.conf | 23 |
4 files changed, 73 insertions, 0 deletions
diff --git a/package/cups/files/etc/cups/classes.conf b/package/cups/files/etc/cups/classes.conf new file mode 100644 index 000000000..15afda75a --- /dev/null +++ b/package/cups/files/etc/cups/classes.conf @@ -0,0 +1,7 @@ +######################################################################## +# # +# This is a sample class configuration file. This file is included # +# from the main configuration file (cups.conf) and lists all of the # +# printer classes known to the system. # +# # +######################################################################## diff --git a/package/cups/files/etc/cups/client.conf b/package/cups/files/etc/cups/client.conf new file mode 100644 index 000000000..c8d9f910e --- /dev/null +++ b/package/cups/files/etc/cups/client.conf @@ -0,0 +1,9 @@ +######################################################################## +# # +# This is the CUPS client configuration file. This file is used to # +# define client-specific parameters, such as the default server or # +# default encryption settings. # +# # +######################################################################## + +Encryption Never diff --git a/package/cups/files/etc/cups/cupsd.conf b/package/cups/files/etc/cups/cupsd.conf new file mode 100644 index 000000000..89aa40c2a --- /dev/null +++ b/package/cups/files/etc/cups/cupsd.conf @@ -0,0 +1,34 @@ +AccessLog syslog +ErrorLog syslog +LogLevel info +PageLog syslog +PreserveJobHistory No +PreserveJobFiles No +AutoPurgeJobs Yes +MaxJobs 25 +MaxPrinterHistory 10 +RequestRoot /tmp/cups +User cups +Group cups +RIPCache 512k +TempDir /tmp/cups +Port 631 +HostNameLookups Off +KeepAlive On +Browsing On +BrowseProtocols cups + +<Location /> +AuthType Basic +AuthClass System +Order Allow,Deny +Allow From All +</Location> + +<Location /admin> +AuthType Basic +AuthClass System +Order Allow,Deny +Allow From All +</Location> + diff --git a/package/cups/files/etc/cups/printers.conf b/package/cups/files/etc/cups/printers.conf new file mode 100644 index 000000000..88bba1b13 --- /dev/null +++ b/package/cups/files/etc/cups/printers.conf @@ -0,0 +1,23 @@ +<DefaultPrinter USB> +Info USB Printer +Location +DeviceURI usb:/dev/usb/lp0 +State Idle +Accepting Yes +JobSheets none none +QuotaPeriod 0 +PageLimit 0 +KLimit 0 +</Printer> + +<Printer LP> +Info Parallel Port Printer +Location +DeviceURI parallel:/dev/printers/0 +State Idle +Accepting Yes +JobSheets none none +QuotaPeriod 0 +PageLimit 0 +KLimit 0 +</Printer> |