Questions tagged [printing]

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

498 questions
73
votes
1 answer

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 -o print.pdf -sDEVICE=pdfwrite -sPAPERSIZE=a4…
Šimon Tóth
  • 8,098
  • 12
  • 40
  • 67
33
votes
2 answers

CUPS prints n² as many copies as I want

This has baffled me for a few weeks now. I have a Kyocera network printer set up in CUPS, and whenever I try to print to it I seem to end up with n² as many copies as I request. That is, I try to print 2 copies of a document and I get 4 I try to…
Mala
  • 610
  • 7
  • 16
24
votes
3 answers

How can I print well formatted code (hardcopy printout)

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 network printer and print 'as is' The problem is…
Michael Durrant
  • 41,213
  • 69
  • 165
  • 232
20
votes
7 answers

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 to merge them the natural way: 1. <- 1.1.…
Ivan
  • 17,368
  • 35
  • 93
  • 118
19
votes
5 answers

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? Google says it is a verb meaning "send (data that…
Tim
  • 98,580
  • 191
  • 570
  • 977
18
votes
2 answers

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 no printer listed when I want to print with…
lt_insitu
  • 181
  • 1
  • 3
17
votes
5 answers

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 hand - maybe there isn't a command call; maybe it…
sdaau
  • 6,668
  • 12
  • 57
  • 69
16
votes
4 answers

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 little bit spartan, even with the -=mail shortcut.…
maxschlepzig
  • 56,316
  • 50
  • 205
  • 279
15
votes
1 answer

How can I set up a usb printer as a network printer using a linux server?

Basically right now I have a USB only printer, it's very nice. There are 5 people in my household and we all are constantly wanting to use the printer. Windows has a built in way to share the printer, but this only works when the computer is on. I…
rmaes4
  • 253
  • 1
  • 2
  • 5
15
votes
2 answers

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.
c0dehunter
  • 885
  • 2
  • 9
  • 11
15
votes
3 answers

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" > /dev/usb/lp0. After searching I found a way to fix…
user11780
15
votes
2 answers

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 with CUPS 1.4.6-5ubuntu1.3. [EDIT] Output of lpstat…
Aaron Digulla
  • 5,918
  • 4
  • 19
  • 17
15
votes
2 answers

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 LAN, but the list produced won't be limited to…
Lonnie Best
  • 4,895
  • 6
  • 27
  • 42
13
votes
2 answers

Why is my PostScript print quality so poor?

My wife and I downloaded PDF museum passes and printed them on the same PostScript laser printer. To my surprise, hers looked much better! On the left is the printout from her Mac, and on the right the one sent from my Debian Linux machine. I am…
Aaron Brick
  • 401
  • 2
  • 10
13
votes
3 answers

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. CUPS would list the job as finished. I cannot…
Jeffrywith1e
  • 429
  • 1
  • 5
  • 10
1
2 3
33 34