- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lp command does print on the printer
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
Forums
Discussions
Discussions
Discussions
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
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
11-18-2003 09:32 PM
11-18-2003 09:32 PM
lp command does print on the printer
70_3-1762 root priority 0 Nov 19 15:48 on 70_3
test.sql 274 bytes
Here 70_3 is the printer name and this is enabled too. So this request remains as it is on the queue.
Pls advise how to overcome the problem.
Thanks..
--Deepu.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2003 09:44 PM
11-18-2003 09:44 PM
Re: lp command does print on the printer
Does it accept jobs?
man accept
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2003 09:52 PM
11-18-2003 09:52 PM
Re: lp command does print on the printer
Yes it is accepting jobs. Like following:
# accept 70_3
accept: destination "70_3" was already accepting requests
#
--Deepu.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2003 09:55 PM
11-18-2003 09:55 PM
Re: lp command does print on the printer
Are you sure the printer is online? Is the schedular running (# lpsched)?
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2003 09:56 PM
11-18-2003 09:56 PM
Re: lp command does print on the printer
Sorry.
My subject was wrong. It should be read 'lp command does not print on the printer'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2003 10:04 PM
11-18-2003 10:04 PM
Re: lp command does print on the printer
--Deepu.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 12:14 AM
11-19-2003 12:14 AM
Re: lp command does print on the printer
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 12:20 AM
11-19-2003 12:20 AM
Re: lp command does print on the printer
you could try the following actions:
# lp -d
# lpstat -t
You shouldn't stop 'lpstat -t', even if it hangs; you should wait a few seconds or minutes in order to see what messages appear and if prompt returns.
If you get messages or errors, you would know why prints don't work.
I hope this helps you.
Bets regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 01:24 AM
11-19-2003 01:24 AM
Re: lp command does print on the printer
/opt/hpnpl/bin/hpnpadmin
hpnpadmin -v 70_3
Will give you the printer status - if it is Online, etc...
Oh - it might not work with dlink...
I also use a script I wrote called lpst:
#!/bin/sh
#
# check printer status
# Geoff Wild
if [ $# -lt 1 -o \( $# -gt 1 -a $# -lt 4 \) ]
then
echo "Usage:"
echo "lpst \"printer\""
echo "Example:"
echo "lpst W052"
exit 1
fi
echo " "
/usr/sbin/ping $1 -n 2
echo " "
lpstat -p$1 -v$1
echo " "
echo "Output Requests"
echo "-----------------------------------------------------------"
lpstat -o$1
echo " "
lpstat -r
echo " "
Another thing to try - re-create the printer:
lpadmin -x70_3
addqueue -i 9998 -q 70_3 -h 70_3.yourdoamin.com
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 01:26 AM
11-19-2003 01:26 AM
Re: lp command does print on the printer
How is the printer configured. Is is configured through Jetadmin or is it configured as a remote printer.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 02:47 AM
11-19-2003 02:47 AM
Re: lp command does print on the printer
Is it accepting requests??
Is the printer is enabled.
U can try # lpshut #lpsched(that is restarting the scheduler). But in this case current printing job will reprint.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 03:27 PM
11-19-2003 03:27 PM
Re: lp command does print on the printer
I am trying your script 'lpst'. Following is the output of your script.
$ sh lpst.sh 70_3
/usr/sbin/ping: unknown host 70_3
printer 70_3 is idle. enabled since Nov 19 15:46
fence priority : 0
device for 70_3: /dev/null
Output Requests
-----------------------------------------------------------
no entries
scheduler is running
Pls advice.
--Deepu.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 04:58 PM
11-19-2003 04:58 PM
Re: lp command does print on the printer
Reset ur printer and also hub or switch where the printer is conneted
Then i think it will work fine
Thanx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 08:33 PM
11-19-2003 08:33 PM
Re: lp command does print on the printer
you also can try 'hpnpf'. See man hpnpf.
I've used options -R -x (ip or printer-name)and -l (for log-file).
Try it with a working printer and with the other one.
And of course you have to verify that ping 70_3 is working from the print server.
Good luck
Volkmar