Converts a USB printer into a standalone network printer over a 10/100 Ethernet network Windows based set-up program and web-management Share a standard USB printer with multiple users over an Ethernet network. GeForce® GTX 1080 Ti is the fastest gaming GPU that delivers 35% faster performance than the GeForce GTX 1080.

Active1 year ago

What I need is to send a PDF document directly to the remote network printer, without any changes, as it is, using Print button.

In Ubuntu I just use Generic / Raw Queue driver, and all is OK.

Problem with Windows 10 is that I can't find a Generic / Raw Queue driver, it's only a Generic / Text only driver here, and it fails to print PDF.

I tried to use Microsoft / PDF to file driver, but it changes PDF (changes PDF structure, it replaces all with 1 image, that I don't need).

Any advices? Or maybe someone could send me a driver that wouldn't change the file and just resend it?

fictionfiction

3 Answers

If your printer understands PDF directly (most printers require some utility), you can try sending it to the printer using the following command:

LPR -S printer_IP_address -P queue_name filename.PDF

The queue_name parameter is printer specific. You could try PDF or RAW. If those don't work, you'll need to look up the printer's documentation.

Here's a user-friendly solution if you don't want to type commands. Use Notepad to create a file containing the command

LPR -S printer_IP_address -P queue_name %1%

Name this file PrintPDF.bat and place it (or a link to it) on the desktop. From Windows Explorer you can now drag a PDF onto this icon, and it will be sent to the printer.

hdhondthdhondt
3,1392 gold badges10 silver badges12 bronze badges

What I need is to send a PDF document directly to the remote network printer, without any changes, as it is, using Print button.

For most apps, this isn't possible using the 'Print' button because the application you're using is trying to talk to a non-raw printer driver whereas you explicitely want to bypass those capabilities. Instead, you should send the raw stream to the printer directly. To achieve this in Windows (WITHOUT the use of a print button)

  1. Share the printer on the network.
  2. From cmd (or PowerShell, etc): echo sample.pdf > computerprinter

Or from a programming language such as JScript:

Getting an application to behave this way is not going to be common. Most applications capable of opening and rendering a PDF wouldn't have the ability to bypass the driver. This is by convention only. The underlying languages (e.g. C++, Java) do have techniques for raw data flavors, it's just not something that's commonly associated with the 'Print' button you are describing.

In Ubuntu I just use Generic / Raw Queue driver, and all is OK.

Lpr

Which application inside the Ubuntu operating system allows this? Generally speaking CUPS will use Ghostscript and and will suffer a similar translation as the Microsoft PDF driver. I would challenge the claim that the PDF data being sent is 'unmodified' on Ubuntu. It is more likely that is IS modified, but that the modified version is simply more desirable. If you're right and the byte stream is unmodified, this seems more like a hidden feature of CUPS rather than a problem with WinSpool.

tresftresf

Here is how to set up an LPR/LPD Printer on Windows 10.

Install the Windows Components

Open Printer In Windows 10

  • Click on the Start button, then Control Panel
  • Click on Programs and Features then click **Turn Windows features on or off, from the left sidebar
  • Expand Print and Document Services, and make sure the boxes next to LPD Print Service and LPR Port Monitor are checked
  • Click OK and follow the on screen instructions until the components are installed.

Lpr Printer Windows 10 Ke Windows 7

Create the printer

  • Start Advanced Printer Setup
  • Click The printer that I want isn't listed
  • Check Add a local printer or network printer with manual settings
  • Click Next
  • Check Create New Port
  • In the drop-down list choose Standard TCP/IP Port
  • Click Next
  • Enter the IP address
  • UncheckQuery the printer and automatically select the driver to use
  • Click Next
  • Leave Standard Generic Network Card for Device Type and click Next
  • Select Generic for Manufacturer and select Generic/Text Only for printer type then click Next
  • Type the name of the Printer
  • Click Finish to add the printer

Not the answer you're looking for? Browse other questions tagged windowsdriversprintingprinternetwork-printer or ask your own question.

Posted by3 years ago
Archived

SOLVED Check edit

Hi all,

Through a series of unfortunate events, I have a set of computers that have updated to the Windows 10 Anniversary patch. Post-patch everything seemed okay. However, my users started informing me that they could no longer print on those computers. We use an instance of Print Manager Plus as our print server. Prior to the patch, all the computers were configured with the correct LPR ports. However, post patch, those ports are no longer listed in the print management snap in. But, if I try to re-add those ports, I receive an error saying that an identical port already exists. I'm currently combing through the registry to see if there's some obscure place where its still being referenced. I'll take any advise if anyone has experience with a problem like this.

What Printers Are Compatible With Window…

*Edit: Okay I am now slamming my head against my desk. These workstations were being used immediately after the windows 10 anniversary patch was installed. After just performing a restart, the ports are recognized again and everything works. I did not perform the first rule of windows troubleshooting. Goddamnit

Enable Lpr Windows 7

2 comments