Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-27-2013, 04:21 PM   #1
LQ Newbie
Registered: Mar 2013
Posts: 1

Rep: Reputation: Disabled
Automaticaly sending user ID when printing to a network printer

I recentely followed these instructions to set up access to a network printer from my laptop:

"..add a new printer on your workstation with the following settings:
Queue type: choose "LPR/LPD/Networked Unix"
Server: ""
Server-side queue name: "ePrint-OIT"
Workstation-side queue name: "ePrint-OIT"
Printer type: Use "HP LaserJet 9050" (or the closest equivalent)"

The instructions also said that when I want to send print jobs from my personal system, I need to include my NetID as a parameter to the lpr printing command both from the GUI and from the command line.

I would like to preform this in an automated way, so that when I send a print job from any program (for example document viewer) it will automatically send the username. How can I do that?

Thank you
Old 03-27-2013, 06:12 PM   #2
Senior Member
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,554

Rep: Reputation: 1435Reputation: 1435Reputation: 1435Reputation: 1435Reputation: 1435Reputation: 1435Reputation: 1435Reputation: 1435Reputation: 1435Reputation: 1435
Welcome to LQ!

If you have already installed the printer using CUPS, I would try:
1. Stopping the CUPS daemon.
2. Edit the CUPS printers.conf file and add the NetID to the device URI for your printer
DeviceURI lpd://<NetID>
The syntax is connectiontype://username:password@server/printer
3. Restart the CUPS daemon

Last edited by allend; 03-27-2013 at 06:22 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
printing with a network printer Plato Linux - Newbie 4 07-30-2009 10:13 AM
Ubuntu network printing on apple network with HP printer beezum88 Linux - Hardware 1 11-29-2008 09:42 PM
Printing to a printer on a Windows Network jdestruel Linux - Wireless Networking 1 01-03-2007 02:41 AM
Printing to a network printer jrdioko Linux - Newbie 20 09-10-2004 04:21 PM
Printing to network printer KHAAAN Linux - Networking 1 07-05-2004 07:34 PM

All times are GMT -5. The time now is 05:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration