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

2
votes
0answers
7 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
16 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
2
votes
2answers
137 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
17 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 ...
0
votes
1answer
696 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 ...
1
vote
1answer
945 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
2answers
584 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 ...
1
vote
1answer
23 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
334 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 ...
4
votes
2answers
3k 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
12 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
74 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 ...
2
votes
1answer
881 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
425 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 ...
1
vote
1answer
32 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
40 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
122 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
27 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
27 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
15 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 ...
6
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
55 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
64 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
21 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
20 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
87 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
57 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
13 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
64 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
145 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
38 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
966 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
43 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
244 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 ...
1
vote
2answers
69 views

Stop netcat when VirtualBox closes

Using netcat to redirect print output from DOS program in VirtualBox under OSX. #!/bin/bash VBoxManage startvm FreeDOS while : do nc -l 1235 | lpr done This works except that when VirtualBox ...
-1
votes
1answer
75 views

How do i deal with HP Device Manager requiring authentication to remove print jobs?

I have Fedora 20, with Gnome 3 Classic, and have installed Okular to read and, especially, print pages from, .pdf files. I want to print only a few pages, but in my frustrated attempts to set this up ...
1
vote
3answers
321 views

Automatically printing images with added captions

I have a lot of scanned images and images/photos I'm working on with multiple versions. When I print them (using various programs), all I get is the image and, often, it's difficult to tell which ...
0
votes
0answers
31 views

Duplex option when printing to a Windows shared printer

I'd like to know, if I send lp -h 192.168.0.3 -d printer -o duplex txtfile, supposing it's a Windows shared printer, will it make the txt file be printed in duplex? Or should I first pass it to a ...
5
votes
2answers
1k views

Pretty print mails from mutt?

I know that I can configure a print command in Mutt via .muttrc, e.g.: set print=ask-yes set print_command="..." But what print command should I use for pretty printing? Well, a2ps output seems a ...
2
votes
1answer
413 views

Script to check a folder, print the files then delete those files

I am looking for some guidance on creating a script that will check a specific folder, print all documents (if any) and then delete those documents. I would also like to run this script as a cron job. ...
1
vote
0answers
27 views

I'm wondering about CUPS security. What can I do?

I run Debian Wheezy on a old Acer Aspire One ZG5 model netbook as a server. I have a printer shared to all my other systems and I'm worried about security. On the server I have IPtables set up to ...
1
vote
0answers
103 views

Canon network printer: Unable to open the initial device, quitting

I have a up-to-date Arch Linux and Canon drivers installed from the AUR (cndrvcups-lb). At work I have a Canon iR-ADV C5235 printer, that I want to get working. I added the printer via the cups ...
3
votes
1answer
105 views

Specify MIME type to CUPS's lpr command

It seems when you pass a file to lpr (or pipe to it), it attempts to guess the MIME type. Sometimes, however, it guesses wrong—and then attempts to print something "interesting" at best. Is there a ...
0
votes
0answers
28 views

Can't print from a remote laptop. The printer connected to the desktop computer is missing and randomly appears

I've got a desktop and a laptop, both of them with Linux Mint 13 'Maya' as OS. The desktop is cable-connected to a router and the laptop has a wi-fi connection to it. The desktop computer is also ...