Questions tagged [lpr]

The Line Printer Remote protocol (or LPR) is a network protocol for submitting print jobs to a remote printer.

The Line Printer Daemon protocol/Line Printer Remote protocol (or LPD, LPR) is a network protocol for submitting print jobs to a remote printer.

The original implementation of LPD was in the Berkeley printing system in the BSD UNIX operating system; the LPRng project also supports that protocol.

The Common Unix Printing System (or CUPS), which is more common on modern Linux distributions, supports LPD as well as the Internet Printing Protocol (IPP).

The LPD Protocol Specification is documented in RFC 1179.

More information is available on Wikipedia.

76 questions
11
votes
1 answer

Why is macOS system printing quicker than Chrome or lpr?

I noticed that printing the exact same pdf file to the exact same printer does not always take the same amount of time: Printing from macOS preview's default printing dialog is very fast. Printing from Chrome browser's built-in print dialog is…
sprain
  • 7,552
  • 6
  • 35
  • 49
5
votes
2 answers

print to a network printer using PHP

is it possible to print directly to a network printer with PHP using LPR or something similar? any pointers? thanks.
p a
  • 51
  • 1
  • 1
  • 2
5
votes
1 answer

Print Text (Without File) On Linux With LPR

I've seen this done and I used to be able to do it. I had it documented in a file that was clobbered recently in a backup issue. I have a text string I want to print from bash using lpr. I know I can print text files easily, but how can I print…
Tango
  • 649
  • 1
  • 12
  • 29
5
votes
1 answer

lpr command not working from my C# program in Win 7

I have program that sends a file to a printer using 'lpr' command. I have installed Windows SDK 7.1. It is working fine in a 32 bit Windows 7 system but not working in 64 bit Windows 7. Process proc = new Process(); …
Sundeep
  • 2,035
  • 2
  • 23
  • 38
4
votes
1 answer

Are there any freeware LPR (License plate recogniser) software in .net?

Are there any freeware LPR (License plate recogniser) libraries or software in .net ? Also can you list the freeware OCR libraries and software avaliable in .net ?
HotTester
  • 5,620
  • 15
  • 63
  • 97
4
votes
0 answers

lpr: printing from the commandline on a modern continuous paper printer without wasting paper?

I have a Peripage A4 continuous paper roll thermal printer, connected via USB-C to a MacBook with 13.3.1. Printing works fine from within all applications and via the commandline using lpr: $ lorem --faust --lines 20 --randomize | lpr -P…
Christian
  • 1,212
  • 1
  • 15
  • 30
4
votes
1 answer

PDF printing in .NET Core using System.Drawing.Printing

I'm printing PDF files by converting every page to PNG image with PDFiumSharp. Next, I draw this image to Graphics. private void PrintPage(object sender, PrintPageEventArgs ev) { ev.Graphics.DrawImage(images[pageNum],…
Jacek Adamus
  • 41
  • 1
  • 3
4
votes
1 answer

Why can I not receive a response from a TCP/IP capable printer?

My ultimate goal is to send a print job to a printer over the internet. The catch is that the printer is connected directly to a router, so I can't count on a computer processing anything. The path a print job takes is: Computer -> Internet ->…
J.C.
  • 893
  • 14
  • 27
4
votes
1 answer

php LPR Printer class

How do I use LPR Printer class to print the txt file with USB printer EPSON LQ-1150? set-host("192.168.1.152"); //Put your printer IP here…
4
votes
1 answer

LPR command to print pcl-file from windows service not working(Now a tray application)

I've been looking around for a while for a possible solution and explanation, but I can't find anything really. The following command is being run from a windows service. The same command does function if used directly in cmd. It does not return any…
GoD1x
  • 77
  • 2
  • 10
3
votes
0 answers

Java send pdf to Printer by camel-print LPR

I'm trying to send a PDF to a printer since my microservice-spring5 on Docker. I found Apache Camel Printer to do this. if you have any others suggestions please comment. https://camel.apache.org/components/latest/lpr-component.html So.. I do a…
Matheus
  • 57
  • 1
  • 11
3
votes
1 answer

LPR cannot find a shared printer on localhost

I have a Windows Server-based machine which acts as a print server. I've installed a network printer using TCP/IP port and shared it. Its IP is 192.168.4.101 (queue name MyPrinter), my server is 192.168.4.1 (hostname WIN-SERVER) I'm trying to print…
Vladimir Panchenko
  • 1,141
  • 2
  • 15
  • 25
3
votes
2 answers

EPSON TM-T20II printing using RPI2

I am attempting to print a text document using a RPi 2 but when I attempt to print the printer just prints out unreadable text eg:- @EJL 1284.4 @EJL JSGUTENPRINTPMMIɸüüüüüÖüüüüüÖüüüüüÖüüüüüÖüüüüü …
Tony Hensler
  • 39
  • 1
  • 6
3
votes
0 answers

print files with java using lpr

I'm writing an lpr client on java to send files (PDF, doc, etc) to a printer (hp laser-jet 4250dtn) Both client and server are running UNIX The printer is on a server (that's why I'm using lpr) Everything is all right and I indeed managing to open…
3
votes
1 answer

128 MB of memory is required to enable direct printing

I'm developing a new android application (using java) for remote printing. The communication with the printer is by LPR standard (RFC 1179). I wrote the LPR client in Java, and used it to print a PDF document. It printed very well in the first…
Benaya
  • 83
  • 1
  • 8
1
2 3 4 5 6