<?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: staircase problem printing in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/staircase-problem-printing/m-p/2585099#M856339</link>
    <description>It seems you are using the wrong filter.&lt;BR /&gt;&lt;BR /&gt;I would assume your printer is expecting each line to be terminated by a \r\n sequence, but it's only getting the standard Unix EOL \n.&lt;BR /&gt;You can easily fix this by sed'ing the EOLs.&lt;BR /&gt;But for a filter this is a poor hack.&lt;BR /&gt;Better get some free filter like a2ps (if it's ASCII files)</description>
    <pubDate>Wed, 26 Sep 2001 08:39:30 GMT</pubDate>
    <dc:creator>Ralph Grothe</dc:creator>
    <dc:date>2001-09-26T08:39:30Z</dc:date>
    <item>
      <title>staircase problem printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/staircase-problem-printing/m-p/2585097#M856337</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Does anyone know how to fix the staircase problem when printing to lp. I have a&lt;BR /&gt;xerox printer.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;Johan den Boer</description>
      <pubDate>Wed, 26 Sep 2001 07:28:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/staircase-problem-printing/m-p/2585097#M856337</guid>
      <dc:creator>Johan den Boer</dc:creator>
      <dc:date>2001-09-26T07:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: staircase problem printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/staircase-problem-printing/m-p/2585098#M856338</link>
      <description>Johan,&lt;BR /&gt;&lt;BR /&gt;This can be fixed by editing the model script.  Which Xerox printer is it?  I know they have model definitions for some of their printers on HPUX.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Wed, 26 Sep 2001 08:32:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/staircase-problem-printing/m-p/2585098#M856338</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-09-26T08:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: staircase problem printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/staircase-problem-printing/m-p/2585099#M856339</link>
      <description>It seems you are using the wrong filter.&lt;BR /&gt;&lt;BR /&gt;I would assume your printer is expecting each line to be terminated by a \r\n sequence, but it's only getting the standard Unix EOL \n.&lt;BR /&gt;You can easily fix this by sed'ing the EOLs.&lt;BR /&gt;But for a filter this is a poor hack.&lt;BR /&gt;Better get some free filter like a2ps (if it's ASCII files)</description>
      <pubDate>Wed, 26 Sep 2001 08:39:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/staircase-problem-printing/m-p/2585099#M856339</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2001-09-26T08:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: staircase problem printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/staircase-problem-printing/m-p/2585100#M856340</link>
      <description>Also, you can get one of the many printing utilities, such as enscript, a2ps or mpage which generate postscript output (and generally have nicer output than text).&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Wed, 26 Sep 2001 08:47:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/staircase-problem-printing/m-p/2585100#M856340</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-09-26T08:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: staircase problem printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/staircase-problem-printing/m-p/2585101#M856341</link>
      <description>As others have mentioned, this is probably a LF (linefeed) versus CR+LF (carriage-return + linefeed) problem.&lt;BR /&gt;&lt;BR /&gt;If you can use an external pipeline, then you can probably solve your problem with ux2dos(1), i.e.&lt;BR /&gt;&lt;BR /&gt;cat file | ux2dos | lp -d ....&lt;BR /&gt;&lt;BR /&gt;If you can not use an external pipeline, then you can use ux2dos(1) in a *copy* of the current model script and remove/re-add the printer while specifying the new model script.&lt;BR /&gt;For this, you will need to have some expertise in understanding/modifying shell scripts.&lt;BR /&gt;&lt;BR /&gt;For details, see the "Models" section in the lpadmin(1M) manual page.</description>
      <pubDate>Wed, 26 Sep 2001 11:55:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/staircase-problem-printing/m-p/2585101#M856341</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2001-09-26T11:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: staircase problem printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/staircase-problem-printing/m-p/2585102#M856342</link>
      <description>I don't know which model of printer you have but&lt;BR /&gt;some printers have an option to make linefeed&lt;BR /&gt;generate a carriage return.&lt;BR /&gt;&lt;BR /&gt;Check the text mode options for the printer.  &lt;BR /&gt;If you can't change the printer, you are stuck with &lt;BR /&gt;changing the filter. &lt;BR /&gt;&lt;BR /&gt;In PCL the command &lt;ESC&gt;&amp;amp;k2G&lt;BR /&gt;will change the line termination as follows:&lt;BR /&gt;cr -&amp;gt; cr; lf -&amp;gt; cr-lf; ff -&amp;gt; cr-lf.&lt;BR /&gt;&lt;BR /&gt;&lt;/ESC&gt;</description>
      <pubDate>Wed, 26 Sep 2001 23:58:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/staircase-problem-printing/m-p/2585102#M856342</guid>
      <dc:creator>Bill Thorsteinson</dc:creator>
      <dc:date>2001-09-26T23:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: staircase problem printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/staircase-problem-printing/m-p/2585103#M856343</link>
      <description>Or you can change printers configuration, changing CR=0D to CR==0D0A&lt;BR /&gt;&lt;BR /&gt;See printers manual.</description>
      <pubDate>Thu, 27 Sep 2001 08:11:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/staircase-problem-printing/m-p/2585103#M856343</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2001-09-27T08:11:36Z</dc:date>
    </item>
  </channel>
</rss>

