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

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
179 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
621 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
82 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 ...
2
votes
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
2k 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
103 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
461 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 ...
1
vote
1answer
349 views

How to set default printer settings without driver

I am not at all an expert Linux user, but I do network and applications support for an office technology company. One of our clients is a pharmacy which prints prescription labels through software ...
2
votes
1answer
737 views

Printing files as PDF with syntax highlighting via terminal [duplicate]

Possible Duplicate: syntax_highlight <source_file> | lpr I have about 20 Python scripts that I wish to print as PDF. I wish to print them the way GEdit would allow me to, with: ...
2
votes
2answers
321 views

Canon iP3600 under Scientific Linux

I bought a new printer (I googled before and it looked like it's working under my OS..) I plugged the printer in a win7 machine, installed a few hundred MBytes of software, and it worked. Then I ...
2
votes
2answers
4k views

How do I change the font size when using lp on Linux?

I used to send files in Unix to a printer with lp, and used -ofp16.16 or -ofp12 to change the size of the fonts. This does not work on Linux; what should I use instead?
1
vote
1answer
2k views

Installing Epson Stylus SX115 printer on Archlinux

I have a printer 'Epson Stylus Sx115' plugged into my USB port. It is detected because it is listed in lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID ...
4
votes
1answer
2k views

How to print from remote over SSH to local LAN printer?

OK, so it is fairly straight forward to to run apps from a remote server on my local X screen as though they were local apps. The question is, when trying to print, the remote app only sees printers ...
0
votes
1answer
656 views

Can anyone help me how to install printer in openSUSE 12.1?

My laptop was reformatted, from Windows to openSUSE 12.1. My problem is that I'm new to Linux and don't have much technical expertise of solving problems in installation of programs, printers etc... ...
6
votes
1answer
597 views

CUPS - install once, use another printer (of the same model) without re-configuring problem

For example I have "HP 1020 LaserJet" local USB printer successfully installed on a CUPS. It uses one connection. If I get another HP 1020 LaserJet printer it wouldn't print, I am having to modify ...
2
votes
1answer
2k views

Printing from Linux guest with Windows host

I have a wireless printer set up on my Windows host, and I want to use it from my Linux guest. I got a "add a printer" window open, but when I click on "New", I get a few options, e.g. set up via ...
2
votes
1answer
446 views

How to create a book signature from text?

How can you transform a text file (plain text or HTML) or print-format file (PS or PDF) to bind it as a book using shell commands? That is, how do you create a print-format file which orders pages ...
2
votes
2answers
166 views

How to port printer settings between different distributions?

My wife's netbook has two distributions installed on it: OpenSUSE 11.4, which she no longer uses much, and Debian testing. The only reason why OpenSUSE is still installed is that, for some odd ...
0
votes
1answer
2k views

CUPS printing of pdf files

How can I tell the lpr command (cups) that my file is actually a pdf? lpr file.pdf won't print anything.
2
votes
0answers
169 views

Any way for Unix to ignore lpoptions and let Java do it's job?

I'm using the javax.print API to print a Jasper Report on Debian Linux. For some reason the saved lpoptions (CUPS settings) always override settings chosen on the Java Print dialog. At this point the ...
3
votes
3answers
522 views

How to make dot matrix printer print every line of 'tail -f'

I have a dot matrix printer, an Epson LQ-500. It works well with CUPS, and I use it to print listings sometimes, text files, etc. now, I'd like to use it as a logging printer. for that, I need it to ...
1
vote
1answer
120 views

printing issue: single page on PC is printing across multiple pages

I have just setup a ubuntu 11.10 desktop and i have an issue with the printing. When I send a document from the desktop to the HP Officejet 6500 E710n-z it will center it and print across 4 pages. ...
4
votes
1answer
394 views

Epson Stylus CX5600: Can't print

I'm using Linux Mint 11 (Katya). My printer is perfeclty recognized by the OS and I can configure it without problems. But when I try to print anything, both the printer's power led and error led ...
2
votes
1answer
396 views

Controlling users' default printer as an administrator

What are the necessary steps to change the default printer for individual users on a reasonably recent Linux system using CUPS? (i.e. not the system-wide default) The CUPS lpr manpage indicates that ...
9
votes
3answers
7k views

Mount printers at /dev/usb and still use CUPS

Due to a new version of CUPS, I suddenly lost the direct path to my printers that was previously available under /dev/usb/lpXXX. I used this to print directly from the command line. echo "test" > ...
2
votes
5answers
4k views

Why does the column command not align columns properly?

In another question I asked on how to hide all .pyc files when using ls, Ignacio suggested the following: This, as I mentioned above, doesn't work precisely, since the output is occasionally ...
1
vote
1answer
173 views

HPLIP spitting out raw data when I attempt to print

We got a new printer (HP m1212nf) as it was stated on the hplip site to be supported. Printer has been tested in windows so we know it works as well as it's network setup. Current system I am ...
3
votes
2answers
416 views

How to switch HP printer from CDROM mode to Printer/Scanner mode

I have an HP multifunction printer/scanner M1123 MFP. I installed the latest hplip that should support it and also hp-plugin. However, when I plug the device in, I only see a CDROM detected in dmesg. ...
4
votes
2answers
2k views

Do CUPS clients need to have drivers installed locally?

If I use CUPS, should clients have drivers installed locally? Example: say we have 1 Networked PC with Linux, 1 Print Server (or CUPS, Samba Print server) If the Linux PC wants to print a document ...
4
votes
2answers
5k views

Don't require root to add printers

When a user wants to add a new printer it's asking for a root password. I have an LTSP environment and the system is asking for a root password all the time; it's not asking even for a sudo'ed user's ...
6
votes
2answers
2k 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 ...
10
votes
3answers
521 views

syntax_highlight <source_file> | lpr

Does anyone know of a simple way to produce the PostScript corresponding to a syntax-highlighted version of a source file that can be piped directly to a PostScript printer? As the wording of the ...
1
vote
2answers
10k 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 ...
3
votes
2answers
5k views

How do I make “black&white” the default?

When I print something (Firefox 5 but also other apps), the option "color" is always set to "Color (CMYK)". How do I make "monochrome" or "black & white" the default? This is a Kyocera FS-C5100DN ...
9
votes
3answers
5k views

Is there an alternative to CUPS?

When printing with Linux is there an alternative to using CUPS? After using it for a couple of weeks printing suddenly stopped working. The 'processing' light would come on and that would be the end. ...
9
votes
3answers
2k 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 ...
2
votes
1answer
1k views

How to kill a stuck print job under AIX?

0:root@SERVER:/ # uname AIX 0:root@SERVER:/ # oslevel 6.1.0.0 0:root@SERVER:/ # switch.prt -d #printsubsystem AIX 0:root@SERVER:/ # lpstat -oQUEUENAME Queue Dev Status Job Files ...
3
votes
2answers
153 views

Mandriva 2007 Cannot setup printer

I tried to use a printer that is shared by a Windows PC. When I try to Mandrive Control Center > Hardware > Set up printer, the window opens but there is no content. Only a window. Seems that ...
8
votes
1answer
3k views

How to print from iPad to CUPS?

I would like to print from an iPad2 to the office printer running on CUPS. After following a couple of cookbook style cheat sheets, printing from the iPad still does not work. the iPad sees the ...
2
votes
1answer
1k views

Cannot connect to printer hosted on a Belkin print server

I tried to tap into Belkin Home Base (model #F5L049au) print server. I want to access a printer hosted by it. I set it up as a CUPs printer with the below specifications: Description: Via Belkin ...
5
votes
2answers
412 views

How to control the page parameters (margins, brochurisation) of `man -t` PostScript output?

I want to print several man pages as several booklets. I need to tweak the output of the man -t command so the resulting PostScript file will have the brochurised page numbering, pages must be ...
1
vote
1answer
752 views

Reccommendations for a wireless print server supported on Linux?

I have found it difficult to research a wireless print server which will be supported on Linux. I use Debian 6 and Ubuntu 10.04 (also Windows 7 64 bit, Vista, and MACOS Snow Leopard). Everyone in my ...
4
votes
2answers
825 views

How to change default “reading” program?

right now when I run man smth or similar less is used to view it. However, on Mac OS X, I really like scrolling with touchpad instead on up/down or page-up/page-down buttons. Is there a way to just ...
1
vote
1answer
1k 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
3answers
720 views

pad a number with zeroes

I need have put 0 on the results of my grep so my script format will be fine and i don't have any idea how to do it. here's my grep result : 261 : 261 = 0 | 1192 : 1184 = 8 | 283 : 283 = 0 | 666 : ...
1
vote
0answers
255 views

Printing to a SAMBA-share HP: Multiple copies appear

I have a Windows machine (W7.Ultimate) with a shared HP LaserJet CP1215. I have set this up via SAMBA as a shared printer on my laptop, running Fedora Core 15, using Foomatic/foo2hp. My problem ...