<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/printer/m-p/3047693#M135802</link>
    <description>Anytime a printer is added to the lp spooler, SAM stops and restarts the scheduler. This causes all currently printing jobs scheduled by your host to restart at page 1. &lt;BR /&gt;&lt;BR /&gt;My question is what's the page 1?&lt;BR /&gt;If scheduler was stoped, what happend the currently printing jobs? the jobs would cancel or pending after scheduler start?</description>
    <pubDate>Wed, 13 Aug 2003 04:44:55 GMT</pubDate>
    <dc:creator>j773303</dc:creator>
    <dc:date>2003-08-13T04:44:55Z</dc:date>
    <item>
      <title>Printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer/m-p/3047693#M135802</link>
      <description>Anytime a printer is added to the lp spooler, SAM stops and restarts the scheduler. This causes all currently printing jobs scheduled by your host to restart at page 1. &lt;BR /&gt;&lt;BR /&gt;My question is what's the page 1?&lt;BR /&gt;If scheduler was stoped, what happend the currently printing jobs? the jobs would cancel or pending after scheduler start?</description>
      <pubDate>Wed, 13 Aug 2003 04:44:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer/m-p/3047693#M135802</guid>
      <dc:creator>j773303</dc:creator>
      <dc:date>2003-08-13T04:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer/m-p/3047694#M135803</link>
      <description>Hi there.&lt;BR /&gt;Standard setup is to restart the prints from beginning.&lt;BR /&gt;For network printers somewhere you may find parameters like EOJ ( end of job ) or something like this. Changing these parameters &lt;BR /&gt;can change the behaviour of your printer restarting jobs stopped by a stopped spool.&lt;BR /&gt;Rgds&lt;BR /&gt;Alexander M. Ermes</description>
      <pubDate>Wed, 13 Aug 2003 05:02:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer/m-p/3047694#M135803</guid>
      <dc:creator>Alexander M. Ermes</dc:creator>
      <dc:date>2003-08-13T05:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer/m-p/3047695#M135804</link>
      <description>Using SAM to add/remove printers/queues requires the lp scheduler to be stopped and restarted.  You normally get a warning indicating that jobs are currently printing and it would sensible to wait until the scheduler is quiet. &lt;BR /&gt;&lt;BR /&gt;message is something like :-&lt;BR /&gt;__________&lt;BR /&gt;Adding a printer requires the print spooler to be temporarily stopped, but there is a request that is currently either being printed on a local printer or being sent to a remote printer.&lt;BR /&gt;Stopping the spooler will cause the request to be reprinted or resent once the spooler is restarted.   &lt;BR /&gt;__________&lt;BR /&gt;&lt;BR /&gt;Therefore any lp jobs in the spooler that have not been released to the printer/print server would be reprinted or resent in their entirity (first page to last page).  No jobs would be cancelled !&lt;BR /&gt;           &lt;BR /&gt;If you do not want to see this message and want to close the scheduler to do the work you could always issues the commands from the command line  (ie lpshut, lpsched).&lt;BR /&gt;          &lt;BR /&gt;Keith&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Aug 2003 10:23:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer/m-p/3047695#M135804</guid>
      <dc:creator>Keith Bevan_1</dc:creator>
      <dc:date>2003-08-13T10:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer/m-p/3047696#M135805</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;You need to disable yoour printers before adding one.&lt;BR /&gt;&lt;BR /&gt;Then jobs can be put in the queue but will not print and when the currently printing jobs have stopped you can add the printer.&lt;BR /&gt;&lt;BR /&gt;After the sam enable again.Printing starts again.&lt;BR /&gt;&lt;BR /&gt;Easy way&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, 13 Aug 2003 11:15:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer/m-p/3047696#M135805</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2003-08-13T11:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer/m-p/3047697#M135806</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Maybe you might want to consider altering some of the parameters such as Job Recovery and/or TEOJ (True End Of Job).  I can't access any system to verify if I have the right parameters.&lt;BR /&gt;&lt;BR /&gt;Imagine a large print job starting from page 1 again.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Tim.</description>
      <pubDate>Wed, 13 Aug 2003 11:29:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer/m-p/3047697#M135806</guid>
      <dc:creator>Tim Adamson_1</dc:creator>
      <dc:date>2003-08-13T11:29:10Z</dc:date>
    </item>
  </channel>
</rss>

