Questions tagged [printing]
Printing is a process for reproducing text and image, typically with ink on paper, using a printer or a printing press.
502
questions
1
vote
3
answers
331
views
awk print between lines when "/" is part of the name
I need to print lines between those that contain a "/" in the name.
I tried with:
awk '/+SOLUTION/ESTIMATES/,/-SOLUTION/ESTIMATES/' $F > fil$F
and
awk '/+SOLUTION"/"ESTIMATES/,/...
0
votes
1
answer
40
views
Print two half-sized copies of a two-sided document at once
I have a two-sided, us-letter format document that I'd like to print two copies at once, by resizing it to half letter (a.k.a. statement, or organizer L).
My current workflow is very inconvenient:
...
0
votes
0
answers
20
views
Printer stops monthly Oracle Linux 8
We got about 50 printers in our network. I've enabled the cups debug level to 2, but I still cannot see a clear reason for stoppage. We have CUPS Version 1.6.3 .
We have a workaround which is to ...
0
votes
0
answers
10
views
How to see if there is a printing task running on KDE?
I am using KDE on Archlinux. I found that when I print a big file using okular, there is no notification whether the printing task is finished or not. Instead on Windows there is a printing icon on ...
0
votes
0
answers
37
views
How do I add a printer in OpenSUSE which is being shared by a CUPS print server?
I have a print server running CUPS with a printer attached via USB cable.
I want to add this printer to my OpenSUSE tumbleweed desktop. I can't see how to do this. Network discovery in OpenSUSE does ...
0
votes
0
answers
33
views
print pdf with no margins
I have a small script that reads a mailbox and prints any attached pdf using cups lp. This is mostly for printing package labels. Some companies however supply a label with no margins which will be ...
0
votes
1
answer
221
views
How to install printer drivers on Arch Linux when there is no official Arch package provided?
I am trying to print to Epson WorkForce WF-2650 All-In-One Inkjet PRinter from my Arch Linux desktop. Both the desktop and the printer are in network range 192.168.0.1/24.
Initialize Printer Service
...
0
votes
0
answers
28
views
How to print on endless paper on a CUPS printer using lp/lpr?
The Situation
I'm trying to print on a Brother QL-570 I set up on a Raspberry Pi using CUPS.
The printer is working well using lp -d Brother_QL-570 test.pdf. However, when I insert an endless label (a ...
0
votes
0
answers
50
views
How to print multiple pdfs using pipe and stdin?
I am attempting to print multiple pdfs from the command line:
locate FilesIwantToPrint | grep pdf | lp -
This prints the list of pdfs on one page instead of printing the files themselves. Is it ...
7
votes
1
answer
813
views
How to log into CUPS admin with Debian "rootless" system?
When I installed Debian 12, I was given the option to not allow root logins. Instead, the system lets me use su each time I need to do some minor maintenance.
When I go to http://localhost:631/, ...
0
votes
1
answer
20
views
Disable printing on ChromeOS
I have a couple of netbooks running ChromeOS for which I'd like to disable printing entirely. Preferably just for specific accounts (my kids), but if necessary, for the entire device.
I haven't found ...
1
vote
1
answer
86
views
create larger pdf from smaller pdfs by putting several smaller pages onto the large one
I have one or several pdfs with small size like A5, A6 etc.. Possibly with more than one page. I want to create a large pdf like A4 that is completely tiled with the smaller ones, so that I can print ...
0
votes
1
answer
102
views
How to cancel/remove all print requests from print server in Solaris 10
In Solaris 10, how can I cancel/remove all print requests from print server?
I know I can delete all entries in /var/spool/lp/localhost, but is there a better way than to clobber all?
1
vote
0
answers
55
views
Debian 11 - GNOME: Printing a document from Firefox either takes a very long time to start, or don't print until a reboot. From another place, it's ok
I'm encountering a strange problem for months: printing, let's say, a pdf or a web page, from Firefox 102.10.0esr (64 bits) (GNOME, Debian 11) doesn't make the printer starting immediately.
With the ...
0
votes
0
answers
250
views
How do I get printer ink levels from the command line?
I am using CUPS 2.4.2 for printing on FreeBSD 13.1. In /usr/local/etc/cups/printers.conf, I noticed that CUPS knows the ink levels of my printer. Excerpt:
<Printer myprinter>
...
Attribute ...
1
vote
0
answers
89
views
accessing samba printer from Windows 11 client hangs forever
My samba server is running in standalone mode and sharing a CUPS printer. I can print from my android phones fine. Since updating to Windows 11, accessing the printer causes the application to hang, ...
0
votes
2
answers
217
views
Any foss apps on Linux that contain the print booklet feature of Adobe Acrobat Reader?
I have been using the Print Booklet -function of Adobe Acrobat Reader on Windows. However the program does not have a Linux version, see download page. Also I don't see the option on Evince.
Are there ...
0
votes
1
answer
44
views
How to continue printing without the computer?
Using cups (ipp://printername) and a brother wifi printer with 256mb internal memory I want to know how I can continue to print after I shutdown my computer (arch linux)?
Currently a print job is ...
0
votes
2
answers
103
views
Thunderbird unable to save file to PDF in gnome google drive
I am having a weird issue, whereby if I want to save an email through print to PDF from Thunderbird to the Gnome managed google drive mounted drive it doesn´t work. It simply returns back to the ...
0
votes
0
answers
41
views
Xsane detects scanner with wrong device number
I'm running Debian 11, fresh install on HP Prodesk G4. I installed old Brother DCP-8060 printer & scanner. It prints but the only one app where scanner works is gscan2pdf.
I had so much problems ...
1
vote
1
answer
963
views
Configuring CUPS to password protect IPP shared printers with windows compatibilty
With my current configuration, printers can be installed on windows, but the wizard doesn't prompt for credentials and printing is not possible.
Despite supplying the credentials in the url (http://...
0
votes
1
answer
896
views
What types of files can 'Generic Text Only Printer's print?
Today I added a printer on linux and tried to print an excel file. Clicked print but no reaction from printer. When I went to printer menu to troubleshoot I noticed that my printer's description was ...
0
votes
0
answers
139
views
/dev/usb/lp0: No such file or directory
Debugging printing issue on Tails… installed printer as instructed on https://support.brother.com/g/b/faqend.aspx?c=as_ot&lang=en&prod=hll9430cdn_all&faqid=faq00100678_000.
I see printer ...
0
votes
0
answers
46
views
Printing Works Only From lpr
I installed a driverless printer in CUPS (Canon PIXAM TS3100).
I am able to print by using lpr:
lpr -h -Ppixma test.txt
lpr -h -Ppixma test.pdf
But no other way is possible, for example from okular, ...
0
votes
0
answers
45
views
lp/lpr + Lexmark doesn't return indentation after newline
I set up CUPS to use my Lexmark MC3224 printer by default, but I have an odd problem: after each newline, the text does not continue at the left edge, but continues at the place where the previous ...
0
votes
1
answer
1k
views
How to reset the printing system (CUPS)?
I would like to know how to cleanly reset the printing system (CUPS) to its initial state.
Alternatively, it may suffice for me to know how to take a "snapshot" of CUPS configuration and to ...
1
vote
1
answer
338
views
What are the steps to get printing working during Bullseye install?
On Debian Buster, during the install process, I simply chose "Print server" from the short list of items to install (I believe in a component called the "tasksel"), and when I ...
0
votes
1
answer
87
views
Unable to print in Firefox on Debian
Here is what I have done on my env.:
# Install the driver with the deb file
sudo dpkg -i --force-all brscan4–0.4.10-1.amd64.deb
# Verify that the driver was correctly installed
dpkg -l | grep Brother
#...
0
votes
1
answer
2k
views
Force pdfjam to fit a specific size in final output
My intentions is to make a full book cover (a wide page including the book’s back, the spine, and the front cover).
To achieve this, I have three PDF files containing the front page (first-page.pdf A4 ...
1
vote
1
answer
663
views
How to print text files using CUPS configurably
When I try to print a text file using CUPS, it comes out with a very small font and negligible margins:
head -n 450 /usr/share/dict/words | tr '\n' " " > t
/usr/lib/cups/filter/texttopdf ...
-2
votes
1
answer
68
views
How are printing jobs scheduled between users?
I was how printing jobs are scheduled when multiple users/computers share a remote printer? Is it first come first served, based on user specific priority, based on the time need to transfer data from ...
1
vote
0
answers
73
views
How to get supply levels of a printer via command line (macOS)
I'm trying to get the supply levels of a printer via the command line. So far I was able to get some information with a lpoptions (marker-message property) command. The problem is that the status of ...
1
vote
1
answer
704
views
A2 on four A4 pages? | Convert A4 PDF to "A2 on four A4" PDF?
Given e.g. pdf (in any size) how to enlarge it to A2 size and print on four A4 pages?
(if possible it would be great if pdf having multiple pages we could split like this, so if there is pdf with ...
1
vote
1
answer
208
views
print .mbox file with html content
I have to print an email for the district office.
I use Evolution as Email program and I can save the emails in .mbox format.
However when I save those email to a .mbox file and then do lp example....
1
vote
2
answers
434
views
How to make 170mm:240mm PDF paper format visible on printed A4 sheet?
My PDF has a custom paper format of 170mm:240mm and is intended for print publishing in that size.
At home, I can only print on A4 paper.
How do I print the PDF in such a way that
the content is ...
0
votes
0
answers
432
views
Controlling print jobs using CUPS API
So I am using CUPS installed on a linux machine as a printer server in a local network.
The problems is that, before directly sending the Print job to the network printer, I want to impelement the ...
1
vote
1
answer
162
views
what does lprm: Missing required attributes mean?
My ubuntu 20.04 is printing the same single page web page every few minutes. I can't see how to stop it. I tried:
lprm -
but after hanging for a while it returns
lprm: Missing required attributes.
...
1
vote
0
answers
107
views
VIM run hardcopy commands on file ALREADY OPENED by another VIM
I adopted printing solution from https://unix.stackexchange.com/a/20448/9689 :
vim -c 'hardcopy > /path/to/saved.ps' -c 'quit' /path/to/file
Problem is, when I have this file opened in VIM and I ...
1
vote
0
answers
1k
views
How to do head cleaning of the printer?
I having Epson L130 printer.
I know my printer model is old, but it is my old printer, I wanted to use it but it is kinda light and is missing some colours while printing, Head cleaning always solve ...
0
votes
0
answers
185
views
Canon printer & scanner (MP190) install on linux mint 20.04
This question was solved earlier, but unfortunately the PPA used there no longer works on 20.04. Anyone have up to date information on how to bring a canon pixma MP190 printer to life on 64 bit linux ...
0
votes
1
answer
576
views
Add page break to text file for printing
How do I add a page break to a text file for printing with lpr?
What about if I want to send two files to lpr but have each on their own page as in:
cat file1 file2 | lpr
1
vote
0
answers
105
views
No option for printing to PDF within Wine in NixOS
Most forum posts for other distros recommend installing a "cups-pdf" package to enable printing to PDF in non-standard applications like Wine. I can't find any such package or option in ...
1
vote
0
answers
685
views
How to format text file from command line and print (font size and page size) using a2ps
I have a thermal printer (80mm Logic Controls LR2000E), connected via USB, to my Debian 11 machine. I want to use the printer to print a purchase order/quote, which I have in a text file. I need to be ...
0
votes
1
answer
3k
views
CUPS: The printer is unreachable at this time
I have the following problem: I setup my printer EPSON stylus SX525WD via CUPS. To do so, I:
Accessed the web interface at http://localhost:631/admin
Clicked on "Add printer"
Selected ...
0
votes
1
answer
200
views
Printing a PDF to a file (like Evince does)
I need to make a PDF uneditable and a good way to accomplish that is to use the "Print to file" functionality in most PDF readers to generate another PDF. I suppose they work by converting ...
0
votes
1
answer
476
views
How to center an image on a page with lp?
OS is Debian 10. I'm trying to print a batch of images with lp. So far so good. Scaling works great, for example.
Right now I'm printing with:
lp -d "$printer_name" -o ppi=100 -o position=...
0
votes
1
answer
179
views
Printing to Impact Printer from Command Line
I have a Raspberry Pi running Raspbian and I bought an impact printer (Epson LX-350) that I plan on hooking up to the computer via USB cable once it arrives. My goal is to be able to have a script ...
0
votes
1
answer
371
views
How can we use 'nc' command to print double sided
We can use nc 192.168.1.3 9100 < file.pdf to send a print job to a networked printer. However this prints everything single paged. I would like to print double sided. What are some solutions I ...
2
votes
0
answers
196
views
Cups - libcups.so load failure in Debian unstable
I have a Star TSP700II thermal printer connected via USB.
When I try to print a test page in CUPS web interface I get these 2 errors in CUPS log:
E [23/Jul/2021:17:37:03 +0100] [Job 27] libcups.so ...
1
vote
0
answers
441
views
Suddenly "Filter failed" message from cups
I was using a Kyocera TASKalfa 4052ci Printer over the Network without major issues but suddenly I can't print anymore, I get a "Filter Failed" message on the cups site. My error_log says:
E ...