<?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 Printer Disabled in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-disabled/m-p/3140786#M155239</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;How can I modify the lp script for enable it every time.&lt;BR /&gt;&lt;BR /&gt;Every now it change status for disable, and when enable return to normal.&lt;BR /&gt;&lt;BR /&gt;Can modified this script?&lt;BR /&gt;&lt;BR /&gt;if [ ! -x /usr/sbin/rlp ]&lt;BR /&gt;then&lt;BR /&gt;        disable -r"can't execute /usr/sbin/rlp filter" $printer&lt;BR /&gt;        exit 1&lt;BR /&gt;fi&lt;BR /&gt;</description>
    <pubDate>Wed, 10 Dec 2003 06:35:24 GMT</pubDate>
    <dc:creator>Elizangela_1</dc:creator>
    <dc:date>2003-12-10T06:35:24Z</dc:date>
    <item>
      <title>Printer Disabled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-disabled/m-p/3140786#M155239</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;How can I modify the lp script for enable it every time.&lt;BR /&gt;&lt;BR /&gt;Every now it change status for disable, and when enable return to normal.&lt;BR /&gt;&lt;BR /&gt;Can modified this script?&lt;BR /&gt;&lt;BR /&gt;if [ ! -x /usr/sbin/rlp ]&lt;BR /&gt;then&lt;BR /&gt;        disable -r"can't execute /usr/sbin/rlp filter" $printer&lt;BR /&gt;        exit 1&lt;BR /&gt;fi&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Dec 2003 06:35:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-disabled/m-p/3140786#M155239</guid>
      <dc:creator>Elizangela_1</dc:creator>
      <dc:date>2003-12-10T06:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Printer Disabled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-disabled/m-p/3140787#M155240</link>
      <description>Elizangela,&lt;BR /&gt;&lt;BR /&gt;Please see the attached forum posting :-&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=299627" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=299627&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This posting has a number of useful suggestions, including one I posted myself.&lt;BR /&gt;&lt;BR /&gt;Keith</description>
      <pubDate>Wed, 10 Dec 2003 08:17:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-disabled/m-p/3140787#M155240</guid>
      <dc:creator>Keith Bevan_1</dc:creator>
      <dc:date>2003-12-10T08:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: Printer Disabled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-disabled/m-p/3140788#M155241</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;It disables for a reason.Try to solve that .&lt;BR /&gt;&lt;BR /&gt;Otherwise make a cron script which runs every few minutes or seconds and&lt;BR /&gt;enables disabled printers.&lt;BR /&gt;&lt;BR /&gt;Here is a script to enable all printers&lt;BR /&gt;&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;#&lt;BR /&gt;#Printer parameter&lt;BR /&gt;#&lt;BR /&gt;# parameter is enable disable accept or reject to do all printers&lt;BR /&gt;#&lt;BR /&gt;option=$1&lt;BR /&gt;xx=`lpstat -p|grep printer|cut -f2 -d" "`&lt;BR /&gt;  for printer in $xx&lt;BR /&gt;  do&lt;BR /&gt;    case $option in&lt;BR /&gt;      accept) accept $printer ;;&lt;BR /&gt;      reject) reject $printer ;;&lt;BR /&gt;      enable) enable $printer ;;&lt;BR /&gt;      disable) disable $printer ;;&lt;BR /&gt;      *)echo invalid parameter ;;&lt;BR /&gt;    esac&lt;BR /&gt;  done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                Steve Steel</description>
      <pubDate>Wed, 10 Dec 2003 10:30:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-disabled/m-p/3140788#M155241</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2003-12-10T10:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Printer Disabled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-disabled/m-p/3140789#M155242</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This script enable printers of a printer server too?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[HPUX-K460]telnet 192.1.2.11 (printer ip)&lt;BR /&gt;Trying...&lt;BR /&gt;Connected to 192.1.2.11.&lt;BR /&gt;Escape character is '^]'.&lt;BR /&gt; &lt;BR /&gt;Local flow control off&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;*****************************&lt;BR /&gt;*  Welcome to Print Server  *&lt;BR /&gt;*     Telnet Console        *&lt;BR /&gt;*****************************&lt;BR /&gt; &lt;BR /&gt;Server Name    :  PS-01186C&lt;BR /&gt;Server Model   :  Pocket Size Print Server&lt;BR /&gt;F/W Version    :  2.00&lt;BR /&gt;MAC Address    :  00 03 1B 01 18 6C&lt;BR /&gt;Uptime         :  0 days, 21:26:23&lt;BR /&gt; &lt;BR /&gt;Please Enter Password:&lt;BR /&gt; &lt;BR /&gt;[Main Menu]&lt;BR /&gt;1 - Server Configuration&lt;BR /&gt;2 - Port Configuration&lt;BR /&gt;3 - TCP/IP Configuration&lt;BR /&gt;4 - AppleTalk Configuration&lt;BR /&gt;5 - Display Information&lt;BR /&gt;6 - Tools&lt;BR /&gt;7 - Save Configuration&lt;BR /&gt;0 - Quit&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Wed, 10 Dec 2003 10:44:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-disabled/m-p/3140789#M155242</guid>
      <dc:creator>Elizangela_1</dc:creator>
      <dc:date>2003-12-10T10:44:31Z</dc:date>
    </item>
  </channel>
</rss>

