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
1answer
599 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
2answers
446 views

How to add printer ricoh 2018d?

I'm using Linux Mint 13 and got some troubles with installing Ricoh 2018d. I also have an another printer, "Hewlett-Packard HP LaserJet Professional P1102w" and this was piece of cake. I've just do ...
1
vote
1answer
100 views

lp command can’t open samba url

I have a Linux host with Samba installed and a Windows server with some Files. Samba is set up correctly and works just fine. I can show PDFs from the Windows server with evince ...
2
votes
1answer
334 views

lpr printing wrong ASCII characters

Since upgrading to Ubuntu 12.04, the printing of plain text files with lpr on my HP LaserJet 2420 printer malfunctions in a very specific way: for each character that is supposed to be printed, the ...
1
vote
0answers
232 views

Cups configuration does not consider my new PPD driver (Debian Wheezy)

My Brother HL-4040CN is very unpredictible when trying to print images or PDFs. Searching around, I found an accurate driver description file at openprinting.org: ...
2
votes
2answers
1k views

How to make a printer which is recognized but not working print

I'm running a Debian 6.0. I connected an HP 1000 J110 to my server which I access via SSH. Listing the USB ports it recognized it. Also I Pasted the PPD on the /etc/cups/ppd/ folder. Is the PPD my PC ...
0
votes
3answers
464 views

Can groff create a ps file with interpreted ANSI escape characters?

This question is inspired by this one on SU. How can I print bold or color using lp and ANSI escape sequences? I know how to display, for example, bold text in the terminal: $ echo -e ...
1
vote
3answers
1k views

How to force lp from CUPS to print in grayscale?

I want to print an image from a command line: lp -o scaling=//100// image.jpg How can I force it to be printed in grayscale?
1
vote
0answers
188 views

Enable remote printing options with cups-lpd

I am trying to print from SCO OpenServer remotely to a CUPS-LPD daemon running on a Red Hat Linux machine but it is dropping any print options from the print request. For example: lp -d ...
4
votes
2answers
165 views

printing .cpp file from command line using emacs

The goal is to print a set of *.cpp files on a network printer, but... in a way that the (color) printer prints the files like they appear in the c++ editor including the colors and highlighting. And ...
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
0answers
132 views

Panasonic printer refuses to print

I recently switched from Ubuntu to Opensuse because of bloatware (including Unity). However, I'm not able to make my LAN printer Panasonic KX-MB 2010 work. In Ubuntu I set the printer up using this ...
2
votes
2answers
472 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 ...
3
votes
2answers
381 views

How can I convert raw printer commands back to a postscript or pdf file?

I have a string of raw printer commands that are for my postscript printer saved to a file. I believe there is a lpr option like -o raw which will read these raw command and send them to the printer. ...
2
votes
5answers
2k 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 ...
1
vote
2answers
6k views

How to install a printer that is connected via an USB-to-Parallel-Port adapter?

I'm running Sabayon Linux (x86_64). $ uname -a Linux qdoe 3.7.0-sabayon #1 SMP Thu Dec 20 07:12:55 UTC 2012 x86_64 Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz GenuineIntel GNU/Linux I have a HP ...
3
votes
1answer
4k 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. ...
3
votes
3answers
3k views

Can (CUPS) ppd files for Mac OS X be used for linux?

I am looking at buying a printer (actually an all-in-one I prefer for the features it provides, but I want to focus on the printer part here) which does not provide linux drivers, but does provide Mac ...
5
votes
2answers
5k 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 ...
4
votes
2answers
2k views

Shellscript to print a directory tree and files's contents with a nice presentation

I'm trying to write a shellscript which prints a tree-view for a specific directory and it's subdirs to pdf via latex, as well as the titles and contents of all scripts contained within that primary ...
1
vote
3answers
445 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 ...
2
votes
2answers
5k views

Get list of installed printers

Inside of a script I send a certain file to print using the lpr command on an user-selected printer. The list of the printers, from which the user selects the one to use, I get using the lpstat -a ...
1
vote
0answers
283 views

How do restore printer settings from a backup

I recently re-installed my system from Mint 12 to Mint 14. Pretty much everything is set as before but I had apparently forgotten about the printers. In order to avoid resetting all the small ...
3
votes
2answers
1k views

Printing a file from local computer using printer connected to remote server

On the remote server, I use lp command to print documents. I can connect to this server through SSH. How can I print a file directly from my local computer using that printer?
3
votes
1answer
1k 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: ...
0
votes
1answer
203 views

Default printing options in KDE 4 dialog

How can I set default printing options, so that they are always pre-populated in the KDE 4 print dialog window (when printing from Ocular for example)? EDIT: In particular I would like to set duplex ...
2
votes
1answer
53 views

Printing maps/cartoons/text saved as a picture/etc

What is the best way to print maps/cartoons/text saved as a picture/etc., so pictures that are not photos? The standard routines seem to blur and soften the printed picture, which is probably ...
2
votes
0answers
759 views

Send print job to printer immediately without queueing, aka increase print performance

I have a ruby/rails web application, one action of which sends PDF files that have been generated by the app to a Xerox 4127 printer on the network. This is accomplished via shelling out and running ...
7
votes
5answers
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 ...
1
vote
2answers
406 views

Get directory that script was called from

I have a script doSmth in /usr/bin. Is it possible to print the directory the script was called from is printed out by the script? So If I call doSmth from /home/me the output will be /home/me.
2
votes
1answer
902 views

Resume last print job from command line

To resume a job from command line I can call lpq which gives me the job number for example 211 and then lp -i 211 -H resume. However is there a way to resume the last job without figuring out its ...
1
vote
0answers
247 views

How can I configure Wine's default paper settings?

I'm having trouble with the locale settings in my Microsoft Office Wine bottle/prefix. When I created it, I had followed the Gentoo Localization Guide's suggestion to not set LC_ALL. However, when I ...
2
votes
1answer
155 views

Samsung CLP-31x printer not working

So, my Samsung CLP-31x series printer stopped printing from Debian 6 applications. Closed source applications such as Chrome work, as does Foxit under Wine. Currently using the foo2qpdl CUPS driver. ...
1
vote
0answers
104 views

printing to “One Single CUPS Server” can not find queues if 'ServerName' is a CNAME

Running "OpenSuSE 11.4" with "cups-client-1.4.6-6.1.i586" installed, I try to use one single CUPS-server to do all my printing jobs / to manage my queues. In YaST -> printer I've selected [x] Do ...
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 ...
6
votes
3answers
5k views

printing problems with DDST (aka PCL6) printer RICOH Aficio SP C240DN

I'm having big problems printing on a RICOH Aficio SP C240DN (a color laser printer). CUPS/OpenPrinting doesn't have a driver for exactly this printer. There are similar numbers but not 240DN. It ...
5
votes
3answers
560 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 ...
3
votes
4answers
3k views

convert single-page landscape pdf into rescaled double-page portrait pdf

I'm having trouble using convert to do the following: I have a bunch of single-page pdf files whose geometry corresponds to a landscape A4 sheet. The actual content is visually split in 2 pages. ...
2
votes
1answer
318 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 ...
8
votes
3answers
3k views

How can I print well formatted 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 ...
2
votes
2answers
176 views

Print like Firefox

Made a CLI script to print Wikipedia articles: WIKI='https://en.wikipedia.org/w/index.php?title=' TITLE=$1 PRINTABLE='&printable=yes' SRC=$WIKI$TITLE$PRINTABLE HTML=$1".html" PS=$1".ps" wget ...
3
votes
1answer
590 views

Is this a bug? (Collate + duplex printing = unexpected behaviour) [closed]

Given the following facts: We have a document that consists of multiple pages We print multiple copies of it We print duplex (double-sided) We enable the option collate Under several Linux ...
0
votes
1answer
1k views

Network Printing in Fedora

I´m having problems setting up network printing in Fedora 16. In the printer setup box it says FirewallD is not running and gives a list of protocols that need to be enabled. I cannot find a FirewallD ...
2
votes
0answers
80 views

Which GNOME themes are suitable for black and white printing?

I need to place some screenshots of GNOME applications, such as the file manager, in a book. The book will be printed in black and white, and, although shades of gray are okay, it is best that I avoid ...
1
vote
0answers
1k views

Printing failure at a network printer in linux

I added a network printer to my network by the RedHat Enterprise workstation 6 linux GUI. It seemed that the printer setting did find the network printer. However, whenever I tried to print, the job ...
6
votes
2answers
3k views

What is “Print to File” and can it be used from command line?

When you select "Print to File" in a Gnome print dialog (not cups-pdf): ... what is the actual command that gets executed? (I'm interested in the postscript variant, as on the image) On the other ...
0
votes
1answer
1k views

Printing failure in Linux Mint 13

I installed Mint 13, 64-bit, Cinnamon, and have a Canon ImageClass MF4150 printer. I retrieved and installed the drivers. I added the printer and tried to print a test page. The message said ...
2
votes
2answers
1k views

How to specify printer paper size in mm instead of inches?

In eog (Eye of Gnome) 2.30.2, I found no way to specify size unit in mm in Print... and Page Setup dialogs: So I have to convert these sizes in inches to sizes in mm. I'm using CUPS as the print ...
3
votes
0answers
101 views

Configuring networked printer to archive print jobs

Our existing infrastructure has a shared printer running on a windows machine. It may be upgraded to a real network tcp/ip based printer in the near future. How can I make it automatically keep a ...
2
votes
2answers
444 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 ...