Sponsored Content
Operating Systems Linux Find printer location and printer type Post 302461381 by forumguest on Monday 11th of October 2010 01:52:52 AM
Old 10-11-2010
Find printer location and printer type

Hi,

Is it possible to find the printer location and printer type (whether it is local or network) using command in Linux ?

Thanks in advance.
 

7 More Discussions You Might Find Interesting

1. Linux

know I do for to printer in printer deskjet 80colun

I want to print some thing in HP Deskjet 692.? (1 Reply)
Discussion started by: edvaldo
1 Replies

2. IP Networking

How do you send printer codes to an IP printer

We were printing to a serial laser printer with all the HP codes to generate a form (i.e. lines, boxes, etc.) Thus the file is filled w/ control codes. We are switching to an IP printer and we can no longer print directly to the device (i.e. cp text /dev/tty11). It looks like we have to use the lp... (2 Replies)
Discussion started by: jeffbugfree
2 Replies

3. HP-UX

how to find the IP address of a printer

I'm trying to find the IP address of a print queue. I tried this, but nada. cat /etc/hosts | lp -d lp01 Looked in the hosts file but it's not there (2 Replies)
Discussion started by: abNORMal
2 Replies

4. UNIX for Advanced & Expert Users

Find IP Address of a Printer Q in Hp-Unix

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

5. Solaris

Configuring Printer with Printer Manager

Hi All, I am trying to configure printer in solaris 10 with the help of print manager. There is no printer attached to my system, ia m doing it for test purpose. However I am unable to do so coz its pops up window - Heading as error with option as dismiss and cancel. Kindly help as I am... (3 Replies)
Discussion started by: kumarmani
3 Replies

6. AIX

Check printer queue on Windows printer server

Hello Let me first give a small overview of the setup. All printers are connected to Windows 2000 servers. There are a lot of UNIX (AIX & HP-UX) servers as well which have SAP running. I'm working on a script to add printers to a specified SAP instance. I want to verify the user input (to... (0 Replies)
Discussion started by: NielsV
0 Replies

7. AIX

Where to find printer drivers for AIX 5.x

I was wondering if somebody knew of a website where printer drivers can be downloaded for AIX 5.3. Most of our printers are HP and the driver that is installed works properly. As of lately, our users have started to get other type of printers, including Multi-purpose devices. I am struggling to... (2 Replies)
Discussion started by: fabiogilr
2 Replies
setnetlp(1M)															      setnetlp(1M)

NAME
setnetlp - configure the LP spooling system for network printers SYNOPSIS
/usr/sbin/setnetlp /usr/sbin/setnetlp -p printer [options] /usr/sbin/setnetlp -x printer DESCRIPTION
The command configures network printers in the LP spooling systems with specified printer model interface file. It is used to add and remove specified printer that is referred as a LP destinations, change configuration of the printer if the printer exists. Network printers that support lpd protocol or JetDirect interface can be configured by The command is a shell procedure. It calls lpad- min(1M) command for lpd printer configuration. It may also call addqueue(1) and removequeue(1) commands for configuring printers with Jet- Direct interface when the optional software HP JetDirect Printer Installer for Unix is installed on the system. Exactly one of the -p, -x options or no options must be present for every legal invocation of -p printer Names a printer to which all of the options below refer. If printer does not exist, it will be created. -x printer Removes the printer from the LP spooling system. The printer is a LP destination configured in the LP spooling sys- tem. No other options are allowed with -x. The following options are required for -p and can appear in any order. -orm machine The name of the remote machine or IP address of the network printer is machine. -om model This option selects a printer model interface program for printer. The model is one of the model file name at /usr/lib/lp/model/* supplied with the LP software or generated by psmsgen(1M). Refer to lpadmin(1M) Models for details. One and only one of the following options is required for -p and can appear in any order. -orp rprinter The name of the remote printer queue that has configured on the remote machine is rprinter. This option is required to configure lpd printer and can not be used with -jd option. -jd When this option is specified, configures the printer using commands provided by HP JetDirect Printer Install- er for Unix Interactive terminal user interface (TUI) will be invoked when is invoked without any options. At the TUI, values of all options described above can be set. In addition, for some printer model, defaults of model interface options also can be customized. When HP JetDi- rect Printer Installer for Unix is available on the system, some recommended initial values for options may be provided for some printer model. The model customization support feature by is available only for TUI. No customization is performed by non-interactive invocation of To customize model options for a printer without the TUI, pre-customized model file needs to be generated before running for configuring the printer. EXAMPLES
Assuming a LIPS printer supported lpd protocol on a network as remote printer host name lphost and remote printer name lipslp the command: /usr/sbin/setnetlp -p netlp -orm lphost -orp lipslp -om LIPS4 causes the spool system to use the local printer netlp and the local model file LIPS4. FILES
SEE ALSO
lpadmin(1M), addqueue(1), removequeue(1), psmsgen(1M) setnetlp(1M)
All times are GMT -4. The time now is 06:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy