HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: addqueue Questions [JetAdmin]
Operating System - HP-UX
1833770
Members
2084
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
02-02-2001 05:51 AM
02-02-2001 05:51 AM
addqueue Questions [JetAdmin]
I posted this a few days ago in a follow up to another post. I thought maybe I should post this as a new messages instead.
I have a question about the addqueue utility.
When used, it automatically sets jobm="yes" in the /etc/lp/interface/printername file. How can I get it to set this to jobm="no" ?
Can this be done by another utility via the command line? Of course it can be done via jetadmin but I am going to incorporate this into a script so I need to be able to do it via the command line.
Also using addqueue does not set PRINTERCFG= does this need to be set?
Any suggestions are greatly appreciated!
- Justin
I have a question about the addqueue utility.
When used, it automatically sets jobm="yes" in the /etc/lp/interface/printername file. How can I get it to set this to jobm="no" ?
Can this be done by another utility via the command line? Of course it can be done via jetadmin but I am going to incorporate this into a script so I need to be able to do it via the command line.
Also using addqueue does not set PRINTERCFG= does this need to be set?
Any suggestions are greatly appreciated!
- Justin
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2001 08:20 AM
02-05-2001 08:20 AM
Re: addqueue Questions [JetAdmin]
You can use jetadmin functions to do this. To use them some variables need to be set. An example:
# set required variables
TMP=/tmp
HPNP=/opt/hpnp
# source the jetadmin functions file
. /opt/hpnp/admin/fuctions
# modify the jobm and userjobm variables
modify_var /etc/lp/interface jobm "no"
modify_var /etc/lp/interface userjobm "no"
# restore file ownership and access mode
chown lp:bin /etc/lp/interface/
chmod 755 /etc/lp/interface/
# set required variables
TMP=/tmp
HPNP=/opt/hpnp
# source the jetadmin functions file
. /opt/hpnp/admin/fuctions
# modify the jobm and userjobm variables
modify_var /etc/lp/interface
modify_var /etc/lp/interface
# restore file ownership and access mode
chown lp:bin /etc/lp/interface/
chmod 755 /etc/lp/interface/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2001 08:23 AM
02-05-2001 08:23 AM
Re: addqueue Questions [JetAdmin]
Almost forgot to answer your second question. PRINTERCFG doesn't have to be set. My guess is that the variable is only used when the script in /etc/lp/interface/model.orig is not available.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP