Printing is a process for reproducing text and image, typically with ink on paper, using a printer or a printing press.

learn more… | top users | synonyms

0
votes
1answer
42 views

Landscape Printing in Linux

I'm having trouble printing in landscape mode in a Gentoo (AMD64) installation. The setup: CUPS-1.7.5 CUPS-Filters-1.0.54 ghostscript-gpl-9.14 proprietary brother drivers Printer: Brother DCP ...
2
votes
1answer
977 views

Printing PDF with not embedded TrueType Font (cups / lpr)

I have a PDF in which the TrueType font OCRB is used, however the font is not embedded. So I tried to install the font on my system (which is by the way a SLES11 SP2), I did the following things: ...
1
vote
1answer
467 views

Installing HP DeskJet 3520 in CUPS

I am trying to install this printer into CUPS under Debian 6. The printer is automatically detected correctly and then I have a list of drivers to choose from. There is no driver for the 3520 - so I ...
2
votes
2answers
360 views

View all user's printing jobs from the command line

I'm running Fedora 17, Gnome (3?), and using bash from terminal. Whenever I run lpstat I only get a list of my jobs, but every time I go to retrieve my jobs from the printer, somebody else is ...
5
votes
3answers
408 views

How to print (part of) a man page?

The question is: how do you print only part of a man page? Currently I do zcat manpage.1.gz | vim - and just remove everything I don't want to print. Then I pass that through groff and lpr. Are there ...
0
votes
1answer
722 views

Canon Pixma MG4150 not working on Arch Linux

I’m trying to install a Canon Pixma MG4150 multifunction printer on Arch Linux 3.5.4-1-ARCH x86_64. The device is not working out of the box, I didn’t find anything about this printer on Google for a ...
0
votes
1answer
2k views

Adding printer from Gnome 3 on Debian Wheezy, Firewalld not running

I get an error trying to add a printer on Debian Wheezy that FirewallD is not running. I am trying to add a remote printer. There is no firewall on this computer, iptables blocks nothing, and there is ...
2
votes
2answers
871 views

Can't print to PDF using cups-pdf; used to work, now “failed to set file mode” printing as non-root

Here's something really odd: something that used to work fine in Debian, and then broke, even without a dist-upgrade. I used to be able to use the CUPS PDF virtual printer to print anything to a PDF ...
2
votes
1answer
273 views

How can I print a2ps a file --portrait without being all squished?

I installed a2ps for printing but the output is landscaped. I tried using --portrait which 'kinda' worked... but didn't. The orientation was switched 90' but it's only 50% of the width and the ...
4
votes
1answer
107 views

Printing Latex source with a2ps

When I try to print out latex source code with a2ps somefile.tex I get error messages from egrep like egrep: Das Ende des angegebenen Intervalls ist nicht gültig which translates to "the end of ...
3
votes
1answer
24 views

Preventing mid-word line breaks in a2ps

So I understand that a2ps is mostly for converting ASCII code to postscript for printing, but occasionally I like to print a .txt or .md file for school. Often, an entire sentence (or even a ...
1
vote
1answer
988 views

General problem solving steps when print jobs hang in AIX?

What should I do if jobs are getting stuck in the print queue even after restarting spooling? $ stopsrc -g spooler $ startsrc -g spooler $ lpstat -oQUEUENAME | wc -l; sleep 30; lpstat -oQUEUENAME | ...
2
votes
1answer
262 views

How to print (Cups, lpr, whatever…) in grayscale in a _generic_ way?

Problem: E.g. Cups just offers options to manage colors. Unfortunately they are specific to the manufacturers model. I.e. xerox is using e.g. "XRXColor, BW", Dell "ColorModel, KGray" etc... I am ...
1
vote
2answers
61 views

Print UTF-8 file with command line tools

I want to print a file using a command like cat filename > /dev/lp0 where the file contains characters like ùàç encoded in UTF-8. Is this is possible or do I need to use CUPS? I'm using an ...
6
votes
4answers
1k views

How to merge 2 PDF files with interleaving pages order?

I've got a double-side-printed multipage document to scan with a linear bulk scanner. So, as the result I get 2 PDF files: one containing all odd pages and the second containing all even pages. I need ...
0
votes
0answers
50 views

How to print pcl or esc/p code on host-driven printer?

I have a host-based printer (HP Deskjet D2460) and have some printer language files (pcl codes) that I would like to print out. I saw that in cups there are some filters like rastertopcl, etc. which ...
2
votes
0answers
29 views

Integrate custom LPD filter into CUPS

I've stood up a new print server and instead of using LPD we're trying to use CUPS. The old LPD server had custom filters written in C that need to be applied to the new CUPS server. The problem is ...
1
vote
0answers
31 views

lpr ignores options specified by -o

When submitting a text file to a printer (HP Color LaserJet 4650) from a Debian 8/openbox system, the -p or -o prettyprint option is ignored. Printing the same file from a MacOS X system produces a ...
3
votes
1answer
2k views

Connect Windows printer to Linux machine via samba

How can I connect my Windows printer to a Linux (RHEL5) box via samba? I'm looking for a clear configuration file
3
votes
2answers
202 views

Print text from terminal

I would like to use a Linux distro without a desktop environment, but I need to print out homework that I type up. I could always email it to myself and print from another computer, but it would be ...
2
votes
1answer
180 views

Print job “Held for authentication”

Following the instructions here, I have installed a Samba print server on an ARM-based Udoo-quad running Udoobuntu 12.04 LTS. The Samba server is working, and (after setting guest ok = yes in the ...
1
vote
1answer
58 views

Manual Duplex printing

I have a printer (Samsung M2022W) which doesn't support duplex printing. However, I would like to manually print on both sides (that is to say, print even pages, then insert these pages again on the ...
2
votes
2answers
364 views

Is there a way to get the filename (or title) of a completed print job?

The lpq -a lists, among other things, the name of each file printed. Rank Owner Job File(s) Total Size active myuser 2 version.txt 1024 ...
5
votes
2answers
4k views

Ricoh Aficio SP 100su E

After installing a Ricoh Aficio SP 100su E printer (it does scanning as well), I've tried a tenth of the GDI and PCL (5e/6) generic and Ricoh drivers without any success. I've learned from Ricoh that ...
0
votes
0answers
14 views

lpr with reverse video

When sending a text file to the printer from the command line (by, e.g., lpr -P printer-name file.txt), is it possible to specify that inverted colors be used by the printer (i.e., white text on black ...
3
votes
2answers
110 views

Chromium browser does not allow setting the default paper size for “Print to File”

In Chromium, as in other web browsers, there is a Print function, which includes printing to physical printers, as well as a "Print to File" function. The default paper size for the physical printers ...
1
vote
1answer
71 views

Print PDF scaled-down and aligned

I want to print a PDF file with all pages scaled down equally (to, say, 70 %). The scaled-down pages should then be left-aligned on the printing paper. This doesn't seem to be possible with lpr ...
0
votes
1answer
70 views

Get driver location for particular printer via command line

This is on OS X 10.8. I want to be able to arbitrarily pull the configuration for a particular printer, so I can use it in a package-creation script. The script (not mine) uses /usr/sbin/lpadmin -p ...
4
votes
1answer
216 views

Duplex printing options using lp or lpr

The default options for a Brother MFC-9340CDW printer, are reportedly (e.g. querried via lpoptions -l) set to: PageSize/Media Size: *A4 Letter Legal Executive A5 A6 B5 JISB5 JISB6 EnvDL EnvC5 Env10 ...
1
vote
0answers
30 views

Is it possible to cancel a job in the printer spooler with cancel -a

I need to cancel a printing job in a printer cause the job I want to send is a "high priority" job. I have CentOS 6.2 installed. I know that with CUPS and cancel -a I can cancel all local printer jobs ...
0
votes
0answers
85 views

How do I add and cancel print jobs in debian wheezy?

So I have a Canon MP150 printer running in debian wheezy, which I've added using the CUPS print manager (going to http://localhost:631/jobs/). I tried to print with not enough paper in the printer and ...
1
vote
1answer
18 views

How can I get my lp printout to *always* be smaller and one sided?

The default output is double sided and too big. I can get better output with lp spec/scenarios_spec.rb -o sides=one-sided -o fit-to-page How could I make those options - -o sides=one-sided -o ...
7
votes
3answers
2k views

How can I print good looking code

Similar to using markdown on Stack Overflow to create monospace output, how can I do that for my programs. I tried lp filename.txt and was pleasantly please to find that it was able to use the local ...
5
votes
1answer
129 views

How to print password protected pdf with cups from command line?

I have a *.pdf file that is password protected. I have the password and I can view the pdf with mupdf. However, printing with CUPS via lpr -P PRINTERNAME *.pdf does not work. All my printing is done ...
3
votes
1answer
93 views

Stop printer jobs from terminal

I am working with an old CentOs version (5.0) that is not really my machine. Recently, for some dark reasons, I have problems in printing. The jobs rest in queue, and I cannot cancel them from the ...
1
vote
0answers
29 views

Print EPS file at original size but changed position

I'd like to print EPS files, ensuring they print at their original size. I found out that my default document viewer, Okular from KDE, will always scale to fit size, and I can't seem to find a way to ...
1
vote
0answers
26 views

Can't print from fluxbox unless I first log in to a different WM

I'm running Linux Mint 17 with fluxbox as my WM. If I boot the machine and log in to a fluxbox session, I can't print; the printer doesn't show up in print dialogs. If I log in to a cinnamon session, ...
1
vote
2answers
8k views

How to enable cups-lpd / port 515?

I have a print server using CUPS on a CentOS 5.3 box. On my PC, I set up a remote printer with the URI http://$PRINT_SERVER:631/printers/$PRINTER_NAME, and have successfully been able to print files ...
2
votes
1answer
288 views

List All Network Printers (including ones not installed)

It is easy to list the printers you've already installed with this command: lpstat -a However, this does not list network printers you have NOT installed. nmap will scan for all open ports on the ...
1
vote
1answer
104 views

CUPS filter for a raw queue

I am having issues figuring out how to add a filter for a raw queue in CUPS - if this is possible. Basically, what I need to do, is convert a TIFF to PS before sending it to the raw queue. The ...
0
votes
0answers
17 views

HP Wifi printing problem

I have an HP PhotoSmart, under Debian 7.5. I'm trying to use my Wifi connection to print documents. It seems to work, but finally only prints the beginning of the pages I send. Any hints? With ...
2
votes
1answer
3k views

CUPS gives 'Unable to open the initial device, quitting' when printing to network printer

I am trying to print over Wi-Fi to an HP Photosmart D110 printer which is successfully recognized by CUPS. But I only get a sheet with the error message Unable to open the initial device, quitting. ...
9
votes
3answers
1k views

CUPS remote printer entry is stopped locally

My local CUPS daemon on my laptop has an entry for a remote printer on my CUPS server. My local CUPS daemon thinks this printer is stopped, but it's not. The only interface CUPS gives me to manage ...
3
votes
1answer
94 views

Replacement to CUPS Browse Protocol

The CUPS "browsing" protocol was marked as deprecated being removed at v1.6 of CUPS, due to problems with broadcast and managed networks/WiFi. It's an UDP protocol to broadcast information about ...
9
votes
2answers
238 views

Using a shell script as a virtual printer

I have a shell script that takes a PDF file as an argument and prints it with additional printer specific options. How can I add this script as a virtual printer that can be selected from the GUI? ...
3
votes
1answer
42 views

Printing short latex snippets

Is there a way to quickly (render and) print short latex snippets like single equations? Something similar to echo "Some text" | lpr like make-latex-image "$\frac{some}{equation}$" | ...
1
vote
3answers
1k views

Ignoring “print banner page” flag in inbound LPD jobs (CUPS-LPD)

I have a USB inkjet printer connected to a server running CentOS 5.7 (64). I installed and enabled cups-lpd so that another Unix server could send print jobs to that printer. The other Unix server ...
2
votes
4answers
1k views

CUPS - check if print successful (either python or in system)

EDIT: I forgot to make it clear I'm using python and pycups. The code is python but I shouldn't have thought that was enough. I've dug through the cups documentation a few times and couldn't find ...
0
votes
0answers
56 views

Raspberry Pi and CUPS with OKI C3200

I'm trying to use my Raspberry Pi (raspberrypi 3.10.25+) as an print server gateway to my OKI C3200.I have successfully installed CUPS 1.5.3 and my printer was detected immediately, so the ...
0
votes
1answer
527 views

How do I get the right `lpr` for cups installed on Ubuntu Server 14.04?

UPDATE It appears the lpr in the lpr package is not the one that works with cups. The questions is, how do I get the cups version of lpr installed? Old Question lpr on ubuntu 10.04 includes an ...