Operating System - HP-UX
1825766 Members
2613 Online
109687 Solutions
New Discussion

printing on Line Printer through HP-UX

 
Marwan Shantir
Occasional Contributor

printing on Line Printer through HP-UX

Dear All,
I'm trying to Line define a printer on the HP-UX Box, but unfortunatly didn't manage.
I managed to define the laser and Dot-Matrix printers without problems, but with the Line Printers its no way.
Can anyone tell me if there is any special way to print on Line Printers through the HP-UX Box?
Thanking yOu
Marwan Shantir
6 REPLIES 6
Ranjith_5
Honored Contributor

Re: printing on Line Printer through HP-UX

Hi Marwan,

If the printer is directly attached to the server Just add it with a single command

#lpadmin -p -v -mdumb

Note
:-
All the parameters should be given just after the flag.( No space required in between flag and parameter.

-p is the printer name ( give any friendly name )

-v is the device file for printer interface.

-m is the model. ( dumb is the model used for Line printers.

If you are connecting the Line printer to any print server viz;jet direct box, use SAM to configure this. This will be the easier method.same is applicable to a remote printer. For both of this SAM will be friendly.

regards,
Syam




TwoProc
Honored Contributor

Re: printing on Line Printer through HP-UX

I've had some limited success using the Generic Driver. If you're not doing anything special with the printer, it should be fine.
We are the people our parents warned us about --Jimmy Buffett
Bill Hassell
Honored Contributor

Re: printing on Line Printer through HP-UX

Very important: how is the printer connected to the computer? Is it a serial (RS-232) connection? Or a parallel (Centronics) connection? Or is the printer on another server and the connection is called (in SAM) a remote printer? Or is the printer connected to a non-HP LAN card or adapter? Or is the printer connected to an HP JetDirect External adapter?

Then, what language does the printer support? Is it PCL or Postscript or is an old IBM line printer that only knows EBCDIC?


Bill Hassell, sysadmin
Doug_85
Regular Advisor

Re: printing on Line Printer through HP-UX

Marwan,

I currently have 4 Tally 6218 Line printers that are configured on an L2000 HP-UX 11.0 connected through a print server using the generic driver. I created a custom 17X11 paper size for each. I've attached their current configuration for reference. When your users print it will flow through the hp box to your print server and to the printer.


Doug
Marwan Shantir
Occasional Contributor

Re: printing on Line Printer through HP-UX

Dear All,
I want to thank you all for your response, but when ever I try to add a remote printer to by assessing the option "Add Network-Based Printer/Ploter" it gives me the attached error.
Can anyone tell me if this is the right option for adding the Line Printer remotely?
and if yes what shall I do with the attached error?
Thanks again for this wonderful Forum.
Marwan Shantir
Bill Hassell
Honored Contributor

Re: printing on Line Printer through HP-UX

remote line printer and network printer are unfortunately misleading. When SAM says "remote printer" it means: a printer attached to another computer (ie, Linux, Windows, even another HP-UX system), *OR* it means a printer with a non-HP LAN card or LAN adapter. ALWAYS use remote printer for non-HP LAN cards in the printer.

Network printer means: an HP JetDirect lan card or adapter. If the printer is not an HP LaserJet or the LAN adapter for the printer is not an HP JetDirect external box, do not use the network printer choice.


Bill Hassell, sysadmin