Printer Status and Control For a full picture of whether the scheduler cupsd is running, what the system default destination is, whether a local queue is accepting jobs and what is yet to be printed you can use lpstat: Most printers support at least the size names “a4”, “letter”, and “legal”. Only the superuser can write directly to the printer device, which is why we have to preface the command with sudo. The page numbers refer to the output pages and not the document’s original pages – options like “number-up” can affect the numbering of the pages. The resulting system will be as complete as it can be and users setting up a print queue remote or local will have sufficient Debian printing resources at their disposal to do so. The print dialog will vary depending upon the printer used. With a driver on the system or supplied by the user the remainder of the queue setup should proceed successfully to completion.

Uploader: Feshakar
Date Added: 4 February 2013
File Size: 10.21 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 85835
Price: Free* [*Free Regsitration Required]

The way lpr works, in a nutshell, is: This command will install the Common Unix Printing System on your system. Alternative methods for PDF production can be based on using cupsfilter and cups-tea4cups. Otherwise, it is not very simple to set up and doesn’t provide much control for users on the printer settings per print job.

Driverless Printing A goodly proportion of the material on the Printing Portal pages, including the previous section, concerns printer drivers free and non-free and PPDs and setting up a print queue with them. This option is equivalent to -o prettyprint and is only useful when printing text files.


Doing so will open a web-based CUPS configuration screen, which should look something like this:.

You may need to manually install CUPS, and lpr itself, to print this way. The second section is for printers or print queues which have been discovered on the local network. Files named on the command line are sent to the named printer or the default destination if no devian is specified.

Linux lpr command

Scroll to navigation lpr 1 Apple Inc. This option is equivalent to ” -o prettyprint ” and is only useful when printing text files. RLPR Remote line printer spooling system. This name is a symbolic link to the device, and may vary.

And most importantly, it allows you to access the printer device without being the superuser. Files named on the command line are sent to the named printer or the default destination if no destination is specified. It has a small section to itself on the wiki. However, the files produced at various stages of the? It is largely the same as using the CUPS web interface for configuring printers but is a native application rather than a web page.

Run the following command, where computername refers to the name of the machine that shares the printer: It supports the Internet Printing Protocol IPPand debizn its own filtering driver model for handling various document types. The list can contain a list of numbers and ranges – separated by commas, e.

PDFs produced from PostScript files submitted to a queue generally do have these features; PDFs from text files do not because they are first filtered by texttopdf. If the automagic printer-sharing has worked, and your Mac is connected to the local network properly, then the Debian-based printer should already be visible in the list. This command will add you to the group of users allowed to administer printers on your system.


Specifies that the print file should be formatted with a shaded header with the date, time, job name, and page number. When you are asked to use WINS, say yes.

Debian User Forums • View topic – How to set up lpr?

Look first in the “Default” tab. The URL you will use should be: If you’re operating Debianor a Debian-derived Linux system like Ubuntu that uses the APT package managements systemyou can install them by running the following command:. These are very often printers using a USB connection but can be parallel or serial port printers. Then, from the command line, add your user to the group lpadmin with the command:. It performs setup of USB, parallel, network printers and all-in-ones.

Linux Informations

This will bring in many of the printing-related packages Debian has available. The package containing the backend and the PPD is installed with apt install printer-driver-cups-pdf The installation sets debkan a print queue with the name PDF.

The most important settings are type of paper, glossy photo or whatever sort you are using, and image type, “photograph”.