- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to view priniter is installed or not insta...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2009 12:22 AM
тАО04-15-2009 12:22 AM
In my environment we have HP-UX, Redhat linux and suse linux.
I want answer for following questions:
1) How to view whether printer is installed in HP-UX, Redhat linux and suse linux.
2) how to view the configuration of printer installed for all three.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2009 12:37 AM
тАО04-15-2009 12:37 AM
SolutionLP commands are almost same for all the unix..
To know the status of the scheduler and printers
#lpstat -t
To check the status of the printer
#lpstat -p
or
#lpstat
To stop the scheduler
#lpshut
To start the scheduler
#lpsched
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2009 01:20 AM
тАО04-15-2009 01:20 AM
Re: How to view priniter is installed or not installed
Where the network printer is connected?
Is the printer connected in Windows Domain print server or it is connected in Network hub?
If not connected in domain printer server then, you can use HetDirect software of HP
if it is HP printer. For this, steps are:
1. Install JetDirect Software
2. excute the command hppi or goto sam->printes and plotters -> printes and plotters -> actions ->aAdd Network-Based Printer/Plotter
3. Choose Spooler Administration
4. Add printer to local spooler
5. give the priter ip or name (do the /etc/hosts configuraion for the printer name resolv)
6. choose the model script name from the list if available or choose the 56) To Select dumbplot model script for printer
7. configure the print queue and etc..
8. lpstat -a ( printer stat)otherwise you need to
If the printer is connected in Network hub, then
Use SAM:
'sam' -> Printers and Plotters > LP Spooler > Printers and Plotters > Actions Menu > Add Network-Based Printer/Plotter.
Before that define the printer in your /etc/hosts with his ip-address.
You also can check this link:
http://docs.hp.com/en/B2355-90675/ch07s03.html
LP commands are almost same for HP-UX, Linux & SUSE Linux.
To check printer status & schedular:
#lpstat -p
or
#lpstat
To stop the scheduler
#lpshut
To start the scheduler
#lpsched
Rgds-Kranti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2009 01:28 AM
тАО04-15-2009 01:28 AM
Re: How to view priniter is installed or not installed
You can check below link for printer as follows,
http://www.digitalissues.co.uk/html/os/unix/hpux.html
http://www.lockergnome.com/it/2005/01/31/control-printers-in-linux-from-the-command-line/
Rgds//
Taifur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2009 01:34 AM
тАО04-15-2009 01:34 AM
Re: How to view priniter is installed or not installed
This is for HPUX:
One easy way to check for the printer on a servers is through SAM.
# sam
then select the following one by one:
-printers and plotters
-LP spoolers
-Prinetrs and Plotters
Here you will see all the printer information eg their names, type, enabled to print, location etc.
Printer config options are also here.
Regds,
R.K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2009 08:34 AM
тАО04-15-2009 08:34 AM
Re: How to view priniter is installed or not installed
Irrespective of unix flavour you can use "lpstat" command to see the printer configured for your unix machine
lpstat -p -- lists configured printers with status
With my experience in most of the big corporates I have seen them using tools like Jetadmin(for HP printers) and Xadmin(for xerox printers).
You can invoke jetadmin using hppi or hpnp varies with flavour of unix. Its always adviced and safe to use the tools if you have them installed in your system. Do not try to administrator the printer using SAM or lp commands if they are configured using these tools.
In HPUX to view you can use SAM choose Printers and Plotters.
Hope that helps
-uvk
Like it or worked !! Click kudos !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2009 11:32 AM
тАО04-15-2009 11:32 AM
Re: How to view priniter is installed or not installed
lpstat command will give the status in all flavours.Go through the man page of lpstat.
also check this link
http://en.opensuse.org/SDB:Installing_a_Printer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2009 09:30 PM
тАО04-15-2009 09:30 PM
Re: How to view priniter is installed or not installed
lpstat -t is the command for HPUNIX for others go to the below link
http://www.unixguide.net/unixguide.shtml
or Download the below pdf file.
http://www.unixguide.net/unixguide.pdf
Suraj