- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- jetadmin and HPUX printing
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-16-2001 11:48 AM
11-16-2001 11:48 AM
I download Jetadmin ver D for HPUX10.20 and it is acting strange to say the least.
I can spool print jobs to lp, they appear to be going to the right printers, lpstat -o, but then they error out and send root an email saying so.
This is a new configuration(server wise) and also I had downloaded ver E previously and I have swremoved that and swinstalled Ver d.
Suggestions?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 11:52 AM
11-16-2001 11:52 AM
Re: jetadmin and HPUX printing
Have you tried lpshut and lpsched,
/usr/lib/lpshut
/usr/lib/lpsched
lp -dprinter_name some_file
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 11:53 AM
11-16-2001 11:53 AM
Re: jetadmin and HPUX printing
Nickd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 11:55 AM
11-16-2001 11:55 AM
Re: jetadmin and HPUX printing
Have you gone through the diagnostics inside of JetAdmin? There are a few things that you can do inside there which should help you troubleshoot you problem.
Let us know.
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 11:56 AM
11-16-2001 11:56 AM
Re: jetadmin and HPUX printing
/opt/hpnp/bin/jetadmin
to set it up?
Also you are using
HP10d621.SD
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 11:58 AM
11-16-2001 11:58 AM
Re: jetadmin and HPUX printing
cd /tmp
ftp ftp.hp.com
cd /pub/networking/software
ls HP*
bin
hash
get HP10d621.SD
bye
swinstall -s /tmp/HP10d621.SD \*
Now you can run /opt/hpnp/bin/jetadmin to add printers. If there were no problems with your 10.20 box to begin with, everything should work fine with this.
Cheers,
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 12:00 PM
11-16-2001 12:00 PM
Re: jetadmin and HPUX printing
Thru the diagnostics, I am able to test print.
However, back the prompt, I typed the following:
cat /etc/hosts |lp -efin2 and it produces and email msg with an error 2 on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 12:04 PM
11-16-2001 12:04 PM
Re: jetadmin and HPUX printing
I have checked to see and the /opt/hpnpl directory (as created by the version E of Jetadmin) is no longer there.
Nickd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 12:07 PM
11-16-2001 12:07 PM
Re: jetadmin and HPUX printing
Good Luck,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 12:11 PM
11-16-2001 12:11 PM
Re: jetadmin and HPUX printing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 12:13 PM
11-16-2001 12:13 PM
Re: jetadmin and HPUX printing
Silly question: are you using lp -e or was that a typo? You can print a file by simply doing: lp -dprintername filetoprintname
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 12:17 PM
11-16-2001 12:17 PM
Re: jetadmin and HPUX printing
/usr/include/sys/errno.h
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2001 05:01 PM
11-17-2001 05:01 PM
Re: jetadmin and HPUX printing
/opt/hpnp/bin/hpnpf -x IP-addr -n /etc/profile
Another test is to use hpnpadmin:
/opt/hpnp/bin/hpnpadmin -v IP-addr
If they work OK, the printer and JetAdmin are fine. Look at the spooler:
Error 2 for the spooler means that something in the printer script returned a non-zero code (2 in this case). From the errno definitions, this mean "No such file or directory"
This may have nothing to do with JetAdmin, it may be an install/setup problem with the lp spooler, most likely permissions on spooler directories. Use swverify to check the spooler permissions.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2001 12:06 AM
11-18-2001 12:06 AM
SolutionI doubt there is something wrong with ur Jet admin configuration or with ur network. I suggest U to follow these steps, This may help U to diagnos ur problem
Configure the Jetadmin printer thru SAM. Come to prompt and check the connectivity.
#ping
Make sure that it is pinging.
#lpstat -t
Make sure that ur scheduler is running, scheduler is accepting the request and particular printer is enabled. If something is not OK here , do this
#lpshut
#rm /var/spool/lp/SCHEDLOCK
#lpsched
#enable
#accept
#lpstat -t
Now U can see everything is OK
#lp -d
#lpstat -t
Check up whether ur job is getting queued or not. If yes checkup printer side whether it is printing or not. If still ur problem not getting solved, I suggest U a shotcut
U remove the existing Jetadmin printer (Network Printer) and configure as a remote printer. Physicallu U don't need to change anything. Kepp printer connected as it is, then
#sam ->Printers and plotters->lp spooler->printers and plotters-action->add printer
Her select remote printer and give Ip address of the printer as remote system name and remote printer name. Come out
#lpstat -t
Make sure that everything is ok
#lp -d
I hope now U will be able to see printer is printing. If this is done, means there is something wrong with ur jetadmin configuration.
Best of luck
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2001 08:03 AM
11-21-2001 08:03 AM
Re: jetadmin and HPUX printing
I re-ran swverify on J2559C (jetamdin) and the error was gone.
I deleted my previously defined printers and set them up again and re-submitted print job and still I get an error - 2
Arrgh !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 03:02 AM
01-03-2002 03:02 AM
Re: jetadmin and HPUX printing
Additionally, turn on logging in the interface script for the printer.
Regards
Chris