- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unable to modify the print queue.
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
04-13-2005 11:59 PM
04-13-2005 11:59 PM
I am trying to modify the printqueue in HP-UX 11i. The print queue is created for a remote printer HP Laserjet III.
When i try to modify the printqueue
# modifyqueue -q clynel_1 -b off
Could not modify the queue !
The print scheduler is also running. Kindly let me know how to modify this.
Thanks in advance
S.Jagadesh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2005 12:06 AM
04-14-2005 12:06 AM
Re: Unable to modify the print queue.
It can be really confusing looking at SAM for adding printers. The term "remote" means that the printer is connected to a server (WinNT, Win2k, WinXP, Linux, Sun, etc) and does not have an HP JetDirect interface card or external box. The other type of printer is a "network" printer which refers exclusively to HP JetDirect interface cards and boxes and the queue can be modified by either hppi or modifyqueue.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2005 12:26 AM
04-14-2005 12:26 AM
Re: Unable to modify the print queue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2005 09:19 PM
04-14-2005 09:19 PM
Re: Unable to modify the print queue.
I have recreated the printqueue using hppi with banner setting off. Now i am facing a new problem, that all print out's are printed one line down from where they should be (e.g. Place and date is getting printed in the Signature Box).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2005 12:11 AM
04-15-2005 12:11 AM
Re: Unable to modify the print queue.
The alternative is to insert a reverse line-feed code into the script which will move the text up--however, this assumes that your print job is plain ASCII, Courier font, and has no XY coordinates hardcoded into the printout.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2005 09:54 PM
04-18-2005 09:54 PM
Re: Unable to modify the print queue.
I fired a print using
#lp -oyb -dprintqueue filename the same went fine.
How to insert a reverse line-feed code into the script which will move the textone line up.
I am using the print script /opt/hpnpl/sh/net_lj4x .I cannot directly modify this script as some of printers are configured to use this. Can i copy the script to /opt/hpnpl/sh/net_lj4xtest with reverse line feed modification and assign the same to that printer. Will that solves the issue?
Thanks
S.Jagadesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2005 01:46 AM
04-19-2005 01:46 AM
SolutionInsert this code:
echo "\033&-1R\c"
The string says: \033 (octal 033 which is the escape character), &-1R to perform a reverse line feed (technically, it is a vertical motion command where -1 can be -2.33 or +1.2 or any value to move the current position) and finally, \c which suppresses the automatic line feed from the echo command (don't want to undo what we just accomplished).
Insert this echo around line 3761 where it says: cooked) (you can find this by running vi, type G (go to end of file) then ?cooked which searches backwards for cooked. Insert the echo just after the existing escape sequence: echo "\033&k2G\c"
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 12:13 AM
04-20-2005 12:13 AM
Re: Unable to modify the print queue.
When i checked for the model script in /etc/lp/interface/model.script/clynel_1 the required entry is already available.
Pasting that part below.
*******************************
?cooked
;;
cooked)
echo "\033&k2G\c"
if [ "$pescfile" = "yes" ]
then
sed "s/$esc/
else
*******************************
I checked the same in /opt/hpnp/sh/netlj4x. The entry is available in this file too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 12:28 AM
04-20-2005 12:28 AM
Re: Unable to modify the print queue.
Sorry. That entry is not available.
Thanks
S.Jagadesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 05:42 PM
04-20-2005 05:42 PM
Re: Unable to modify the print queue.
cooked)
echo "\033&k2G\c"
if [ "$pescfile" = "yes" ]
and here is how it should be modified:
cooked)
echo "\033&-1R\c"
echo "\033&k2G\c"
if [ "$pescfile" = "yes" ]
The task is to insert the echo just before the print job is sent to the printer. Note that this is not a complete solution if you use other options such as -orelay. This fix is just for a simple lp command.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2005 07:45 PM
04-25-2005 07:45 PM
Re: Unable to modify the print queue.
The problem is resolved.