It can also be used to set the server default printer or class. When specified before the -d, -p, or -x options, the -E option forces encryption when connecting to the server. The first form of the command -d sets the default printer or class to destination. Subsequent print jobs submitted via the lp 1 or lpr 1 commands will use this destination unless the user specifies otherwise with the lpoptions 1 command.
|Published (Last):||21 February 2018|
|PDF File Size:||1.12 Mb|
|ePub File Size:||8.62 Mb|
|Price:||Free* [*Free Regsitration Required]|
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 is set to the device URI of the destination printer. Back-channel data from the device should be relayed to the job filters using the cupsBackChannelWrite function.
Backends are responsible for reading side-channel requests using the cupsSideChannelRead function and responding with the cupsSideChannelWrite function. Device Discovery When run with no arguments, the backend should list the devices and schemes it supports or is advertising to the standard output.
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" device-class device-uri "device-make-and-model" "device-info" "device-id" "device-location" The cupsBackendReport function can be used to generate these lines and handle any necessary escaping of characters in the various strings.
The device-class field is one of the following values: direct The device-uri refers to a specific direct-access device with no options, such as a parallel, USB, or SCSI device. If the device-uri contains a baud value, it represents the maximum baud rate supported by the device. 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. 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. The optional device-id field specifies the IEEE device ID string for the device, which is used to select a matching driver.
The optional device-location field specifies the physical location of the device, which is often used to pre-populate the printer-location attribute when adding a printer.
Linux Mint This forum is for the discussion of Linux Mint. Notices Welcome to LinuxQuestions. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
By default samba does not get started you have to set it to start and configure it. Please visit this page to clear all LQ-related cookies. Results 1 to 10 of Join our community today! It should have been Code:. Sign up using Email and Password. This can confuse users as printer setup tools show each printer twice and users do not know which instance to select.