<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Changing Network Printer on Unix in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-printer-on-unix/m-p/2500939#M883145</link>
    <description>Hi Brett,&lt;BR /&gt;&lt;BR /&gt;I agree Andreas...you talk about an ip-number, so I believe the printer has an NIC. My advice is to install jetadmin. Is it not possible to speak wtih your unix-person, maybe he can explain what he did. If there is no NIC and the printer is parallel on your hp-ux system,&lt;BR /&gt;you can use sam for installing printers.&lt;BR /&gt;Marcel</description>
    <pubDate>Mon, 05 Mar 2001 16:01:12 GMT</pubDate>
    <dc:creator>Marcel Boon</dc:creator>
    <dc:date>2001-03-05T16:01:12Z</dc:date>
    <item>
      <title>Changing Network Printer on Unix</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-printer-on-unix/m-p/2500932#M883138</link>
      <description>I need to change our network printer on our&lt;BR /&gt;unix server and I was told the lpadmin&lt;BR /&gt;was what I needed to use.  I have the IP address for the laserjet 8150 I want to&lt;BR /&gt;add.&lt;BR /&gt;&lt;BR /&gt;However, I can't seem to figure out how to use&lt;BR /&gt;the lpadmin command.  The current network &lt;BR /&gt;printer on the unix server is also not using&lt;BR /&gt;the spooler process.&lt;BR /&gt;&lt;BR /&gt;Any help??? Please note I am not a unix&lt;BR /&gt;expert I am taking over an existing account.&lt;BR /&gt;&lt;BR /&gt;Thank You,&lt;BR /&gt;Laurie Brown&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Mar 2001 13:33:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-printer-on-unix/m-p/2500932#M883138</guid>
      <dc:creator>Brett A. Weber</dc:creator>
      <dc:date>2001-03-05T13:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Network Printer on Unix</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-printer-on-unix/m-p/2500933#M883139</link>
      <description>Hi Brett,&lt;BR /&gt;&lt;BR /&gt;What do you want to change ?&lt;BR /&gt;&lt;BR /&gt;Marcel&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Mar 2001 13:45:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-printer-on-unix/m-p/2500933#M883139</guid>
      <dc:creator>Marcel Boon</dc:creator>
      <dc:date>2001-03-05T13:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Network Printer on Unix</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-printer-on-unix/m-p/2500934#M883140</link>
      <description>I want to change the printer.  I have the&lt;BR /&gt;new IP address.  It's a different network&lt;BR /&gt;printer I want to setup, a laserjet 8150.&lt;BR /&gt;&lt;BR /&gt;I can't find the file where the current&lt;BR /&gt;network printer is setup.&lt;BR /&gt;&lt;BR /&gt;Laurie Brown</description>
      <pubDate>Mon, 05 Mar 2001 14:15:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-printer-on-unix/m-p/2500934#M883140</guid>
      <dc:creator>Brett A. Weber</dc:creator>
      <dc:date>2001-03-05T14:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Network Printer on Unix</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-printer-on-unix/m-p/2500935#M883141</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you want to change the IP-adress, you can't&lt;BR /&gt;do it whith the lpadmin command.&lt;BR /&gt;You can use an another application, jetadmin.&lt;BR /&gt;Maybe it is already installed on your system.&lt;BR /&gt;try: jetadmin.&lt;BR /&gt;&lt;BR /&gt;Marcel&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Mar 2001 14:22:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-printer-on-unix/m-p/2500935#M883141</guid>
      <dc:creator>Marcel Boon</dc:creator>
      <dc:date>2001-03-05T14:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Network Printer on Unix</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-printer-on-unix/m-p/2500936#M883142</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;if the printer was configured with jetadmin you could change IP address in the file:&lt;BR /&gt;/etc/lp/interface/&lt;PRINTER&gt;&lt;BR /&gt;Look there for the line&lt;BR /&gt;&lt;BR /&gt;PERIPH=&lt;BR /&gt;&lt;BR /&gt;and add/replace your address ie:&lt;BR /&gt;PERIPH=192.1.1.1&lt;BR /&gt;&lt;BR /&gt;If the printer is not setup with jetadmin you have to delete and recreate the printer.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;/PRINTER&gt;</description>
      <pubDate>Mon, 05 Mar 2001 14:33:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-printer-on-unix/m-p/2500936#M883142</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2001-03-05T14:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Network Printer on Unix</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-printer-on-unix/m-p/2500937#M883143</link>
      <description>The /etc/lp/interface and /etc/lp/sinterface&lt;BR /&gt;files are empty.  The old network printer was&lt;BR /&gt;created with lpadmin, I just have never setup&lt;BR /&gt;a network printer on a unix box before.&lt;BR /&gt;&lt;BR /&gt;The former unix person said he used lpadmin&lt;BR /&gt;and I am trying to setup a new network printer.&lt;BR /&gt;I have the ip address but I can't seem to use&lt;BR /&gt;the command correctly.&lt;BR /&gt;&lt;BR /&gt;Laurie Brown&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Mar 2001 15:43:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-printer-on-unix/m-p/2500937#M883143</guid>
      <dc:creator>Brett A. Weber</dc:creator>
      <dc:date>2001-03-05T15:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Network Printer on Unix</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-printer-on-unix/m-p/2500938#M883144</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;if your laserjet has an internal Networkcard (Jetdirect) or is connected via external JetDirect-Box i would recommend installing jetadmin for HP-UX.&lt;BR /&gt;&lt;BR /&gt;Generally the use of SAM would be much easier to configure a printer.&lt;BR /&gt;This will work for standard remote and jetadmin printers.&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Mon, 05 Mar 2001 15:50:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-printer-on-unix/m-p/2500938#M883144</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2001-03-05T15:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Network Printer on Unix</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-printer-on-unix/m-p/2500939#M883145</link>
      <description>Hi Brett,&lt;BR /&gt;&lt;BR /&gt;I agree Andreas...you talk about an ip-number, so I believe the printer has an NIC. My advice is to install jetadmin. Is it not possible to speak wtih your unix-person, maybe he can explain what he did. If there is no NIC and the printer is parallel on your hp-ux system,&lt;BR /&gt;you can use sam for installing printers.&lt;BR /&gt;Marcel</description>
      <pubDate>Mon, 05 Mar 2001 16:01:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-printer-on-unix/m-p/2500939#M883145</guid>
      <dc:creator>Marcel Boon</dc:creator>
      <dc:date>2001-03-05T16:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Network Printer on Unix</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-printer-on-unix/m-p/2500940#M883146</link>
      <description>Hi, you can do this :&lt;BR /&gt;&lt;BR /&gt;##############################################&lt;BR /&gt;/usr/sbin/lpshut &lt;BR /&gt;sleep 2&lt;BR /&gt;/usr/sbin/lpadmin -xprinter_name &lt;BR /&gt;/usr/sbin/lpadmin -pprinter_name -v/dev/null       -ormprinter_name -orptext -ocmrcmodel        -o osmrsmmodel&lt;BR /&gt;sleep 2&lt;BR /&gt;/usr/sbin/lpsched&lt;BR /&gt;sleep 2&lt;BR /&gt;accept printer_name&lt;BR /&gt;sleep 2&lt;BR /&gt;enable printer_name&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/lpadmin -dprinter_name &lt;BR /&gt;&lt;BR /&gt;############################################&lt;BR /&gt;&lt;BR /&gt;Note , the printer_name is the printer name you used in your network , and it can be resolved to IP address ( so you should include it in you /etc/hosts file or in the nis Host map ) &lt;BR /&gt;&lt;BR /&gt;Hope this helps.( and it works in our env , HP8100 printer , whith unix workstations )</description>
      <pubDate>Tue, 06 Mar 2001 05:45:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-printer-on-unix/m-p/2500940#M883146</guid>
      <dc:creator>Li XiaoMing</dc:creator>
      <dc:date>2001-03-06T05:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Network Printer on Unix</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-printer-on-unix/m-p/2500941#M883147</link>
      <description>Printers that have a LAN card (or special print servers) have one common protocol commonly called rlp or lpr but refer to the remote printing protocol defined in RFC 1179. HP created the JetDirect product line 10 years ago and defined a new port (not 515 from RFC 1179) called 9100 to bypass the severe limitations of lpr printing (primarily, no status checking).&lt;BR /&gt;&lt;BR /&gt;Using JetDirect software, the printer can easily be defined in one step once the printer has an IP address, subnet mask and gateway. The command is addqueue. The advantage to using JetDirect software is that all the options listed in man net_lj5x will function.&lt;BR /&gt;&lt;BR /&gt;However, as many sysadmins for HP-UX have discovered, non-HP-UX systems such as NT or other Unix boxes cannot handle any -o options and every job from HP-UX must be preformatted (especially ASCII files) before sending the job to a remote print server (which is what port 515 on the JetDirect card is using with lpr).&lt;BR /&gt;&lt;BR /&gt;So you have two choices: &lt;BR /&gt;&lt;BR /&gt;1. Use JetDirect software (always download the latest copy from &lt;A href="http://www.hp.com)" target="_blank"&gt;www.hp.com)&lt;/A&gt; and have controls such as duplex, paper trays, fonts, image rotation, etc), or&lt;BR /&gt;&lt;BR /&gt;2. Use the previous post about setting up a remote print server using lpadmin and then write wrappers to handle the stairstep effects seen when printing HP-UX ASCII files.</description>
      <pubDate>Tue, 06 Mar 2001 12:55:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-printer-on-unix/m-p/2500941#M883147</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-03-06T12:55:18Z</dc:date>
    </item>
  </channel>
</rss>

