<?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: LP Remote to Sun/Xerox  causing embedded characters in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-remote-to-sun-xerox-causing-embedded-characters/m-p/2962100#M118554</link>
    <description>Paul,&lt;BR /&gt;&lt;BR /&gt;What model printer was this?  I can't find any Unix drivers for our docutech printer. &lt;BR /&gt;&lt;BR /&gt;Can you post a link for the driver?&lt;BR /&gt;</description>
    <pubDate>Tue, 20 Jan 2004 15:02:29 GMT</pubDate>
    <dc:creator>Sean OB_1</dc:creator>
    <dc:date>2004-01-20T15:02:29Z</dc:date>
    <item>
      <title>LP Remote to Sun/Xerox  causing embedded characters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-remote-to-sun-xerox-causing-embedded-characters/m-p/2962094#M118548</link>
      <description>We have a problem with remote print.  We can ftp a text file with PCL 5 codes to a sun which acts as a printer control work station for a Xerox docutech printer.  I set up a remote print queue to this machine.  (we have no other remote printers)&lt;BR /&gt;&lt;BR /&gt;According to Xerox, the lpr process must be embedding control characters into the file causing it to not print correctly.  It will print the first line correctly, the second line starts one line below and just after the last character of the first line:&lt;BR /&gt;&lt;BR /&gt;page one line one herexxx&lt;BR /&gt;                         page one line two here&lt;BR /&gt;&lt;BR /&gt;Xerox won't help, stating the issue is with our HP lpr.  I set this up via sam.&lt;BR /&gt;&lt;BR /&gt;Ideas?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Doug</description>
      <pubDate>Tue, 29 Apr 2003 15:56:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-remote-to-sun-xerox-causing-embedded-characters/m-p/2962094#M118548</guid>
      <dc:creator>Doug_3</dc:creator>
      <dc:date>2003-04-29T15:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: LP Remote to Sun/Xerox  causing embedded characters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-remote-to-sun-xerox-causing-embedded-characters/m-p/2962095#M118549</link>
      <description>Sounds like your file contains line feeds to terminate each line, while the printer wants a CR/LF (charrage rutran and line feed pair).&lt;BR /&gt;&lt;BR /&gt;How is the print queue on your Sun box set up?  Often times a printer will provide both a raw print queue that does no translation, and a text queue that converts terminating LF to CR/LF.  Directing print-outs to the test queue would automatically solve your problem.&lt;BR /&gt;&lt;BR /&gt;Also, you could convert the file before sending it off to be printed, using a tool like ux2dos to do the LF -&amp;gt; CR/LF conversion.</description>
      <pubDate>Tue, 29 Apr 2003 16:23:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-remote-to-sun-xerox-causing-embedded-characters/m-p/2962095#M118549</guid>
      <dc:creator>Bill Douglass</dc:creator>
      <dc:date>2003-04-29T16:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: LP Remote to Sun/Xerox  causing embedded characters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-remote-to-sun-xerox-causing-embedded-characters/m-p/2962096#M118550</link>
      <description>Thanks Bill, but if I ftp the file to the server it prints just fine.  I invoke the normal lp -dxerox file.txt.  When rlpdaemon is called to send the file to the remote server/lp it must be altering it somehow.  I am assuming it is how the rlpdaemon is configured.&lt;BR /&gt;&lt;BR /&gt;Doug</description>
      <pubDate>Tue, 29 Apr 2003 16:37:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-remote-to-sun-xerox-causing-embedded-characters/m-p/2962096#M118550</guid>
      <dc:creator>Doug_3</dc:creator>
      <dc:date>2003-04-29T16:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: LP Remote to Sun/Xerox  causing embedded characters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-remote-to-sun-xerox-causing-embedded-characters/m-p/2962097#M118551</link>
      <description>Is it possible to print directly to the printer?  We have some Lexmark printers like that and required installing software from them:   Lexmark               4.6            Lexmark Software for UNIX(R) Systems&lt;BR /&gt;&lt;BR /&gt;Maybe Xerox has the same for HP-UX.&lt;BR /&gt;&lt;BR /&gt;Unless of course the printer does not have an ip address...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Tue, 29 Apr 2003 16:45:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-remote-to-sun-xerox-causing-embedded-characters/m-p/2962097#M118551</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2003-04-29T16:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: LP Remote to Sun/Xerox  causing embedded characters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-remote-to-sun-xerox-causing-embedded-characters/m-p/2962098#M118552</link>
      <description>you need the driver for the printer. I got mine from &lt;A href="http://www.xerox.com." target="_blank"&gt;www.xerox.com.&lt;/A&gt; Follow the links Support &amp;amp; Drivers, Printers, then find the model&lt;BR /&gt;&lt;BR /&gt;Search for UNIX and Drivers and download the PrinterPkgXPXX.tar file&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Apr 2003 17:13:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-remote-to-sun-xerox-causing-embedded-characters/m-p/2962098#M118552</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2003-04-29T17:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: LP Remote to Sun/Xerox  causing embedded characters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-remote-to-sun-xerox-causing-embedded-characters/m-p/2962099#M118553</link>
      <description>How did you do the FTP to the server? Did you specify/check it was a "bin"ary transfer? If it was an "ascii" transfer, then that probably explains why it worked.&lt;BR /&gt;&lt;BR /&gt;Anyway, humour (sp?) us and do:&lt;BR /&gt;&lt;BR /&gt;cat file.txt | ux2dos | lp -d&lt;REMOTE_PRINTER&gt;&lt;BR /&gt;&lt;BR /&gt;and report the results.&lt;BR /&gt;&lt;BR /&gt;&lt;/REMOTE_PRINTER&gt;</description>
      <pubDate>Thu, 01 May 2003 11:25:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-remote-to-sun-xerox-causing-embedded-characters/m-p/2962099#M118553</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2003-05-01T11:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: LP Remote to Sun/Xerox  causing embedded characters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-remote-to-sun-xerox-causing-embedded-characters/m-p/2962100#M118554</link>
      <description>Paul,&lt;BR /&gt;&lt;BR /&gt;What model printer was this?  I can't find any Unix drivers for our docutech printer. &lt;BR /&gt;&lt;BR /&gt;Can you post a link for the driver?&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Jan 2004 15:02:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-remote-to-sun-xerox-causing-embedded-characters/m-p/2962100#M118554</guid>
      <dc:creator>Sean OB_1</dc:creator>
      <dc:date>2004-01-20T15:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: LP Remote to Sun/Xerox  causing embedded characters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-remote-to-sun-xerox-causing-embedded-characters/m-p/2962101#M118555</link>
      <description>Hi Doug,&lt;BR /&gt;&lt;BR /&gt;the lp process does not embed any characters *in* the print job nor prepend/append any as well. It sends the data raw to the remote print server.&lt;BR /&gt;&lt;BR /&gt;All you need to do is get into the menu on that printer &amp;amp; find in it's config the setting about LF &amp;amp; change it to LF=LF+CR. We have to do this to almost all type laser printers - including HP LaserJets.&lt;BR /&gt;&lt;BR /&gt;Winblows boxes automatically send CR+LF - UNIX boxes ONLY send LF &amp;amp; the printer is doing exactly what it's told. This *won't* screw up any Windoze jobs because the ptr will only modify the LF &amp;amp; not touch the LF+CR&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 20 Jan 2004 15:08:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-remote-to-sun-xerox-causing-embedded-characters/m-p/2962101#M118555</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-01-20T15:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: LP Remote to Sun/Xerox  causing embedded characters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-remote-to-sun-xerox-causing-embedded-characters/m-p/2962102#M118556</link>
      <description>Whatbyou are seeing is absolutely normal for Unix files. Each ASCII file consists of text followed by LF (also known as the end-of-line character). When you send this file to a remote printer, no processing is done at all, so you see stairstep output. The reason ftp works is that you may be defaulting to an ASCII transfer which will rewrite the file at the remote end in a manner defined by the remote computer system. For instance, DOS/Windows defines an ASCII file with CR+LF as the line termination code.&lt;BR /&gt; &lt;BR /&gt;So your files must be preprocessed for the printer. As Jeff mentioned, your printer may be smart enough to treat LF=CR+LF but this may cause problems with binary files. The best solution is to pipe all ASCII files through the conversion filter ux2dos:&lt;BR /&gt; &lt;BR /&gt;ux2dos some_ASCII_file | lp -dremote_printer&lt;BR /&gt; &lt;BR /&gt;As a note, there is no lpr command with HP-UX. HP-UX has a SysV print spooler so the command is lp and printer scripts define printer options. In a BSD system, lpr is the print command and a file called printcap defines printer features. These are very different philosophies and require special treatment when mixing systems using remote spooling.&lt;BR /&gt; &lt;BR /&gt;(for the nit-pickers: /usr/bin/lpr is actually a wrapper script for lp)</description>
      <pubDate>Tue, 20 Jan 2004 21:54:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-remote-to-sun-xerox-causing-embedded-characters/m-p/2962102#M118556</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-01-20T21:54:18Z</dc:date>
    </item>
  </channel>
</rss>

