You are not logged in.

#1 2006-11-18 08:05:22

congyiwu
Member
Registered: 2006-11-18
Posts: 16

print as another username with CUPS?

I am a student at Duke University, which uses ePrint for campus wide network printing.  Basically, there is a virtual print server that accepts your print job and your NetID (username).  You then scan your DukeCard at an ePrint kiosk anywhere on campus to print out the jobs that you own.

For Linux computers, there is a print server that you can use lpr to access (but not samba or anything else).  You either have to set your user name on your  computer to your NetID or pass your NetID with the -U option in lpr.

I am using cups right now and KDE (and it's printing functionality).  I have the printer set up in cups, and can print from the command line by adding the -U option, and from any GUI program that lets me modify the printing command.

However, openoffice doesn't let me change the printing command.  Is there a way to force CUPS to send another user name instead of having to change my linux user name to match my NetID?

Offline

#2 2014-01-06 20:24:45

yourealwaysbe
Member
Registered: 2010-05-29
Posts: 22

Re: print as another username with CUPS?

You can try setting the CUPS_USER environment variable, e.g. by adding

export CUPS_USER=<username>

to your .xinitrc or .bashrc or wherever.

Offline

#3 2014-01-06 21:09:51

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: print as another username with CUPS?

Please don't necrobump old threads: https://wiki.archlinux.org/index.php/Fo … Bumping.27



Closing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB