1830938 Members
1841 Online
110017 Solutions
New Discussion

Re: Add local printer

 
nandam
Frequent Advisor

Add local printer

Hi,

Could you please tell me how to add local printer in 11!

Please givem steps

Thanks
nandam
11 REPLIES 11
Pete Randall
Outstanding Contributor

Re: Add local printer

Easiest way:

type in SAM
select Printers and Plotters
select LP Spooler
select Printers and Plotters
select Actions > Add Local Printer/Plotter
enter the details for your printer


Pete

Pete
nandam
Frequent Advisor

Re: Add local printer

Thanks for reply

Befour adding printer need to stop any spooler or is ther any condition becaus alredy 5 printer configured in that BOX.

Thanks
IT_2007
Honored Contributor

Re: Add local printer

yes. you do. But it won't delete any pending jobs.
A. Clay Stephenson
Acclaimed Contributor

Re: Add local printer

When you add or remove any printer then you must run lpshut to shutdown the spooler. Both SAM and hppi automatically stop and restart lpsched for you.
If it ain't broke, I can fix that.
Pete Randall
Outstanding Contributor

Re: Add local printer

If you use SAM, the spooler will be stopped automatically.


Pete

Pete
nandam
Frequent Advisor

Re: Add local printer

Thanks

but hppi is not working in my BOX could you please tell me how to add NEW PRINTER QUEUE in Command line please

I need only for commandline

Thanks
Pete Randall
Outstanding Contributor

Re: Add local printer

Command line version:

/usr/sbin/lpshut #stop the spooler
/usr/sbin/lpadmin -p PRINTER [options] #add the printer using the appropriate options
/usr/lib/accept PRINTER #begin accepting requests
/usr/bin/enable PRINTER $enable the printer
/usr/lib/lpsched #restart the spooler


Pete

Pete
nandam
Frequent Advisor

Re: Add local printer

thanks

I got message

Please set up this new local printer in Oracle 11i & server xxxxxx.

Printer type : HP Laser Jet 4350 PS

IP address : 121.111.142.241

Printer name in Oracle : Ray014

This is the message i got please give me Commandline answer please

Thanks
Pete Randall
Outstanding Contributor

Re: Add local printer

Oops - that should have been "#enable" not "$enable".

There's a good example in the lpadmin man page:

"Assuming an existing Hewlett-Packard HP2934A line printer named lp1, it will use the hp2934a model interface through /dev/lp after the command:

/usr/sbin/lpadmin -plp1 -mhp2934a -v/dev/lp"


Pete

Pete
IT_2007
Honored Contributor

Re: Add local printer

Nandam,

You assigned points only 3 out of 122? Please assign points.


http://forums1.itrc.hp.com/service/forums/publicProfile.do?userId=CA1400095&forumId=1
Bill Hassell
Honored Contributor

Re: Add local printer

Your question was confusing because the printer is not local (meaning that it has an RS-232 serial cable or Centronics parallel cable plugged into your computer). Since you said it was an HP 4350 printer and has an IP address, the printer is called a "network" printer and uses an HP JetDirect LAN card. Start by checking if this printer is reachable:

# /opt/hpnpl/bin/hpnpadmin -v 121.111.142.241

If the first few lines indicate that this is a network printer, you can proceed. If not, the printer is not reachable. Your network administrator will have to troubleshoot the problem. HP JetDirect protocol uses port 9100.

If hpnpadmin works OK, then you can add the printer with this one command:

# /opt/hpnpl/bin/addqueue -h 121.111.142.241 -q Ray014

Then test the printer with the lp comand:

# lp -dRay014 /etc/profile


Bill Hassell, sysadmin