Questions tagged [lpr]
43 questions
84
votes
2 answers
How to list printer names acceptable for use with lpr?
The lpr man page says a destination printer can be specified with the -P flag.
-P destination[/instance]
Prints files to the named printer.
I have 'added' various printers on local Samba shares using the GUI in Ubuntu/Gnome. How can I get a…
Ian Mackinnon
- 5,924
31
votes
2 answers
lp vs lpr. What to use in case of CUPS and what historical difference?
My Debian distro provide the lp and lpr commands for printing from CUPS.
I am a noob to printing in UNIX but have other tech skills.
I tried to find a difference in man lp and man lpr. It seems that lp only have more options...
The gv utility uses…
gavenkoa
- 2,154
21
votes
3 answers
Printing pages from 7 to 17 by lpr
How can you print pages from 7 to 17 by lpr?
Léo Léopold Hertz 준영
- 5,924
12
votes
3 answers
Printing from the command line with LibreOffice, lpr commands?
I'm trying to print a word document from the command line, but I need to specify printing options that I would normally use lpr for. This is the command I'm using
libreoffice -p "filename.doc"
I need to be able to specify a username (-U), is this…
Davis G
- 123
10
votes
1 answer
Specify different username when printing to a lpr printer
My school requires me to use a different username than my Windows username in order to print. With Linux lpr I could just specify -U username, but there is no such option for Windows lpr (and even if it had, it still wouldn't be a "native support"…
Printerito
- 101
5
votes
2 answers
How do I monitor network traffic for IPP (LPD/LPR)?
I'm writing an application that sends print jobs over IPP to an LPR print server. I need a way to monitor the traffic going between that server and my development box. Right now I'm just sending jobs from the command line with the lpr command.
I've…
Steve Nay
- 265
4
votes
1 answer
How Can I Print Under A Username Different Than The One I'm Logged In As?
I bring my own personal laptop to school where my login is nickname. However, in order to print to the school's printers the username that sends the print job must match my school's AD login, firstname.lastname. Is there any way short of creating a…
Mischif
- 41
4
votes
2 answers
lpr on Cygwin appending .lnk to my PRINTER value
I have Cygwin on a Windows 7 machine. In my .bashrc file, I have tried
export PRINTER=\\\\myPrintServer\\myPrinter
Escaping the backslashes, which, when I type $lpr -D, gives me
Windows Printer Name = '\\myPrintServer\myPrinter.lnk'
lpr: printer…
mring
- 1,097
4
votes
1 answer
LPR Printing: Tumble mode
Apparently this is an option to do with duplex/simplex in lpr, but I haven't been able to find what it means.
Gus
- 838
3
votes
2 answers
Windows lpr implementation not finding printer
I'm trying to port a linux program to windows 7, that receives an lpr command from a websocket and sends the command to a local vinyl cutter. The windows lpr implementation is different and there is not a lot of advice to go by.
I have enabled the…
erg
- 31
3
votes
1 answer
Adobe Reader seems to use wrong lpr command when printing to CUPS
On my debian lenny box, printing via CUPS works fine, e.g. using OpenOffice.
When printing from Adobe Reader, however, stuff doesn't work. It appears the problem happens during the first step of the process, when Adobe Reader talks to lpr. I guess…
zebonaut
- 283
3
votes
1 answer
lpr says "unknown printer" but lpstat shows printer correctly
I'm configuring a USB printer in Debian 8.9 and am running into issues. I have configured the printer using the CUPS web interface and named it "elise". I have run lpstat which shows :
$ lpstat -p -d
printer elise is idle. enabled since Thu 23 Nov…
Pierre Cathé
- 143
2
votes
0 answers
Printer configurations on Linux: Providing privilege to normal users
I am on a CentOS machine. Everything is working fine, I can configure the printer with the GUI System->Administration->Printing. It asks for root password and then I can make the configurations. But I couldnt find a way I could let the normal user…
beginer
- 267
2
votes
3 answers
How to print out all non-hidden files recursively in a dir using lpr
find . -type f | grep -v '/\.' lists out all non-hidden files in the current dir recursively.
Example of this command given the following file tree
.
├── css
│ ├── base.css
│ └── main.css
├── img
├── index.html
└── js
└── app.js
$ find .…
Bentley4
- 1,998
2
votes
1 answer
How to setup LPR on Windows 8
I have a Netgear WGPS606 print server. How can I install that printer on my Windows 8 system?
I have enabled the Windows LRP feature. However; when I try to add a printer it only searches locally. Why is this?
John
- 203