Printing from a remote server via LPR/LPD instead of RDP
Printing via LPR/LPD protocols (Line Printer Remote / Line Printer Daemon) allows jobs to be sent from a remote server without using standard RDP printer redirection. The server prints directly to the store’s local printer as a network device.
Configuring printing through LPR/LPD requires changes to the network settings of the local PC, router, and remote server. To ensure that printing works stably and securely, it is important to correctly configure the port, access, and firewall rules. If you do not have experience with such settings or are not sure that you can perform them yourself, contact technical support.
When it is worth switching from RDP printing to LPR/LPD
-
Printing from a remote server via RDP works unstably.
-
The quality of receipts or labels deteriorates (blurred barcodes).
-
Jobs disappear from the queue or do not reach the printer.
-
Stable printing is required, independent of the RDP session.
How to understand that the problem is specifically with RDP printing
-
The printer is visible in RDP, but it does not print.
-
There is a delay of 5–10 seconds before printing starts.
-
Barcodes are unclear, and the scanner cannot read them.
-
The print queue on the server clears, but nothing comes out of the printer.
Why printing through RDP works unstably
-
RDP Easy Print sends print jobs as a graphic image (XPS), not as native commands.
-
Printing depends on the state of the RDP session.
-
Universal drivers distort ZPL/EPL commands for receipt and label printers.
What needs to be prepared before configuration
Step 1. Preparing the local PC (store)
-
Enable Windows components:
-
LPD Print Service
-
LPR Port Monitor
-
In the printer properties:
-
Enable sharing.
-
Assign a short printer name in Latin letters without spaces (for example, Zebra).
-
Remember the letter case (it is case-sensitive).
-
Reserve the local IP address of the PC in the router settings (DHCP Reservation).
Step 2. Configuring the router
-
Enable Port Forwarding:
-
Protocol: TCP
-
External port: 515
-
Internal port: 515
-
Internal IP: the address of the PC with the printer
-
If there is no static IP:
-
Configure DDNS (for example, no-ip / dyndns).
-
Use the DDNS domain name instead of the IP.
Step 3. Configuring the remote server
-
Add a new printer manually.
-
Create a Standard TCP/IP port.
-
In the port settings:
-
Protocol: LPR
-
Queue name: the exact resource name (case-sensitive).
-
Enable LPR byte counting.
-
Install the same native driver as on the local PC.
-
It is prohibited to use Easy Print or universal drivers.
Step 4. Protection (mandatory)
-
Create a rule in Windows Firewall on the local PC:
-
Inbound connections → TCP → port 515.
-
In the Scope tab:
-
Allow connections only from the IP address of the remote server.
-
Do not allow other addresses.
How to check that printing works correctly
-
Print a test page from the server — printing should start instantly.
-
Check the barcode with a scanner.
-
Restart the router and repeat printing (DDNS check).
Prevention
-
If printing disappears — check the external IP or DDNS.
-
Do not enable printer redirection in RDP settings.
-
Do not change the queue name after configuring LPR.
Conclusion
Printing via LPR/LPD + native drivers ensures stable, fast, and high-quality printing from a remote server, completely eliminating the limitations of RDP Easy Print.
-
23.03.2026
Generating barcodes for weighted goods in Torgsoft
How to create barcodes for weighted goods in Torgsoft: product parameters, label printing, EAN-13 structure and scanning at the cash register
-
09.03.2026
How to print labels in the Torgsoft accounting program?
How to print labels in Torgsoft from stock, a goods receipt, the print menu, or the print buffer, and how to edit the label template.
-
26.02.2026
Setting up a label template in Torgsoft
How to customize a label template in Torgsoft: fields, barcode, price format, strikethrough promotional price, saving the template









Go back to the previous step