- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- move print job HP-UX
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-01-2006 10:04 AM
11-01-2006 10:04 AM
i am using HP-UX 11i v1
users request to be able to move their printjobs
from one printer to the others, that was the way it worked in HP-3000. But in HP-9000 in other for them to move their printjobs, I need to shut down the printer spooler and that will affect everyone else.
Is there a work around for this situation that i don't have to shutdown the spooler.
Thanks in advance.
Tom
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2006 08:25 PM
11-01-2006 08:25 PM
Re: move print job HP-UX
look at the manpage of 'lpmove' - it contains conditions for moving print requests between printers.
If they are not met, the jobs cannot be moved.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2006 11:13 PM
11-01-2006 11:13 PM
Re: move print job HP-UX
you could get the users to do this themselves by modifying the answers in:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=979234
This thread may help solve your immediate problem:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=146794
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2006 12:26 AM
11-02-2006 12:26 AM
Re: move print job HP-UX
lpmove Moves requests that were queued by lp(1) between LP destinations. This command can be used only when lpsched is not running.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2006 01:48 AM
11-02-2006 01:48 AM
Re: move print job HP-UX
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2006 02:13 AM
11-02-2006 02:13 AM
Re: move print job HP-UX
Thank you for your input.
Peter, i could not open the second link, would you please re-post the link.
...and that is what i was afraid of shutdown the spooler.
Does anyone know " a commercial spooler replacement products" for HP-UX 11i v1.
Regards,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2006 02:23 AM
11-02-2006 02:23 AM
Solutionas provided in the link you can't get to:
By James Marrion
#!/bin/sh
#
# LPMOVE6.SH Shell script to use the lpalt command to move a group
# of files from one print que to another.
#
# Arguements Two(2) are required, you need the original printer
# and the new destination printer name.
#
#
# lpmove6.sh , 1.2
# 09/14/00 , 16:25:27
#
# 08/22/00 JAM Sr
#==================================================================
==========
ORG_PRTR=6
NEW_PRTR=va22_hp21
# create the file of print outputs
while [ 0 ]
do
echo `date` Checking the $ORG_PRTR queue for print request
HR=`date +%H`
if [ $HR -gt 17 ]; then
exit
else
lpstat -o${ORG_PRTR} |grep ^${ORG_PRTR} |awk '{print $1}' > /tmp/prt.log
if [ -s /tmp/prt.log ]; then
for i in `cat /tmp/prt.log`
do
echo $i
lpalt ${i} -d${NEW_PRTR}
done
fi
sleep 300
fi
done
rm /tmp/prt.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2006 05:28 PM
11-02-2006 05:28 PM
Re: move print job HP-UX
Thank you very much for the script
that is what i am looking for. actually i got error when running this script, will take care it later.
the command lpalt is what i need. we are using this command all along but never realize it.
Thanks again for your help.
Tom