- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LPADMIN Questions -- MFP %^&*8$%#$&& non hp print...
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
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
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
тАО02-20-2007 01:59 AM
тАО02-20-2007 01:59 AM
I need to ask, some of the basics about where to put their provided scripts, syntax on ad naseum.
for example, I have an HP 5SI with hppi -s , is it pretty straight forward
1. add the IP, address, assign the model script, and define the quename.
Not so with non-jetdirect compliant devices.
Each year we have 3 or more schools districts go through a round of testing / purchasing and each time we have to define queues for vendors. it has been easy with HP.
I need a down and dirty run down on how to use LPADMIN or do so from SAM, How and where to place the vendor's model script files and how to point to them from either the lpadmin command line or from within SAM..
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2007 02:26 AM
тАО02-20-2007 02:26 AM
SolutionHowever, not all of your answers are in the man page because not all vendors use lpadmin. Many of them supply their own printer installation and networking utilities which ultimately use the lp subsystem transparently to the user. For those, the answer is "it depends".
Adding remote printers either from lpadmin or through SAM is generally easy -- by far, the most difficult aspect is knowing the queue name on the remote host (printer). For example, the same host (printer) may have a "TEXT" queue, a "RAW" queue, or some other obscure queue name with other properties. Only the printer's documentation can tell you that.
Sometimes, a Plan B that works well (in that it allows you full control from HP-UX) is to set up a Network printer through an external JetDirect to the printers USB or (rarely these days) to its parallel port. You then may have to customize an interface file but that shouldn't be too difficult.
With more and more MFP devices everyday there is just far less application for a cookie cutter approach to setting up printers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2007 02:37 AM
тАО02-20-2007 02:37 AM
Re: LPADMIN Questions -- MFP %^&*8$%#$&& non hp printers
Defining a print queue with SAM is like shooting prairie dogs with an 50 Caliber Barrett, then putting the outcome in a blender.
Sam is not friendly for defining ques other then JD queues ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2007 02:38 AM
тАО02-20-2007 02:38 AM
Re: LPADMIN Questions -- MFP %^&*8$%#$&& non hp printers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2007 05:32 AM
тАО02-20-2007 05:32 AM
Re: LPADMIN Questions -- MFP %^&*8$%#$&& non hp printers
Note that SAM doesn't actually add HP JetDirect printers, it simply calls hppi which does the work.
One additional issue: EVERY remote printer (not JetDirect) will require ASCII files to be translated because all Unix systems store ASCII files with just LF at the end of every line. On the printer, you see this as a "stair-step" down the page right off the right edge. A few non-HP printers have the ability to perform this translation from the front panel but otherwise, you'll need to use ux2dos to filter each ASCII file.
MFP boxes are universally difficult to setup unless they are locally connected to a PeeCee. The Unix market, or more broadly, the non-PC market is so small that it is ignored by most vendors. From a decision maker's point of view, the true cost of ownership should be evaluated. You may have to purchase a printing subsystem for HP-UX that can handle non-HP printers. Almost no printer vendor supplies model scripts or other printing software for HP-UX.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2007 05:59 AM
тАО02-20-2007 05:59 AM
Re: LPADMIN Questions -- MFP %^&*8$%#$&& non hp printers
MFP have screwed the pooch. Every single copier company that has a vested interest in placating those who purchase printer devices need think through the business application of their devices.. I've informed the Xerox technician they need to provide a script that will perform queue creations with three parameters, IP address, Quename, and Model. They are working on it. We have 250 physical printers connected via HPNP and have not had to deviate from this until the MFP's showed up.
I will likely script something that I can run outside of SAM to perform this task as the writing is on the wall. The problem arises when lpadmin fails to send the OPTIONS "-o" assumed with an HPNP compliant device.
We have two districts that beat this horse dead every year.
Scripting lpadmin I am going to prompt for variables as follows:
-p queue name
-s what the printer is known as in the /etc/hosts file
-T interface file hplaser is standard for hp printers
-I font type
lpadmin -p $quename -s $printerhostfilename -T $vendorinterfacefile -I pcl
From looking at man pages I could get by with this, it does require inserting a record in the /etc/hosts but is doable.