<?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: No carriage return when printing in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/no-carriage-return-when-printing/m-p/2826230#M87677</link>
    <description>Since you have an HP LaserJet printer, you probably have an HP JetDirect network card installed. The problem is that you installed the printer on HP-UX as a remote printer, not a network printer. A remote printer is designed to use the RFC 1179 LPD protocol which performs no translation between foreign systems and an ASCII file on Unix has nothing but LF's at the end of each line.&lt;BR /&gt;&lt;BR /&gt;The network software on HP-UX is called HP Printer Installer (HPPI) and is downloaded from:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20000.www2.hp.com/bizsupport/TechSupport/Product.jsp%3Flocale%3Den_US%26prodTypeId%3D13037%26prodSubCatId%3D28674" target="_blank"&gt;http://h20000.www2.hp.com/bizsupport/TechSupport/Product.jsp%3Flocale%3Den_US%26prodTypeId%3D13037%26prodSubCatId%3D28674&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;(sorry for the ugly URL) Select your version of HP-UX (10.20 or 11.xx) and install it using swinstall. Then to add the printer, first remove the old printer definition using:&lt;BR /&gt;&lt;BR /&gt;lpshut&lt;BR /&gt;lpadmin -xOldPrinterName&lt;BR /&gt;&lt;BR /&gt;Then run the command:&lt;BR /&gt;&lt;BR /&gt;addqueue -h IP-addr-of-printer -q printqueue-name&lt;BR /&gt;&lt;BR /&gt;If addqueue is not found, use the full path:&lt;BR /&gt;/opt/hpnpi/bin/addqueue&lt;BR /&gt;&lt;BR /&gt;The lp man page won't help because there are so many different ways to connect a printer. See the man page for net_lj5x for all the options that can be used with your printer.</description>
    <pubDate>Tue, 15 Oct 2002 15:59:54 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2002-10-15T15:59:54Z</dc:date>
    <item>
      <title>No carriage return when printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-carriage-return-when-printing/m-p/2826227#M87674</link>
      <description>I am new to UNIX and I am trying having a problem with printing a text file to a network printer.  The printer is a HP LJ 8000 series and what happens is that when I print there appears to be no carriage return, only a line feed, at the end of a line.  The next line starts on character to the right of the previous line (and quickly runs off the page into never never land).  I have looked in the books that I have, and perused the man page for the lp command, as well as looking at the printer options in the /etc/lp/interfaces/&lt;PRINETERNAME&gt; file with no luck.  Any help would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Rick&lt;BR /&gt;&lt;/PRINETERNAME&gt;</description>
      <pubDate>Tue, 15 Oct 2002 15:38:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-carriage-return-when-printing/m-p/2826227#M87674</guid>
      <dc:creator>Rick Stoneking</dc:creator>
      <dc:date>2002-10-15T15:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: No carriage return when printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-carriage-return-when-printing/m-p/2826228#M87675</link>
      <description>Are you using HP JetDirect.  If so you are more than likely using the wrong driver for that printer.</description>
      <pubDate>Tue, 15 Oct 2002 15:44:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-carriage-return-when-printing/m-p/2826228#M87675</guid>
      <dc:creator>Eric Hess</dc:creator>
      <dc:date>2002-10-15T15:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: No carriage return when printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-carriage-return-when-printing/m-p/2826229#M87676</link>
      <description>&lt;BR /&gt;How was the queue created? lpadmin or hppi? If through SAM, please identify which option was used. Please attach the interface script (/etc/lp/interface/&lt;PRINTER&gt;). While we're playing around, try this:&lt;BR /&gt;&lt;BR /&gt;ux2dos &lt;FILE&gt; | lp&lt;BR /&gt;&lt;BR /&gt;This will convert all newlines to CRLF.&lt;BR /&gt;&lt;BR /&gt;The printer should have a configurable setting that governs how it handles EOL. For HP LJ 4000s, it is under "Printing Menu" and is called "Append CR to LF?" Set it to YES.&lt;BR /&gt;&lt;BR /&gt;&lt;/FILE&gt;&lt;/PRINTER&gt;</description>
      <pubDate>Tue, 15 Oct 2002 15:49:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-carriage-return-when-printing/m-p/2826229#M87676</guid>
      <dc:creator>Jordan Bean</dc:creator>
      <dc:date>2002-10-15T15:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: No carriage return when printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-carriage-return-when-printing/m-p/2826230#M87677</link>
      <description>Since you have an HP LaserJet printer, you probably have an HP JetDirect network card installed. The problem is that you installed the printer on HP-UX as a remote printer, not a network printer. A remote printer is designed to use the RFC 1179 LPD protocol which performs no translation between foreign systems and an ASCII file on Unix has nothing but LF's at the end of each line.&lt;BR /&gt;&lt;BR /&gt;The network software on HP-UX is called HP Printer Installer (HPPI) and is downloaded from:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20000.www2.hp.com/bizsupport/TechSupport/Product.jsp%3Flocale%3Den_US%26prodTypeId%3D13037%26prodSubCatId%3D28674" target="_blank"&gt;http://h20000.www2.hp.com/bizsupport/TechSupport/Product.jsp%3Flocale%3Den_US%26prodTypeId%3D13037%26prodSubCatId%3D28674&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;(sorry for the ugly URL) Select your version of HP-UX (10.20 or 11.xx) and install it using swinstall. Then to add the printer, first remove the old printer definition using:&lt;BR /&gt;&lt;BR /&gt;lpshut&lt;BR /&gt;lpadmin -xOldPrinterName&lt;BR /&gt;&lt;BR /&gt;Then run the command:&lt;BR /&gt;&lt;BR /&gt;addqueue -h IP-addr-of-printer -q printqueue-name&lt;BR /&gt;&lt;BR /&gt;If addqueue is not found, use the full path:&lt;BR /&gt;/opt/hpnpi/bin/addqueue&lt;BR /&gt;&lt;BR /&gt;The lp man page won't help because there are so many different ways to connect a printer. See the man page for net_lj5x for all the options that can be used with your printer.</description>
      <pubDate>Tue, 15 Oct 2002 15:59:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-carriage-return-when-printing/m-p/2826230#M87677</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-10-15T15:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: No carriage return when printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-carriage-return-when-printing/m-p/2826231#M87678</link>
      <description>Hi Rick,&lt;BR /&gt;&lt;BR /&gt; The simplest solution is to turn on CR+LF on the printer itself. Go into the printer's menu - it's usually in the "Printing Menu" &amp;amp; you're looking for "Append CR to LF" or such.&lt;BR /&gt;This essentially translates LF to CR+LF on print jobs. Since Windows print jobs always send CR+LF there will be no impact to it's print jobs.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 15 Oct 2002 16:10:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-carriage-return-when-printing/m-p/2826231#M87678</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-10-15T16:10:33Z</dc:date>
    </item>
  </channel>
</rss>

