Sponsored Content
Top Forums UNIX for Dummies Questions & Answers how configure printer in sun solaris Post 302233838 by chummachennai on Monday 8th of September 2008 03:40:38 PM
Old 09-08-2008
lpadmin -d "printername" ( Add the printer)
enable "printername" (enable it)
accept "printername"
lp "file to print" ( Print a file to the printer)

lpadmin -x "printername" ( Delete the printer)
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to configure the network at Sun Solaris

Can anybody help me on how to configure the network in Sun Solaris. This is my first time to touch sun system please help!!!:confused: :confused: (2 Replies)
Discussion started by: jameswong
2 Replies

2. UNIX for Advanced & Expert Users

set up HP printer in Sun Solaris 2.8

Is there any documentation as to how to set up/register a printer in Sun Solaris server? Thanks in advance. (1 Reply)
Discussion started by: simt
1 Replies

3. UNIX for Dummies Questions & Answers

Installing a Samba printer under Sun Solaris 10

Hi all, I am under Sun Solaris 10, and I wan't to use printers which are on my local area network (on Windows XP workstation), I have got samba installed, and cups. I wan't to have an easy way for printing document (with StarOffice, Gimp etc...), for exemple by just launching a command. ... (0 Replies)
Discussion started by: willits
0 Replies

4. Solaris

Installing Network Printer in sun solaris 10

Hi guys, i am a new user of sun solaris, i am using solaris 10, please help me how to install HP 1022n printer. This printer is in network. Thanks Daya (1 Reply)
Discussion started by: daya.pandit
1 Replies

5. Solaris

configure tape drive to sun solaris 10

Hi everyone. Im new to Sun Solaris or the Unix environment. My only background is the DOS command in windows and a little bit of c++ programming. I always worked with troubleshooting hardware and software issues with windows. Now that I need to configure tape drives using sun solaris, I had... (11 Replies)
Discussion started by: graboid888
11 Replies

6. Solaris

Help with configuring printer on Sun Solaris

I have tried and tried again, to get an HP 4700dn laserjet printer to work on a GI Sun Solaris BOX. I have gone through and added the Printer server and IP to the Host file in the /etc folder and also added the printer ip and printer name itself. when I go to print something the printer shows up in... (7 Replies)
Discussion started by: kane4355
7 Replies

7. Solaris

Sun solaris 10 Network printer.

Hello, I have a problem to install a network printer with lpadmin. (i must be install with lpadmin) I have a network printer samsung CLP-310. The network adress is static : 192.168.1.219 For LPD - printing is port number 515 thats what i have done. ping 192.168.1.219 192.168.1.219 is... (6 Replies)
Discussion started by: tinyterm
6 Replies

8. Solaris

Create Unix printer in sun Solaris

Guy's Can anyone explain how to Create Unix printer in Solaris what's the exact steps to create Unix direct printer ? (3 Replies)
Discussion started by: Mr.AIX
3 Replies

9. Solaris

Configure a network printer on solaris

Hi, guys, recently my os changed to solaris 10, and i want to share the printer with another computer whose os is also solaris. Is there anyone could give me a hint to fix this problem. lpadmin -p hp5200 -v /dev/null -A write -n... (1 Reply)
Discussion started by: papertiger
1 Replies

10. Solaris

HOW To configure the ZEBRA printer on Solaris?

Hi Guys, How to configure the ZEBRA printer on Solaris . only below information is provided. like how it should appear in printers.conf and IP to add in hosts file. In printers.conf: super_exp_zex2et9x:\ :bsdaddr=server1,super_exp_zex2et9x,Solaris: super_exp_zex2et1x:\... (1 Reply)
Discussion started by: manalisharmabe
1 Replies
rlprm(1)						       UNIX Reference Manual							  rlprm(1)

NAME
rlprm - remove jobs from a remote line printer spooling queue SYNOPSIS
rlprm [-qNV] [-Hprinthost] [-Pprinter] [-Xproxyhost] [--debug] [--timeout=seconds] [--port=port] [-] [ job # ... ] [ username ... ] DESCRIPTION
rlprm uses TCP/IP to remove jobs you own from printers anywhere on a network. Unlike lprm, it does not require that the remote printers be explicitly known to the local system (traditionally through /etc/printcap), and thus is considerably more flexible and requires less admin- istration. rlprm can be used anywhere a traditional lprm might be used, and is backwards compatible with traditional BSD lprm. If rlprm is invoked as lprm, it preserves all known lprm semantics, with the exceptions of those semantics mentioned in BUGS / LIMITATIONS below. rlprm can be set up, installed, and used in the same two ways as rlpr(1) (that is, either with or without the rlprd(8) proxy daemon). Please see rlpr(1) for details, and to see whether you will need to use the rlprd(8) proxy daemon or not. OPTIONS
Environment/Setup --debug Print gobs of debugging information. -N, --no-bind Don't try to bind to privileged port before connecting to lpd. Please see the CONFIGURING A PROXY section in rlpr(1) for informa- tion on use of this option. --port=number Select an alternate port (instead of 7290) to connect to, if using rlprd. Usually not needed. -H, --printhost=host Select the host to print to (used with -P). Instead of using -H, one can specify the hostname directly including it with the printer name with the printer@hostname syntax. -P, --printer=printername, --queue=printername Select the printer to print to (used with -H). -X, --proxy=proxyhost, --proxyhost=proxyhost Select the proxy host to use, if necessary. --timeout=seconds Set the inactivity timer. If the connection hangs for more than seconds seconds, then rlprm will give up. Use the special value `-1' to wait forever. Default timeout is 3 seconds. -V, --version Print version and exit. Behavior - Remove all of your jobs. Note that this option must be specified immediately following the end of all other options. This option is a mutant supported only for compatibility. Instead of using this, include your username as the first argument to rlprm. -q, --quiet, --silent Quiet mode - stay quiet (except for fatal errors). See BUGS / LIMITATIONS for problems using rlprm in silent-mode operation. ENVIRONMENT VARIABLES
The following environment variables are used by rlprm: RLPR_PRINTHOST Specifies the default host's queue to remove jobs from. PRINTER or LPDEST Specifies the default printer to remove jobs from on the host. First PRINTER is consulted, then LPDEST. Note that one can also specify the host to examine by setting printer to be printer@hostname. This may be more convenient than set- ting RLPR_PRINTHOST, but will confuse the traditional BSD print commands. RLPR_PROXYHOST Specifies a proxy host to use, if necessary. FILES
~/.rlprrc Personal printer/host database /etc/hosts.lpd Host-based security on printhost /etc/hosts.equiv Host-based security on printhost /etc/passwd Personal identification /etc/rlprrc System-wide printer/host database SEE ALSO
rlpr(1), rlpq(1), rlprd(8), rlprrc(5) AUTHOR
meem <meem@gnu.org> BUGS
/ LIMITATIONS Due to limitations in the current lpd protocol, it is not currently possible to tell whether or not the job removal succeeded when operat- ing in silent mode. Due to limitations in the current lpd protocol, it is not currently possible to emulate the superuser semantics for the `-' option. Instead, only root's jobs are removed. Due to general niavete in the lpd protocol, rlprm(1) provides a lot of room for misbehavior; it is trivial to imagine how it can be used to remove jobs that do not belong to you. Unfortunately, any security added at this point is just sugar-coating -- the underlying protocol is flawed. rlpr 2.04 1999/10/28 rlprm(1)
All times are GMT -4. The time now is 08:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy