Software: Apache/2.2.3 (CentOS). PHP/5.1.6 uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /usr/share/doc/cups-1.3.7/help/ drwxr-xr-x |
Viewing file: ref-printers-conf.html (16.11 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | The CUPS scheduler (cupsd) uses the /etc/cups/printers.conf file to store the list of available printers. This file contains only locally defined printers, not remote printers that are created automatically via browsing. Each directive is listed on a line by itself followed by its value. Comments are introduced using the number sign ("#") character at the beginning of a line. While the printer configuration file consists of plain text and can be modified using your favorite text editor, you should normally use the lpadmin(8) command, web interface, or any of the available GUIs to manage your printers instead. If you do choose to edit this file manually, you will need to restart the scheduler to make them active. AcceptingExamples<Printer name> ... Accepting yes </Printer> DescriptionThe /usr/sbin/accept printername /usr/sbin/reject printername This directive must appear inside a AllowUserExamples<Printer name> ... AllowUser foo_user AllowUser @bar_group </Printer> DescriptionThe /usr/sbin/lpadmin -p printername -u allow:foo_user,@bar_group This directive must appear inside a DefaultPrinterExamples<DefaultPrinter name> ... </Printer> DescriptionThe /usr/sbin/lpadmin -d printername Note that the server default destination settings can be
overridden by the user's default destination settings which are
normally set using the DenyUserExamples<Printer name> ... DenyUser foo_user DenyUser @bar_group </Printer> DescriptionThe /usr/sbin/lpadmin -p printername -u deny:foo_user,@bar_group This directive must appear inside a DeviceURIExamples<Printer name> ... DeviceURI socket://foo.bar.com:9100 </Printer> DescriptionThe /usr/sbin/lpadmin -p printername -v device-uri This directive must appear inside a CUPS 1.2ErrorPolicyExamples<Printer name> ... ErrorPolicy abort-job </Printer> DescriptionThe /usr/sbin/lpadmin -p printername -o printer-error-policy=stop-printer The following values are supported:
This directive must appear inside a InfoExamples<Printer name> ... Info My Printer </Printer> DescriptionThe /usr/sbin/lpadmin -p printername -D "My Printer" This directive must appear inside a JobSheetsExamples<Printer name> ... JobSheets none,standard </Printer> DescriptionThe /usr/sbin/lpadmin -p printername -o job-sheets-default=none,standard If only one banner file is specified, it will be printed before the files in the job. If a second banner file is specified, it is printed after the files in the job. The available banner pages depend on the local system configuration; CUPS includes the following standard banner files:
This directive must appear inside a KLimitExamples<Printer name> ... KLimit 1234 </Printer> DescriptionThe /usr/sbin/lpadmin -p printername -o job-k-limit=1234 This directive must appear inside a LocationExamples<Printer name> ... Location Building 3321 </Printer> DescriptionThe /usr/sbin/lpadmin -p printername -L "Building 3321" This directive must appear inside a CUPS 1.2OpPolicyExamples<Printer name> ... OpPolicy default </Printer> DescriptionThe /usr/sbin/lpadmin -p printername -o printer-op-policy=default The default policy is named "default". All policies correspond
to those defined using the cupsd.conf This directive must appear inside a CUPS 1.2OptionExamples<Printer name> ... Option name value Option scaling 100 Option page-left 72 </Printer> DescriptionThe This directive must appear inside a PageLimitExamples<Printer name> ... PageLimit 1234 </Printer> DescriptionThe /usr/sbin/lpadmin -p printername -o job-page-limit=1234 This directive must appear inside a CUPS 1.2PortMonitorExamples<Printer name> ... PortMonitor bcp </Printer> DescriptionThe /usr/sbin/lpadmin -p printername -o port-monitor=tbcp The following standard port monitors are included with CUPS:
This directive must appear inside a PrinterExamples<Printer name> ... </Printer> DescriptionThe /usr/sbin/lpadmin -p printername ... QuotaPeriodExamples<Printer name> ... QuotaPeriod 604800 </Printer> DescriptionThe /usr/sbin/lpadmin -p printername -o job-quota-period=604800 This directive must appear inside a CUPS 1.2SharedExamples<Printer name> ... Shared yes </Printer> DescriptionThe /usr/sbin/lpadmin -p printername -o printer-is-shared=true This directive must appear inside a StateExamples<Printer name> ... State idle </Printer> DescriptionThe /usr/sbin/cupsenable printername /usr/sbin/cupsdisable printername This directive must appear inside a StateMessageExamples<Printer name> ... StateMessage Ready to print. </Printer> DescriptionThe StateMessage Connected to host_name... StateMessage Connecting to printer_queue on port port_number... StateMessage Network host host_name is busy; will retry in 30 seconds... StateMessage Printer busy; will retry in 10 seconds... StateMessage Printer is busy; retrying print job... StateMessage Print file accepted - job ID id_number. StateMessage Ready to print. StateMessage Waiting for job to complete This directive must appear inside a CUPS 1.2StateTimeExamples<Printer name> ... StateTime 1133542425 </Printer> DescriptionThe This directive must appear inside a |
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0087 ]-- |