<?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: Adding printer remotely in 10.20 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-printer-remotely-in-10-20/m-p/2564754#M29752</link>
    <description>Hi, if you do login to remote workststaion as root and executes that command??&lt;BR /&gt;What happens? Does it works?&lt;BR /&gt;</description>
    <pubDate>Mon, 13 Aug 2001 14:39:50 GMT</pubDate>
    <dc:creator>David Navarro</dc:creator>
    <dc:date>2001-08-13T14:39:50Z</dc:date>
    <item>
      <title>Adding printer remotely in 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-printer-remotely-in-10-20/m-p/2564753#M29751</link>
      <description>I want to add printers to workstations via a script from my server.  I've experimented with this already using lpadmin and by attempting to copy a print file to the remote host.  &lt;BR /&gt;&lt;BR /&gt;With lpadmin I get an error that the device file can't be created, if the system already has a printer in place then this error does not occur.  &lt;BR /&gt;&lt;BR /&gt;The commands I'm using are remsh, rcp, and as mentioned before, lpadmin.&lt;BR /&gt;&lt;BR /&gt;Here is my command structure.&lt;BR /&gt;&lt;BR /&gt;remsh hostname "/usr/sbin/lpadmin -p printer name -v/dev/c2t0d0 -mdumb"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any suggestions?   Am I attempting the impossible?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Aug 2001 14:32:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-printer-remotely-in-10-20/m-p/2564753#M29751</guid>
      <dc:creator>Jonathan Wegner</dc:creator>
      <dc:date>2001-08-13T14:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Adding printer remotely in 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-printer-remotely-in-10-20/m-p/2564754#M29752</link>
      <description>Hi, if you do login to remote workststaion as root and executes that command??&lt;BR /&gt;What happens? Does it works?&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Aug 2001 14:39:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-printer-remotely-in-10-20/m-p/2564754#M29752</guid>
      <dc:creator>David Navarro</dc:creator>
      <dc:date>2001-08-13T14:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Adding printer remotely in 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-printer-remotely-in-10-20/m-p/2564755#M29753</link>
      <description>If I do an rlogin as root and try to execute the lpadmin command I get a "can't access file "c2t0d0_lp"" error.  &lt;BR /&gt;&lt;BR /&gt;If I login into the workstation directly and execute the command from a the root prompt I don't get the error.&lt;BR /&gt;&lt;BR /&gt;The full command is:&lt;BR /&gt;lpadmin -pmdslp -v/dev/c2t0d0_lp -mdumb</description>
      <pubDate>Mon, 13 Aug 2001 14:53:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-printer-remotely-in-10-20/m-p/2564755#M29753</guid>
      <dc:creator>Jonathan Wegner</dc:creator>
      <dc:date>2001-08-13T14:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Adding printer remotely in 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-printer-remotely-in-10-20/m-p/2564756#M29754</link>
      <description>Hi Jonathan,&lt;BR /&gt;&lt;BR /&gt;To add a remote printer you can use a command called addque (/opt/hpnp/bin/addqueue)&lt;BR /&gt;&lt;BR /&gt;do a manpage for addqueue. you can script it very easily.&lt;BR /&gt;&lt;BR /&gt;For example if you have a HP laserjet(5m)&lt;BR /&gt;the model number is 15 (addqueue -l to different model numbers), the ip address of the printer is xxx.xxx.xxx.xxx and the queuename you want to use is queue1, you would do something like&lt;BR /&gt;&lt;BR /&gt;addqueue -i 15 -h xxx.xxx.xxx.xxx -q queue1&lt;BR /&gt;&lt;BR /&gt;-HTH&lt;BR /&gt;I am RU</description>
      <pubDate>Mon, 13 Aug 2001 15:04:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-printer-remotely-in-10-20/m-p/2564756#M29754</guid>
      <dc:creator>linuxfan</dc:creator>
      <dc:date>2001-08-13T15:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Adding printer remotely in 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-printer-remotely-in-10-20/m-p/2564757#M29755</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;In theeach user's $home/directory has to create the file ". rhosts." In the same one you have to place the names of your remote servers, and this way you rot to carry out "rcp", "remsh", and "lp" or "lpadmin."  &lt;BR /&gt;  &lt;BR /&gt;Example.  &lt;BR /&gt;"server number 2"  &lt;BR /&gt;cd / home/jhon  &lt;BR /&gt;vi .rhosts  &lt;BR /&gt;hosts1  &lt;BR /&gt;* * * * * * * * * * * * * * * * * * * * * * * * * * * +  &lt;BR /&gt;"servant numbers 1"    &lt;BR /&gt;cd / home/jhon    &lt;BR /&gt;vi .rhosts    &lt;BR /&gt;hosts2</description>
      <pubDate>Mon, 13 Aug 2001 19:00:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-printer-remotely-in-10-20/m-p/2564757#M29755</guid>
      <dc:creator>Orlando De Oliveira R</dc:creator>
      <dc:date>2001-08-13T19:00:24Z</dc:date>
    </item>
  </channel>
</rss>

