09-14-2001
alias
You can start by checking whether your printer was set up with an IP alias in /etc/hosts or not. If so it's just a matter of changing the entry in /etc/hosts.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello guys... can anybody please tell me how to add a printer in unix environment? (2 Replies)
Discussion started by: bong m
2 Replies
2. UNIX for Dummies Questions & Answers
I have a HP laserjet 5Si MX on a Microsoft network that I need to route my print output to. I have setup a host that amounts to just the ip address of the printer, and created a printer that is connected to that host. My print is sent directly to the printer, but it is not formatted correctly. ... (2 Replies)
Discussion started by: pkappaz
2 Replies
3. UNIX for Dummies Questions & Answers
I have HP UNIX 10.20 and whenever anything is printed on DFX 8000, it skips a page. How could I give an lp command so that
a) the printer does not skip a page
b) Even if it skips a page, the next time it should automatically use the blank page it has ejected.
In this way, I can reduce the... (3 Replies)
Discussion started by: augustinep
3 Replies
4. UNIX for Advanced & Expert Users
How do we install a Printer connected directly to network with a private IP of 192.9.168.109 on a SUN system with IP of 192.9.168.2 so that we can use it with the lp command. The printer is a standard Line Matrix Printer. I would like to know how to add it from COMMANDLINE also.
Thanx (3 Replies)
Discussion started by: /etc/passwd
3 Replies
5. UNIX for Dummies Questions & Answers
Hello,
I'm a real noob with Unix.
I have to make an installation of a printer, EPSON LQ 2080 (impact printer) on local port ltp, on a Unix SCO 5.7.
So....where can I find the driver, and how can I install it on a sco ?
Sorry for my english, i'm frenchy ;)
Thank you ! (1 Reply)
Discussion started by: kok
1 Replies
6. UNIX for Dummies Questions & Answers
I am trying to find the list of printers(names) in the network from unix server.
can anybody help me . I need the command.
Thanks in advance.
:) (2 Replies)
Discussion started by: vijisenthil
2 Replies
7. Shell Programming and Scripting
HI,
I'm trying to create a script that a regular unix user can run from a unix menu and disable and enable a unix printer.
Any help will be very helpful.
Thanks (0 Replies)
Discussion started by: miguelpza
0 Replies
8. UNIX for Dummies Questions & Answers
Hi,
os-sun solaris(5.10)
I am working in unix server.
I try to take print in unix.but i got following error.
anyone tell me solution for this problem.
$ lp hi.sql
_default: unknown printer
thanks. (1 Reply)
Discussion started by: arulkumar
1 Replies
9. HP-UX
Our HP 11.11 is networked to several printers with fax capabilities.
Is it possible to send a file to be faxed by the printer?
I know that RICOH offers a Java API, but that costs 4500 for 1yr membership and 3000 every year after that.
Thanks. (3 Replies)
Discussion started by: tariqjamal
3 Replies
10. UNIX for Advanced & Expert Users
Could anyone help me to identify the IP address of a printer queue with its printer queue name information . (1 Reply)
Discussion started by: lenin1985
1 Replies
LEARN ABOUT NETBSD
getent
GETENT(1) BSD General Commands Manual GETENT(1)
NAME
getent -- get entries from administrative databases
SYNOPSIS
getent database [key ...]
getcap database [key ...]
DESCRIPTION
The getent program retrieves and displays entries from the administrative database specified by database, using the lookup order specified in
nsswitch.conf(5). The display format for a given database is as per the ``traditional'' file format for that database.
database may be one of:
Database Display format
disktab entry
ethers address name
gettytab entry
group group:passwd:gid:[member[,member]...]
hosts address name [alias ...]
netgroup (host,user,domain) [...]
networks name network [alias ...]
passwd user:passwd:uid:gid:gecos:home_dir:shell
printcap entry
protocols name protocol [alias ...]
rpc name number [alias ...]
services name port/protocol [alias ...]
shells /path/to/shell
If one or more key arguments are provided, they will be looked up in database using the appropriate function. For example, passwd supports a
numeric UID or user name; hosts supports an IPv4 address, IPv6 address, or host name; and services supports a service name, service name/pro-
tocol name, numeric port, or numeric port/protocol name.
If no key is provided and database supports enumeration, all entries for database will be retrieved using the appropriate enumeration func-
tion and printed.
For cgetcap(3) style databases (disktab, printcap) specifying a key, lists the entry for that key, and specifying more arguments after the
key are used as fields in that key, and only the values of the keys are returned. For boolean keys true is returned if the key is found. If
a key is not found, then false is always returned.
DIAGNOSTICS
getent exits 0 on success, 1 if there was an error in the command syntax, 2 if one of the specified key names was not found in database, or 3
if there is no support for enumeration on database.
SEE ALSO
cgetcap(3), disktab(5), ethers(5), gettytab(5), group(5), hosts(5), networks(5), nsswitch.conf(5), passwd(5), printcap(5), protocols(5),
rpc(5), services(5), shells(5)
HISTORY
A getent command appeared in NetBSD 3.0. It was based on the command of the same name in Solaris and Linux.
BSD
October 11, 2011 BSD