Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
0
votes
1answer
83 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 ...
6
votes
1answer
1k views

How shall I generate a pdf file instead of a ps file using enscript?

I was wondering why the following generates a ps file not a pdf file? How can I make it generate a pdf file? Thanks. $ enscript -B -PPDF code/bloom.c -o bloom.pdf [ 2 pages * 1 copy ] left in bloom....
2
votes
1answer
56 views

Dividing a large printing job into multiple smaller jobs

Let's say I want to print a 1,000 page document using one printer. My understanding is that, while the 1,000 pages printing job takes place, nothing else can be printed. I would like to enable other ...
0
votes
1answer
41 views

Continuesly print piped value with carraige return

I have a bash script where I do some filtering with the sed command and then pipe the result to gzip to zip the output again. The filtered output has the format <id>,<title>,<bool (0 or ...
0
votes
1answer
67 views

lpr cannot open connection to localhost

I would like to know how to print with lp commands without using CUPS. If I send a file to print with this command: cat fichero.txt | lpr I've got this error: lpr cannot open connection to ...
2
votes
2answers
454 views

How can I print double-sided with ipptool?

I am using the comming line ipptool for printing, which is a low-level tool in the CUPS daemon for internet printing. IPP is a HTTP-based protocol for internet printers, most current LAN-based office ...
1
vote
0answers
157 views

Paper data backup on Linux?

Does there exist a tool like Paperback for Linux? PaperBack is a free application that allows you to back up your precious files on the ordinary paper in the form of the oversized bitmaps. If you ...
6
votes
2answers
496 views

How to reverse-engineer a CUPS printer/print job?

I have quality issue with PDF printing local (CUPS) vs. Google Cloud Printing. (GCP is better, with CUPS I get wrong size, wrong characters, wrong fonts. So I want to know what CUPS does!) The ...
1
vote
0answers
61 views

Can I print on a Linux local printer using a remote windows driver?

I have 10 Raspberry Pi's (RPI) all of which have their own USB Zebra GK420d label printer. After installing CUPS to each of them I can print labels to their printer using EPL2 PPD but it is too slow, ...
1
vote
1answer
330 views

Manually adding SANE device address to work with GUI

I have a Samsung M2070W MFP and I want to make scanning over network functional in GUI programs such as simple-scan. I used the official driver installer (SANE driver smpf) and scanning over USB ...
3
votes
1answer
170 views

How do I install a network printer that needs a user name and password?

The printer is a Ricoh 8100S, which does has a Linux driver. The university gave me documentation for installing the printer on MacOS and Windows, but nothing about Linux. The Mac instructions give ...
1
vote
0answers
274 views

Print multiple documents and finish all of them with stapler using lp in linux?

I'm using this command to print multiple files with lp in linux but each document is being finished with stapler: lp -d printername -o "HPPaperSource=Tray3" -o "HPStaplerOptions=1StapleRightAngled" /...
0
votes
0answers
115 views

unix printing files (simple txt files )with pages numbers

I am using the command lp -d (printer_name) * to print all files in the current directory. How can I print the page number also: 'Page-1' or '1' on each page per file printed?
2
votes
1answer
171 views

CUPS manual duplex printing on Dell E525w Color LED all-in-one in Linux Mint

Dell's Linux support for this printer is limited to a .ppd file that hasn't been updated since 2015, and that doesn't support the manual duplex mode that is apparently hard-coded into the printer's ...
0
votes
1answer
69 views

How can I use `psutils` to imposition 16 A7 pages onto the front and back of a A4 sheet so it will fold into a booklet?

I want to use psutils to imposition 16 A7 pages onto one A4 paper, so that it can be folded three times to create a booklet (that has to be cut of course). The booklet will be in A7 format and have 16 ...
2
votes
1answer
624 views

Some questions regarding pr command

Can someone please answer below question. Note: (Since i am unable to copy paste from my linux virtual box to windows, i have to use screenshots at some places, please excuse me for that) Quote from ...
0
votes
1answer
637 views

CUPS “Can't detect file type” after apt dist-upgrade

I ran apt dist-upgrade on my Raspberry Pi and CUPS stopped working, so I can no longer print over the network. I tried restarting the CUPS service (and the whole system), and also removing and re-...
1
vote
0answers
432 views

What command can I input to print out my terminal interface?

As you can see my attached image on this thread, I am using a software called FORM from nikhef for my qft homework. I need to print out the result, which is outputed in the linux terminal for my ...
3
votes
0answers
267 views

Printing to smb with kerberos auth?

I want to set up a printer via samba client to a Windows printserver. I managed to do it specifying this connection string: smb://user:pass@printserver/printer Is there a way to do auth through ...
1
vote
1answer
175 views

How can I list default lpr filters?

I can discard lpr default filters using the -l (or -o raw) option. But how can I list them ? (FWIW I'm using lpr from cups-client 1:2.2.6-15.fc28, Fedora.)
1
vote
0answers
1k views

Printing to CUPS via SAMBA shared printer slow

We have a Debian print server running CUPS. In CUPS we have a Raw print queue configured that connects to our networked printer via IPP. I've also shared this printer to our Windows users via a Samba ...
3
votes
1answer
840 views

Brother MFCL2700DW duplex issues

I have installed linux drivers for the network printer (am using Ubuntu 17.10). That translates to following steps: wget http://download.brother.com/welcome/dlf006893/linux-brprinter-installer-2.2.0-...
1
vote
0answers
103 views

CUPS: How to anonymize the filename being printed

When sending documents to a shared printer using CUPS, is there a convenient way to automatically hide the filename of the file being printed? In other words, I do not want administrators of the ...
0
votes
1answer
809 views

hp-setup python3 error: cannot import name '_gobject'

I just started getting this error on Arch Linux. hp-setup has been working well until now. I don't understand the error message. hp-setup HP Linux Imaging and Printing System (ver. 3.17.11) Printer/...
1
vote
1answer
65 views

Copying tab-delimited data out of the shell

I already posted this on askdifferent, but no luck. Glad to remove if out of scope. So I am running some Python scripts that print out tab-delimited data (i.e. adding the \t character during the ...
0
votes
0answers
491 views

Cups daemon is now running under “cups” user+group. Printers stop working

The cups package in Arch Linux had a recent update with the following changes: Cups daemon is now running under "cups" user+group. Please make sure to enable the new user+group change in /etc/...
0
votes
2answers
194 views

How to find out what process is printing pages on remote printer through STDIN?

Some process sends output of my console over stdin to remote print server. If there is cups printer configured, it prints it. So I need to keep cups disabled. I suspect something is running lp or lpr. ...
0
votes
1answer
2k views

USB printer not appearing in lsusb on Ubuntu 16.04

I am running Ubuntu 16.04 on my PC, and am unable to get my printer to work. (My printer is a LaserJet Pro MFP M127fn, if that matters.) Hopefully the following is enough for someone to help me out. ...
2
votes
1answer
554 views

Printer reverts to being disabled?

I have a Brother HL-L8260CDW printer connected via USB to a machine running Linux Mint 18.3 Cinnamon. The printer works fine -- however after a time period it becomes "unplugged". In order to get it ...
1
vote
1answer
73 views

Why are there both printf and print in this command?

While studying about fail2ban I came across this command. I never worked with awk before, only with sed. I don't understand why there are both printf and print, there: awk '{ printf "# "; print; }' /...
2
votes
0answers
248 views

How can I force cups to send only black and white to my monochrome printer

How can I force cups to send only black and white to my monochrome printer? By black here, I mean anything not white; that's to say, no grey scale. There are answers here about enforcing grey scale on ...
1
vote
0answers
132 views

Can I (pre)view a print job from the print queue?

Inspired by Mac OSX, I wonder whether it is possible to view the content of a print job (e.g. the file content to be printed, not just the file name or title). Does any UI exist for that? Ideally ...
2
votes
0answers
324 views

Printed PDF says “invalidfont” and “OFFENDING COMMAND” when printing from Chrome

I have a OKI MC562dnw hooked up to my network and CUPS (2.1.3) installed on my laptop (Ubuntu 16.04.3) containing PostScript-drivers from OKI's site. Whenever I print a PDF-file from a website in ...
1
vote
1answer
296 views

How to print from KVM guest (Windows 10) on Ubuntu 17.10

I have setup KVM on Ubuntu 17.10 (host) and have Windows 10 running as guest OS on it. Attached to the computer is a USB printer. I would like to be able to print from the guest OS. Printer works fine ...
2
votes
2answers
449 views

Can I change how gedit prints its page header?

I'm often using gedit to print text documents. One thing I don't like is that it prints the full path to the document inside the page header, which sometimes overlaps what's in the top right corner; I'...
0
votes
1answer
88 views

lp add file-path to pdf

Is there an easy way how to add a filepath (or a string) to a printed pdf using lp, convert, pdftk, python or friends? I want to print a bunch of pdf files with watermarks/headers which are parts of ...
2
votes
1answer
712 views

What does the “Type” Keyword in CUPS printers.conf mean?

After installing cups-pdf on Debian I recognized a Type 8450124 for the new printer in printers.conf. Other printers have Type 4. So I was curious what this keyword means, but I couldn't find any ...
1
vote
2answers
1k views

Pdf viewer with page-per-sheet print setting

Is there a program that - when printing - provides an option for the number of pages to be printed per sheet? I know about this CLI solution, but I want a GUI. Can I have a such option or the ...
1
vote
2answers
2k views

CUPS asking for root password to resume printer on KDE

How can I configure CUPS not to ask for root password to resume or add a printer? Or add users so they're "administrators"? When using KDE Plasma, it asks for root password: "please enter a username ...
0
votes
2answers
715 views

I can't seem to echo without quotation marks around my string [closed]

I'm trying the following form in a .sh script: echo 'string' $var >> print.dat and it prints the following: 'string' 14.27 Which is almost what I want, but I need the quotation marks to ...
0
votes
0answers
40 views

Printing with Cups

I can print a test page from Cups. But if I print from e.g. Google Chrome, it is not working and Cups will also not know show any new jobs. The printer is on the network. How can I debug this?
1
vote
1answer
3k views

CUPS: How to troubleshoot “No printers found” condition?

If I point my browser to http://localhost:631/admin and click on the Find New Printers button, the page that comes up reports No printers found. My (wired, wide-area) internet connection works fine (...
1
vote
0answers
188 views

Linux printing using lp command

We are going to move our system from AIX to Red Hat. AIX had a command to start on the second page of the print file. What is a command to start on the second page of a print file? I tried the ...
0
votes
1answer
475 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
945 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
0answers
796 views

How to send SGD commands to USB printer?

I am trying to use SGD commands on Zebra 420 USB printer. printf "! U1 getvar \"device.languages\"\r\n" | lpr -P myprinter -o raw I expect this will print current lang value, but getting empty ...
1
vote
1answer
91 views

How to send a print job to another computer?

The IT technician at my workplace said that policy is to allow people to bring their own devices to work, but that IT cannot do any work on those devices. I brought my laptop with Debian installed, so ...
1
vote
0answers
27 views

In Cups, can you retain all print logs while canceling all print jobs?

in Cups for CentOS 6, can you disable all print jobs so that nothing is able to print yet still maintain all logs concerning all jobs in the print que? Thanks.
1
vote
1answer
282 views

How to print to PDF while appending to an existing document?

I am considering installing Linux Mint. I need to be able to Print to PDF, which appears to be as simple as selecting Print to PDF as the printer, however I also need to be able to append to ...
5
votes
1answer
668 views

What is the difference between cups-filters and foomatic-filters?

I tried googling the question What is the difference between cups-filters + foomatic-filters but I could not find anything helpful. The most descriptive result was from a mailing list but did not ...