Use Standard TCP/IP port with LPR to send a different username
Use Standard TCP/IP port with LPR to send a different username
When the PDAgent’s LPD service receives a job, it normally uses the user name in the LPR job to decide whose job it is. Windows puts the user’s account name there. Sometimes that is not what you want: for example, a computer that is not on the domain might have an account called just User.
Instead of renaming the account, you can create a print queue on that computer with an LPR port that sends a chosen user name to the PDAgent. The PDAgent can be on the print server, or on the computer itself where there is no print server.
Set up the PDAgent
- In Resource Manager, click PD Agents, and double-click the PDAgent that will receive the jobs (the print server’s, or the computer’s own).
- On the Print services tab, tick Enable LPD, set LPD Job owner to queuename{username} in LPR queue, tick then try, and choose LPR username.
- Click OK + Refresh.
At least one print queue on that PDAgent’s computer must be matched to a printer.
Check the user record
The user needs a user record whose Login name is the name you will send, with no spaces, for example JohnDoe. To create one, see How to manually create a User.
Create the print queue on the user’s computer
- Open Settings > Printers & scanners, click Add device (or Add a printer or scanner), and when the search finishes click Add manually (or The printer that I want isn’t listed).
- Choose Add a local printer or network printer with manual settings, and click Next.
- Choose Create a new port, select Standard TCP/IP Port, and click Next.
- Enter the IP address of the print server (not the printer’s). Where the PDAgent is on this computer, enter 127.0.0.1. Click Next, and wait for Windows to give up looking for a printer there.
- Choose Custom, and click Settings. Then:
- Set Protocol to LPR.
- In Queue Name, enter the name of the print queue on the PDAgent’s computer, with spaces changed to underscores, followed by the Login name in curly brackets, for example Upstairs_Printer{JohnDoe}.
- Untick LPR Byte Counting Enabled and SNMP Status Enabled.
- Click OK, then Next.
- Choose the printer’s driver (or click Have Disk to use driver files you have saved), click Next, and enter a name for the printer.
- Choose Do not share this printer, click Next, then Finish.
Test it
Print a test page. If the printer uses secure release, check that the job is waiting under the right user: in Resource Manager, click PD Agents, right-click the PDAgent, and click View Print Jobs. Then release it at the printer.
Related articles
- Auto-configure queues to use the PDAgent LPD service
- How to set up a Mac to print through the PDAgent LPD service
- How to manually create a User
| Document revision date: 2026/11/10 Software version: 2.5.15.3 |
Use Standard TCP/IP port with LPR to send a different username
