12-07-2000
If you dont want to deal directly with the printcap file (not exactly user friendly), most Unix vendors provide a gui interface. HP has 'sam', Sun has 'admintool', Linux has 'linuxconf', etc. You can also use HP's JetAdmin tool on a variety of platforms to add a network printer.
What type & version of Unix are you running?
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I recently added an HP deskjet printer to our Solaris network. I deleted the old printer which this one is replacing. I did everything in Printer Admin. I could think of.
The problem now is that when I go to print something out of Star Office, my new printer is not a valid choice from the drop... (3 Replies)
Discussion started by: awells
3 Replies
2. UNIX for Dummies Questions & Answers
Could someone please tell me how to add a printer to UNIX, I've got all the detail but are not sure how to do it ... (1 Reply)
Discussion started by: kuselo
1 Replies
3. HP-UX
Hello,
I need some help on the following issue:
Need to have a printer queue added to the "sssssss" server.The IP address is "xxx.xxx.xxx.xxx". It is an HP8000 printer.
Can you please point me to the right direction.
Thank you (0 Replies)
Discussion started by: AQG
0 Replies
4. AIX
I am using AIX ver 5.2 and would like to add an hp3050 printer, which is not one of the printers listed on our system in the add a new print queue section of smit.
I thought that I had found the correct driver on the hp website, but now it appears as that may only be for hp or solaris systems.
... (1 Reply)
Discussion started by: DavidG9975
1 Replies
5. UNIX for Advanced & Expert Users
When adding a remote printer to my HP-UX system, it creates a file in
/var/spool/lp/sinterface/printer-name
inside it has
#!/usr/bin/sh
# /* @(#)B.11.11_LR */
# This model is for remote status operation.
/usr/sbin/rlpstat $*
Is there a way when I add this printer to have the... (1 Reply)
Discussion started by: nixie21
1 Replies
6. AIX
Hello,
How can I add epson printer LQ 2180 on AIX. I tried searching for AIX Drivers on EPSON LQ 2180 webpage but did't find any.
Anyone know how can I add a dotmatrix printer on AIX ? (1 Reply)
Discussion started by: filosophizer
1 Replies
7. UNIX for Advanced & Expert Users
We have a very old and unsupported box. It runs DC/OSx, SVR4. For the past 12 years all printers have been connected via terminal servers and working well. Now those terminal servers are dying and cannot be replaced or repaired. Of course the right solution is to upgrade, but that's not gonna... (10 Replies)
Discussion started by: jbcamel
10 Replies
8. UNIX for Dummies Questions & Answers
I'm learning Unix - and have installed OpenSolaris 11 under VMWare running on Ubuntu. My challenge now is to get printing working. Used CUPS to install the HP printer and driver... but it won't print. The status display is
Unable to open device file "/dev/cua/a": Permission denied
Assistance... (8 Replies)
Discussion started by: stansaraczewski
8 Replies
lp(1) General Commands Manual lp(1)
Name
lp - send requests to an LP line printer
Syntax
lp [-c] [-d dest] [-n number] [-] [files]
Description
The command arranges for the named files and associated information (collectively called a request) to be printed by a line printer. If no
file names are mentioned, the standard input is assumed. When a file name is designated by a minus sign (-) it stands for the standard
input and may be supplied on the command line in conjunction with named files. The order in which files appear is the same order in which
they are printed.
This command exists for X/OPEN compatibility.
Options
The following options to may appear in any order and may be intermixed with file names:
-c Makes copies of the files to be printed immediately when is invoked. Normally, files are not copied, but are linked whenever
possible. If the -c option is not given, then the user should be careful not to remove any of the files before the request has
been printed in its entirety. It should also be noted that without the -c option, any changes made to the named files after
the request is made but before it is printed are reflected in the printed output.
-d dest Chooses dest as the printer that is to do the printing. If dest is a printer, then the request is printed on that specific
printer. By default, dest is taken from the environment variable PRINTER if it is set. Otherwise, a default destination, lp,
is used.
-n number Prints number copies (default of 1) of the output.
Files
/etc/passwd personal identification
/etc/printcap printer capabilities data base
/usr/lib/lpd* line printer daemons
/usr/spool/* directories used for spooling
/usr/spool/*/cf* daemon control files
/usr/spool/*/df* data files specified in cf files
/usr/spool/*/tf* temporary copies of cf files
See Also
lpq(1), lpr(1), lprm(1), pr(1), symlink(2), printcap(2), lpc(8), lpd(8)
lp(1)