Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [lpr]

The tag has no usage guidance.

0
votes
0answers
121 views

The lpr command does not work

I installed CUPS on a new machine and also lpr and hplip. It uses a HP usb printer. I installed the printer with cups and ran a test page successfully. Printer status is HP_LaserJet_1320_series (Idle, ...
1
vote
1answer
572 views

macOS will not print to an LPR printer on different subnet

We have a fairly extensive campus network consisting of multiple subnets connected by a core router. Everything has been working fine for years, but recently I have a number of macosx clients that ...
1
vote
0answers
495 views

lpr command: no prints and no error

PROBLEM: no prints and no output (and no errors) for 'lpr -P printername file.txt' DETAILS: I have the same CUPS installation in two different servers. In one of this server lpr command works and ...
1
vote
1answer
570 views

How to print from sh file

File prindi.sh contains /usr/bin/lpr –P SL-M3325ND <teade.pdf its inovoking returns error /usr/bin/lpr: Error - unable to access "–P" - No such file or directory If this command in invoked ...
0
votes
0answers
36 views

Printing HTTPS Webpages in CLI

I have a CentOS 6.6 server, and I am trying to print https://* webpages using the following commands: html2ps https://mywebsite/blah.html | lpr My printer prints out a paper for all HTTPS print jobs,...
0
votes
1answer
1k views

How can i print to an alternate LPD port from Windows Server 2012?

I have a Mac setup using LPD to a remote printer/port and it works great. I'm trying to add the same printer on a Windows server and it fails. I've tried standard TCP/IP port specifying the IP as 9.3....
0
votes
1answer
103 views

lpr command is different on the dev and production machine?

I'm printing some files (labels) directly from the server. On my development machine (Xubuntu 12.04) the following works: lpr -P QL-720 -H 192.168.171.53 /tmp/labels/OAQRJECIDP On the production ...
1
vote
1answer
2k views

Why do lp and lpr return unauthorized?

I'm running Ubuntu 10.04 with latest updates. Here are my system's protections for lp and lpr. root@steamboy:/usr/bin# ls -l lp -rwxr-xr-x 1 root root 13540 2011-09-12 10:41 lp root@steamboy:/usr/...
3
votes
2answers
13k views

LPR command won't recognize CUPS printer

I have a cups server with one shared printer configured on it. It prints test pages without problems. printername (Idle, Accepting Jobs, Shared) Description: desc Location: Driver: Zebra ZPL ...
0
votes
1answer
1k views

LPR Print Queue to File output Windows Server

How can I set up a LPR Print Queue on a Windows 2008 Server and redirect the queued reports to a file location on the network?
1
vote
2answers
155 views

Why do I get an “No default printer” error when using “ssh lpr” but not when I ssh in?

I have a remote (linux) server that I ssh to from my (also linux) pc to print my stuff. Everything works if I do: ssh ${remote_server} (now in remote server) lpr readme.txt Or: ssh ...
0
votes
2answers
670 views

printing directly to (not from) php

Would it be possible to create a php script on a local server that could handle printing? I'm not sure it's possible, but am curious.... I'm thinking... create a local printer, use custom port ...
0
votes
1answer
47 views

BSD printer not recognized by Firebird

I am using BSD lpr services (BSD printing on Linux). I WAS using CUPS, but removed it in favour of the older printing system. Now Firebird/Iceweasel thinks that there are NO PRINTERS. What do I ...
2
votes
3answers
4k views

What LPR arguments do I need to print a 1400x800 pixel image on a 4x6 label?

This is driving me nuts. UPS sends our system a 1400x800 GIF image of a shipping label, which is supposed to fit nicely on a 4x6 page. Unfortunately, I can't seem to get the command line options ...
2
votes
1answer
3k views

LPR Printing InputSlot Issues

I am printing from a Unix system to a Xerox Phaser 4510 (altho I have also had issues printing to a Xerox WorkCentre 7765). I am using LPR and trying to choose the InputSlot The lpoptions show the ...
2
votes
1answer
1k views

number of characters per line printed by lpr

How do I set the number of characters per line when printing a file using lp or lpr? It seems like it's fixed at 80.
1
vote
3answers
2k views

LPR on Windows: Can you specify # of copies?

In Linux, you can use lpr -#5 foo.txt to get 5 copies of a document when sending to an LPD-based print server. The Windows (XP, 2003, 2008) version of LPR supplied by MS doesn't seem to have this ...