Questions tagged [printing]

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

Filter by
Sorted by
Tagged with
10
votes
4answers
1k 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 ...
5
votes
1answer
6k 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 alone....
44
votes
1answer
33k views

Convert pdf to a different page size (US Letter -> A4)

I'm trying to print a simple US Letter document, but for some reason, I just cannot manage to fit it properly onto A4 when printing multiple pages per-list. I have tried converting the pdf using: gs -...
20
votes
3answers
17k 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 ...
13
votes
2answers
21k 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 ...
12
votes
4answers
9k 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 ...
9
votes
2answers
6k views

Get directory from which script was called from

I have a script doSmth in /usr/bin. Is it possible to get and print the directory the script was called from? So if I call doSmth from /home/me the output will be /home/me.
6
votes
5answers
10k 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 ...
4
votes
2answers
3k 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
1k 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 ...
3
votes
1answer
1k views

Printing UTF-8 (including Chinese) text

I am trying to print a large quantity (several megabytes) of UTF-8 encoded text which consists of Chinese and Latin characters (and maybe a sprinkling of others). I would like to print it in several ...
18
votes
5answers
5k views

What does spool mean for printing?

Mark wrote a comment for me I don't know offhand how to make cups not spool, that is, how to make the lpr command only exit after the printer driver has run. What does "spool" for printing mean? ...
10
votes
2answers
6k 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 ...
18
votes
1answer
6k views

Evince does not show printers

I have a problem with evince PDF-document viewer. I have a printer that is well configured with cups, and I can print PDFs from other PDF viewers such as Okular, but not with Evince. There are simply ...
6
votes
2answers
6k views

lpr: How to specify the page range “3 to end”?

The CUPS doc does not say how to specify a page range such as "3 to end". Can this be done without knowing the number of pages of the document? So something like lpr -o page-ranges=3-end -P myprinter?
0
votes
1answer
506 views

How to tell libgs to use another freetype implementation?

So after a year of use my printer decided to not print anymore. After troubleshooting for a bit I noticed that the cups error log shows something like gs: symbol lookup error: <path>/libgs.so....
3
votes
1answer
1k views

CUPS how to enforce B&W printing for a queue?

I have a printer which is shared to Windows. When printing users may be print Grayscale (b&w) or Color. I would like to configure CUPS in order to get all the jobs printed in GrayScale (B&W),...
2
votes
1answer
918 views

Print dialog crashes, any workaround?

At work, where there are dozens of printers on the network, I'm no longer able to open the print dialog (the Gnome/Gtk one opened by firefox, evince, gedit, etc.). This happened one day with no ...
2
votes
1answer
149 views

Canon MX 920 prints color even though I specify grayscale

I have Ubuntu 12.04 LTS and installed drivers for Canon MX 920 according to the instructions, Canon Drivers for Ubuntu and Linux Mint. I can print things from Ubuntu to the Canon but my problem is, ...
2
votes
1answer
352 views

Vim printoptions wont accept two options simultanenously

I want to print my code into a pdf file, and I found this answer very helpful. However, I want the generated pdf without header and with line number. From the comment and internet, I found I need to ...
6
votes
2answers
26k views

Why is the printer reversing black and white?

I'm printing documents and images to a Samsung ML1630. It used to work fine, but now it prints white instead of black, black instead of white. Text documents come out white text on solid black ...
5
votes
3answers
11k 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 ...
5
votes
2answers
1k 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 ...
4
votes
1answer
4k views

Specifying font with enscript

I've read the man page for enscript but cannot find the answer to this problem. I am trying to print using enscript with a downloaded AFM file but I can't get it to work. I keep getting the following ...
3
votes
2answers
2k 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
7k views

Driver for Canon i-SENSYS MF3010

In the specifications for Canon i-SENSYS MF3010 http://www.canon-europe.com/For_Home/Product_Finder/Multifunctionals/Laser/i-SENSYS_MF3010/ it is mentioned the printer is compatible with GNU/Linux. ...
1
vote
1answer
162 views

Printing silently fails for larger documents

I installed the official drivers for an USB Brother HL-1110 printer. Printing works, but only for somewhat smaller files. Printing a larger PDF file, for example one that contains bigger images, ...
0
votes
1answer
85 views

How can I make `enscript` block till the printer finishes its job?

The following command will create a pdf file under ~/PDF/: enscript -B -P PDF bloom.c I want to move the output pdf file here ...