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

Define remote printer on Print Server

 
SOLVED
Go to solution
Nabil_11
Frequent Advisor

Define remote printer on Print Server

Hi all,

I have print server with IP=100.110.10.44
there is three ports for this print server
My tally printer connected to port 2 (3002)

how to define it on HPUX ???


Please advice

Regards

Nabil


6 REPLIES 6
Hemmetter
Esteemed Contributor
Solution

Re: Define remote printer on Print Server

Hello Nabil,

setup your printer with "jetadmin".

Then edit /etc/lp/interface/"new-printer"
by changing the line
xPORT=
to
xPORT="-p 3002"

rgds
HGH
Bill Hassell
Honored Contributor

Re: Define remote printer on Print Server

Let's start with some details. The terminaology "Remote printers" in HP-UX refers to printers that are managed by a remote computer such as a Windows or Linux or other server, or for non-HP LAN cards, they usually have a remote printer capability.

Now it sounds like your Tally printer is connected to an HP JetDirect EX-3 box. So for your HP-UX system, you need to run the addqueue command. Since you did not state your OS version, the addqueue command may be in /opt/hpnp/bin or /opt/hpnpl/bin. You'll need 4 parameters for queue name, IP_address, port number and the printer ID. Use addqueue -l to list all the known printers. Pick the generic printer for your Tally. man addqueue will give you the details.


Bill Hassell, sysadmin
HGN
Honored Contributor

Re: Define remote printer on Print Server

Hi

I accept with Bill, if you are configuring a printer conneted directly on the network then you could use jetadmin, if they are connected to remote servers then this can be configured thro sam.

Rgds

HGN
Sanjay_6
Honored Contributor
Raj D.
Honored Contributor

Re: Define remote printer on Print Server

Hi Nabil ,

You can add this printer with lpadmin or addqueue command.

If you are using lpadmin then it will be looks like that:

------------
lpshut
lpadmin -pTALLY -v/dev/null -mrmodel -ocmrcmodel -osmrsmodel -ormTALLY-jet-laser -orpTALLY
echo " Printer TALLY Created. * * "
accept TALLY
enable TALLY
/usr/sbin/lpsched
---------------

vi /etc/hosts
# Add the IP of the printer.
100.110.10.44 TALLY-jet-laser

----------------------------------
you can check by sending one test print.
# lp -d TALLY /etc/hosts


Hth,
Raj
----

" If u think u can , If u think u cannot , - You are always Right . "
Nabil_11
Frequent Advisor

Re: Define remote printer on Print Server

many 10x for all

Nabil