<?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: Printing problems in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-problems/m-p/2753127#M835083</link>
    <description>&lt;BR /&gt;HI,&lt;BR /&gt;&lt;BR /&gt;Or you could  modify  the following lines&lt;BR /&gt;in the dumb-script:while [ $i -le $copies ]&lt;BR /&gt;do&lt;BR /&gt;        for file in $files&lt;BR /&gt;        do&lt;BR /&gt;                cat "$file" 2&amp;gt;&amp;amp;1&lt;BR /&gt;                echo "\014\c"&lt;BR /&gt;        done&lt;BR /&gt;        i=`expr $i + 1`&lt;BR /&gt;done  &lt;BR /&gt;&lt;BR /&gt;to be:&lt;BR /&gt;&lt;BR /&gt;while [ $i -le $copies ]&lt;BR /&gt;do&lt;BR /&gt;        for file in $files&lt;BR /&gt;        do&lt;BR /&gt;                cat "$file" | ux2dos  2&amp;gt;&amp;amp;1&lt;BR /&gt;                echo "\014\c"&lt;BR /&gt;        done&lt;BR /&gt;        i=`expr $i + 1`&lt;BR /&gt;done  &lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Olav&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 27 Jun 2002 08:35:42 GMT</pubDate>
    <dc:creator>Olav Baadsvik</dc:creator>
    <dc:date>2002-06-27T08:35:42Z</dc:date>
    <item>
      <title>Printing problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-problems/m-p/2753122#M835078</link>
      <description>We have just installed a new N-class server with HP/UX 11i installed. We have 10 serial dot matrix printers connected via a pci mux PN16 to the server. The printers have been setup with the dumb model script. The printers range from Newbury Data printers to Printronix printers. All of the printers print outs have like a stepping effect, there appears to be a LF but no CR. The server is an upgrade from a D-class and HP/UX 10.20 and all of the printers have been moved over from there. We are using the same model scripts and have even tried the scripts that the printers were using, on the D-class, on the N-class as well but with no difference. If we set the printers up using ESCP instead, the format of the print out is correct but the printers complain about the data being sent down to them. We are using the standard stty settings which are contained within the dumb model script.&lt;BR /&gt;Can anyone help me as I have so far spent many hours on this and I am getting nowhere very fast.&lt;BR /&gt;&lt;BR /&gt;Many thanks, Graeme.</description>
      <pubDate>Thu, 27 Jun 2002 08:02:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-problems/m-p/2753122#M835078</guid>
      <dc:creator>ITeam</dc:creator>
      <dc:date>2002-06-27T08:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Printing problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-problems/m-p/2753123#M835079</link>
      <description>In the interface script try uncomment the stty line and add "inlcr" to it (add CR to LF).&lt;BR /&gt;&lt;BR /&gt;stty raw 9600 -parenb cs8 ixon -istrip clocal inlcr &amp;lt;&amp;amp;1 2&amp;gt;/dev/null #uncomment</description>
      <pubDate>Thu, 27 Jun 2002 08:19:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-problems/m-p/2753123#M835079</guid>
      <dc:creator>Leif Halvarsson_2</dc:creator>
      <dc:date>2002-06-27T08:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Printing problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-problems/m-p/2753124#M835080</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Your problem is that the UNIX line-termination&lt;BR /&gt;is only LF.&lt;BR /&gt;Many printers can be configured to automatically&lt;BR /&gt;add a  CR to every LF.  Check if this is&lt;BR /&gt;possible on your printers.  If not you will&lt;BR /&gt;have to modify the model-script  so that&lt;BR /&gt;it does a ux2dos  command to the file&lt;BR /&gt;before it cat  it to the printer.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Olav</description>
      <pubDate>Thu, 27 Jun 2002 08:22:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-problems/m-p/2753124#M835080</guid>
      <dc:creator>Olav Baadsvik</dc:creator>
      <dc:date>2002-06-27T08:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Printing problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-problems/m-p/2753125#M835081</link>
      <description>Thanks for your reply Leif, I have already tried inlcr and onlcr with no change to the printout.</description>
      <pubDate>Thu, 27 Jun 2002 08:25:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-problems/m-p/2753125#M835081</guid>
      <dc:creator>ITeam</dc:creator>
      <dc:date>2002-06-27T08:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Printing problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-problems/m-p/2753126#M835082</link>
      <description>Thanks Olav, I am digging out the printer manuals now to trawl through them and try to find if they support CR to NL options.</description>
      <pubDate>Thu, 27 Jun 2002 08:28:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-problems/m-p/2753126#M835082</guid>
      <dc:creator>ITeam</dc:creator>
      <dc:date>2002-06-27T08:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Printing problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-problems/m-p/2753127#M835083</link>
      <description>&lt;BR /&gt;HI,&lt;BR /&gt;&lt;BR /&gt;Or you could  modify  the following lines&lt;BR /&gt;in the dumb-script:while [ $i -le $copies ]&lt;BR /&gt;do&lt;BR /&gt;        for file in $files&lt;BR /&gt;        do&lt;BR /&gt;                cat "$file" 2&amp;gt;&amp;amp;1&lt;BR /&gt;                echo "\014\c"&lt;BR /&gt;        done&lt;BR /&gt;        i=`expr $i + 1`&lt;BR /&gt;done  &lt;BR /&gt;&lt;BR /&gt;to be:&lt;BR /&gt;&lt;BR /&gt;while [ $i -le $copies ]&lt;BR /&gt;do&lt;BR /&gt;        for file in $files&lt;BR /&gt;        do&lt;BR /&gt;                cat "$file" | ux2dos  2&amp;gt;&amp;amp;1&lt;BR /&gt;                echo "\014\c"&lt;BR /&gt;        done&lt;BR /&gt;        i=`expr $i + 1`&lt;BR /&gt;done  &lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Olav&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Jun 2002 08:35:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-problems/m-p/2753127#M835083</guid>
      <dc:creator>Olav Baadsvik</dc:creator>
      <dc:date>2002-06-27T08:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Printing problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-problems/m-p/2753128#M835084</link>
      <description>I have used sed to do this.&lt;BR /&gt;eg.&lt;BR /&gt;cat $file | sed 's/\^J/\^J\^M/'&lt;BR /&gt;&lt;BR /&gt;(use &lt;CRTL&gt;V to enter &lt;CTRL&gt;J, &lt;CRTL&gt;M.)&lt;/CRTL&gt;&lt;/CTRL&gt;&lt;/CRTL&gt;</description>
      <pubDate>Thu, 27 Jun 2002 16:11:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-problems/m-p/2753128#M835084</guid>
      <dc:creator>Rich Wright</dc:creator>
      <dc:date>2002-06-27T16:11:31Z</dc:date>
    </item>
  </channel>
</rss>

