- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: adding printer, print and check
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
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
тАО09-17-2008 06:52 AM
тАО09-17-2008 06:52 AM
adding printer, print and check
Thanks
Terry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2008 07:29 AM
тАО09-17-2008 07:29 AM
Re: adding printer, print and check
Sorry, the best to confirm something is working is to do the test.
If a mechanic says they fixed your car, but doesn't want to turn on the engine and do a test drive - would you trust that all is good? Don't think so!
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2008 07:36 AM
тАО09-17-2008 07:36 AM
Re: adding printer, print and check
Thanks
Terry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2008 07:45 AM
тАО09-17-2008 07:45 AM
Re: adding printer, print and check
"lpstat" to confirm that it processes thru the queue.
and then somebody is going to *have* to look at the printer to see if anything came out, and if so are the results as expected.
"No that is not what i want..i can print and need to confirm via command line."
Makes no sense -- what can you confirm about output of printer *without* somebody looking at it.
"man lp" "man lpstat" if you need further info
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2008 09:57 AM
тАО09-17-2008 09:57 AM
Re: adding printer, print and check
Ideal way is do a "lp -dqname filename" and check wath through lpstat as well as /var/adm/lp/log .
But as pointed out you can only 100% sure when you physically look at. Since there are chnaces when everything looks good from UNIX side and still it wont print.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2008 09:24 PM
тАО09-17-2008 09:24 PM
Re: adding printer, print and check
to check status of printer "lpstat -t"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2008 10:31 PM
тАО09-17-2008 10:31 PM
Re: adding printer, print and check
The **lp** command queues files for printing. The lpalt command changes
information in a queued request. The cancel command deletes a queued
request.
The lp command arranges for the named files, file ..., and associated
information (collectively called a request) to be queued for output to
a destination in the LP (line printer) subsystem.
lpstat - report status information of the LP subsystem
**lpstat** [-drst] [-a[list]] [-c[list]] [-o[list]] [-p[list]] [-u[list]]
[-v[list]] [ID...]
Regards,
Gokul Chandola