1820643 Members
2030 Online
109626 Solutions
New Discussion юеВ

Printing on UNIX

 
Jeffrey F. Goldsmith
Super Advisor

Printing on UNIX

My company just received some Dell DM5200 printers and I need to know how I should set them up on my L2000 server. The server has HP-UX 11.0 installed. In the past I have always used Jetadmin to connect the printers but over the past 2 years we have been replacing the HP printers with other printers. (Dell, xerox, samsung, lexmark and HP) I have been using Jetadmin to set these printers up on my UNIX server and since I am not able to select the correct printer I select a printer that looks like it might work.

Thanks for the help.
4 REPLIES 4
A. Clay Stephenson
Acclaimed Contributor

Re: Printing on UNIX

First of all, you need to replace your obsolete Jetadmin with the JetDirect software. It's free and there is a transferqueue command that will update your existing installation and keep your customizations. If this Dell Printer supports the JetDirect (port 9100) protocol then you might see if Dell has a model script for your printer --- but I doubt it. It would be state-of-the-art stupid for HP to provide a model script for one of their direct competitors so don't expect any help from that quarter. Generally, you have to use the Jetdirect hppi command to interactively add a printer and then choose the closest fit from the list of HP model scripts. It's a bit of trial and error but generally you can find one that works well enough. By far, the worst are the multi-function devices.

Plan B. Add the printer as a "Remote" printer although you have much less control over them that way.
If it ain't broke, I can fix that.
Jeffrey F. Goldsmith
Super Advisor

Re: Printing on UNIX

Clay,
Thanks for the insight as to the printer information. I am using Jetdirect on one of my servers but wasn├в t sure if I would be able to upgrade the Jetadmin on my production server. I will see if I can get a copy of Jetdirect and get it installed. Could you be a little more specific as to the transferqueue command?

For the past 3-4 years I have been adding non-hp printer to my HP-UX 11.0 server without very much trouble. The problem I am currently having is with my Dell printers. When a user prints a report that is over 70 pages the printer restarts printing the report when it page 71. This only happens on the Dell printers. The report prints fine if I print the report on one of my Lexmark printers.
A. Clay Stephenson
Acclaimed Contributor

Re: Printing on UNIX

First, swremove your existing JetAdmin software using swremove. This will not change any of your interface files although the commands JetAdmin uses (principally hpnpf) will no longer be on your system.

Next, get the new JetDirect software from here and swinstall it:
http://h20180.www2.hp.com/apps/Lookup?h_lang=en&h_cc=us&cc=us&h_page=hpcomтМй=en&h_client=S-A-R163-1&h_pagetype=s-002&h_query=JetDirect

Also a good URL is here for additional or newer versions of interface files for printers that are newer than the newest JetDirect software:

http://www.hp.com/pond/modelscripts/index2.html

After you have installed the newer JetDirect software, you execute "/opt/hpnpl/bin/transferqueue local"
and when prompted for the queue name to modify enter "all". This will modify your existing interface file so thatr hpnpf is now called from the correct directory.

----------------------------------------
Now for your specific problem (and remember you are using an "outlaw" printer under an HP model script but here's my cut at it:
vi /var/spool/lp/interface/model.orig/myprinter and look for TEOJ and set it to "off". This will turn off true end of job and should stop the host from trying to reprint.
If it ain't broke, I can fix that.
Khashru
Valued Contributor

Re: Printing on UNIX

Install the dell srinter software in your unix print server and use their tool to configure pronter. If you donot have the dtriver it should be available in internet.