Operating System - HP-UX
1752305 Members
5486 Online
108786 Solutions
New Discussion юеВ

Re: The network printer name changes.

 
Barakati
Frequent Advisor

The network printer name changes.

Hi,

I have configured a network printer on HP_UX11.31 using smh ->printers & plotters ->Actions -> Add net.pr -> add net.conntd to JetDirct.

I go through all steps.
when ask printer name or ip: printer_name
configured.

But when i see the list of printers the name of this printer is changed to printer_name_1

the last "_1" is appended to printer name.
I think this is the starting digit of ip.
Kindly suggest me what shall i do to remove it.

Thanks
5 REPLIES 5
OldSchool
Honored Contributor

Re: The network printer name changes.

the _1 has nothing to do w/ the ip address. the installer appends it automatically. you should be able to specify what you want if you don't want the default.
Bill Hassell
Honored Contributor

Re: The network printer name changes.

The "_1" was a bad idea when JetDirect code was written many years ago and it is a pain to remove it every time you add a printer. Don't bother with smh (or SAM) interface which simply calls hppi. Instead, use the command line:

addqueue -h 12.34.56.78 -q printerName -b off -t off -e off

This is much faster and you get to choose the printer name exactly. You can delete the bad printer name with this command:

deletqueue -q printerName_1


Bill Hassell, sysadmin
Barakati
Frequent Advisor

Re: The network printer name changes.

Hi,

I deleted the previous printer configured successfully. But when i try to configure it as you mention i see these errors.


# addqueue -h 192.168.2.21 -q IMIS_1_ARBIC -b off
192.168.2.21: Unknown printer
Error sending SNMP request.
192.168.2.21: Unknown printer
Error sending SNMP request.
192.168.2.21: Unknown printer
Error sending SNMP request.
Could not contact 192.168.2.21
# more /etc/hosts | grep IMIS
#192.168.2.21 IMIS_PRINTER IMIS_ARABIC_PRINTER
192.168.2.21 IMIS_1_ARABIC
# addqueue -h IMIS_1_ARABIC -q IMSI_1_ARABIC -b off
Printer not supported
#
#
# addqueue -q IMIS_1_ARABIC -h 192.168.2.21 -b off
Printer not supported
# addqueue -h 192.168.2.21 -q IMIS_1_ARABIC -b off -t off -e off
usages: addqueue [-c class] [-d] [-i printerID]
-q queuename -h hostname [-p port] [-s]
[-r on/off] [-t on/off] [-b on/off] [-L PS/PCL/HPGL/HPGL2/AUTO]
[-P 1/2/3] [-T 1/2/3] [-m banner papersize] [-D on/off]
addqueue -l
# addqueue -h 192.168.2.21 -q IMIS_1_ARABIC -b off -t off
Printer not supported
#


Kindly help me.
Barakati
Frequent Advisor

Re: The network printer name changes.

Hi,

Thanks i could change it through hppi itself.
Barakati
Frequent Advisor

Re: The network printer name changes.

Thanks