Operating System - HP-UX
1834518 Members
2064 Online
110068 Solutions
New Discussion

Re: Printer configure on HPUX 11.11

 
suharsono
New Member

Printer configure on HPUX 11.11

How to add a printer Laserjet4 into HPUX 11.11??
We had installed HP B2000 with HPUX 11.11 (operating system only), then we tried using SAM to configure for add a printer but the problem is printer can be registered but printer can not be set as default destination.
Is there needs an printer driver to be installed or just unproper procedure,
Please advise us once you have experience on it.

Thank you,
Suharsono,
13 REPLIES 13
Yogeeraj_1
Honored Contributor

Re: Printer configure on HPUX 11.11

hi Suharsono,

please clarify. Are you trying to configure a a local printer or a network printer?

revert

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
AL_3001
Regular Advisor

Re: Printer configure on HPUX 11.11

To make the printer as a default printer, command is :

lpadmin -d

Regards,
Ashish
suharsono
New Member

Re: Printer configure on HPUX 11.11

Hi all,

Thank you for your support, unfortunately still have a problem:
1. Once we add the local parallel printer (using SAM) then error appear " LP destination "printer name" does not exist on Hostname.
2. Above error can be forced and printer assignment has done with error.
3. Using unix command we can enable and set as default printer.
4. once trial to printing the error is appear " Error output (stderr)from command "/usr/bin/lp -dprintername /var/sam/sam WAAa 01627" and /usr/bin/lp:can't accept request for destination "printername" -new destination.

Please help us any one has experience this this trouble.

Thank you,
Suharsono
Peter Nikitka
Honored Contributor

Re: Printer configure on HPUX 11.11

Hi,

use
accept

to get print requests into the queue.
However, the message
>
"printer name" does not exist on Hostname
<
does not fit to a local parallel printer.
Best remove and re-add that printer and make shure you use the correct parallel device name.

Look at that output:
root@hpats5[211] ioscan -fnCext_bus
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
...
ext_bus 3 8/16/0 CentIf CLAIMED INTERFACE Built-in Parallel Interface
/dev/c3t0d0_lp
...

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
suharsono
New Member

Re: Printer configure on HPUX 11.11

Hi mfG Peter,

We had tried your sugesstion but when we remove printer assignment agin appear LP destionation "" does not exist on hostname.
check H/W using ioscan looks OK
Centlf CLAIMED INTERFACE Built-in Parallel..soon..
How to use the unix command to remove printer file.

Suharsono
AL_3001
Regular Advisor

Re: Printer configure on HPUX 11.11

Try adding the printer through command line. GIve us the printer name and ipaddress and also whether it is a local ir n/w printer...


Cheers,
Ashish
suharsono
New Member

Re: Printer configure on HPUX 11.11

Hi Ashish

It's parallel printer and printer name LaserJet4, please how to reconfigure using unix command.

thanks,
Suharsono,
AL_3001
Regular Advisor

Re: Printer configure on HPUX 11.11

Suharsono,

I assume the printer model is Laserjet4 and not the printer name. If i am wrong correct me...

For the time being, try the following:

If printer model is laserjet4:

addqueue -h -q
-i 3

else,

addqueue -h -q
-i 9998


Cheers,
Ashish
Peter Nikitka
Honored Contributor

Re: Printer configure on HPUX 11.11

Hi,

since you tell us about a parallel printer, 'addque' ist the wrong command: this belongs to JetPrint and is for the configuration of network attached printers.
I recommend to use SAM in your case.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
OldSchool
Honored Contributor

Re: Printer configure on HPUX 11.11

Bill Hassell
Honored Contributor

Re: Printer configure on HPUX 11.11

This is a parallel cable printer so all the comments about networking do not apply. You add the printer as a local parallel printer:

LP Spooler ->
Printers and Plotters ->
Add Local Printer/Plotter ->
Add Parallel Printer/Plotter...

then select the parallel port.

You will be asked for the printer's queue name and the model script to be used, in your case the script's name will be: laserjet4. To see the list of hardwired printer scripts, tab down to the line:

[ Printer Model/Interface... ]

If you tab to this title box (not the blank next to this text) and press return, you'll see a list of all the direct-connect scripts.

This box also has the option to select it as the default printer. Now it should print OK. Note that parallel printing in HP-UX has been iffy for a long time due to I/O card design limitations. If this does not work, you will have to get a network adapter (the JetDirect External Print Server) for parallel printers. Then you can use hppi or addqueue and even share the printer on your network.

To answer your specific questions:

> 1. Once we add the local parallel printer (using SAM) then error appear " LP destination "printer name" does not exist on Hostname.

Did you use a verylongname for your printer queue? Use something simple, less that 10 characters in length.

> 2. Above error can be forced and printer assignment has done with error.

You don't want any errors...

> 3. Using unix command we can enable and set as default printer.

But since it doesn't work, making it the default destination is meaningless.

> 4. once trial to printing the error is appear " Error output (stderr)from command "/usr/bin/lp -dprintername /var/sam/sam WAAa 01627" and /usr/bin/lp:can't accept request for destination "printername" -new destination.

The error: "lp:can't accept request" implies that the printer exists but has not been enabled. The commands would be:

accept printername
enable printername

You need both to get the printer enabled. But don't bother with the printer you setup. Remove it and follow the steps above using SAM. SAM will automatically accept and enable the printer. When there are errors with SAM< use the SAM log viewer in SAM or the separate command: samlog_viewer to see the errors.


Bill Hassell, sysadmin
suharsono
New Member

Re: Printer configure on HPUX 11.11

Hi..all,

Thank you for your help, after intall patch bumdle (HWEnable11i) finally completed the assign printer using SAM and everything was goes smoothly then this case is closed.

Cheers.
Suharsono,
Peter Nikitka
Honored Contributor

Re: Printer configure on HPUX 11.11

Hi,

then it's time to submit points:
http://forums.itrc.hp.com/service/forums/helptips.do?#33

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"