<?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 Problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-problem/m-p/4940732#M797865</link>
    <description>The escape sequence for portrait in PCL is-&lt;BR /&gt;^[&amp;amp;l0O&lt;BR /&gt; &lt;BR /&gt;Here is a web site that describes PCL-&lt;BR /&gt;&lt;A href="http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&amp;amp;cc=us&amp;amp;objectID=bpl04632" target="_blank"&gt;http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&amp;amp;cc=us&amp;amp;objectID=bpl04632&lt;/A&gt;&lt;BR /&gt; &lt;BR /&gt;HTH&lt;BR /&gt; &lt;BR /&gt;-- Rod Hills</description>
    <pubDate>Tue, 15 Nov 2005 17:41:01 GMT</pubDate>
    <dc:creator>Rodney Hills</dc:creator>
    <dc:date>2005-11-15T17:41:01Z</dc:date>
    <item>
      <title>Printing Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-problem/m-p/4940728#M797861</link>
      <description>I have an old program that prints labels in unix and uses this escape code sequence to get the spacing right.&lt;BR /&gt;&lt;BR /&gt;^[E^[&amp;amp;s1C^[&amp;amp;a-2R^[&amp;amp;l6D^[(s0p12.7h18v0s6b4099T&lt;BR /&gt;&lt;BR /&gt;however I had to put in a new printer and now they print landscape instead of Portrait. The printer is an HP laserjet 2820 and I can't get it to print landscape and do the proper spacing can somebody help me to change this to the correct sequence?</description>
      <pubDate>Tue, 15 Nov 2005 14:05:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-problem/m-p/4940728#M797861</guid>
      <dc:creator>Clint Gibler</dc:creator>
      <dc:date>2005-11-15T14:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-problem/m-p/4940729#M797862</link>
      <description>Clint,&lt;BR /&gt;&lt;BR /&gt;What you are asking is something next to impossible. The only thing I can suggest is to find the programming for your old printer, which by the way you did not mention, decode what this escape string does out of the programming codes. Find the same manual for HP LJ2820 and match the functions one by one. I am assuming by looking at the code, this is some incarnation of PCL and should not be too hard to decode. Just figure out which PCL version your old printer used and look for programming manuals over the web. You should not have anmy difficulty finding it.</description>
      <pubDate>Tue, 15 Nov 2005 14:43:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-problem/m-p/4940729#M797862</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2005-11-15T14:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-problem/m-p/4940730#M797863</link>
      <description>The escape sequence for landscape in PCL is-&lt;BR /&gt;^[&amp;amp;l1O&lt;BR /&gt; &lt;BR /&gt;HTH&lt;BR /&gt; &lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Tue, 15 Nov 2005 14:50:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-problem/m-p/4940730#M797863</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2005-11-15T14:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-problem/m-p/4940731#M797864</link>
      <description>It already prints landscape for some reason I need it to print portrait.  I can't find the escape codes anywhere for this printer.</description>
      <pubDate>Tue, 15 Nov 2005 16:47:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-problem/m-p/4940731#M797864</guid>
      <dc:creator>Clint Gibler</dc:creator>
      <dc:date>2005-11-15T16:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-problem/m-p/4940732#M797865</link>
      <description>The escape sequence for portrait in PCL is-&lt;BR /&gt;^[&amp;amp;l0O&lt;BR /&gt; &lt;BR /&gt;Here is a web site that describes PCL-&lt;BR /&gt;&lt;A href="http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&amp;amp;cc=us&amp;amp;objectID=bpl04632" target="_blank"&gt;http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&amp;amp;cc=us&amp;amp;objectID=bpl04632&lt;/A&gt;&lt;BR /&gt; &lt;BR /&gt;HTH&lt;BR /&gt; &lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Tue, 15 Nov 2005 17:41:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-problem/m-p/4940732#M797865</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2005-11-15T17:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-problem/m-p/4940733#M797866</link>
      <description>If the printer is printing a simple ASCII file  (such as /etc/profile) in landscape mode using the lp command with *no* options, then someone has violated the most important rule for network or shared printers: NEVER change the printer's front panel settings!!! These settings (like fonts and orientation and duplexing, etc) will affect every job sent to the printer (a very bad thing).&lt;BR /&gt;  &lt;BR /&gt;Now some printing subsystems will override all settings by sending a long setup string to the printer and assuming nothing about the printer defaults. But most systems (including HP-UX) send nothing more than ESC E (printer reset) so you're seeing the printer's default settings. Now you can verify this by overriding the defaults with the -oportait option, but that is a kludge. Cold-Reset the printer back to factory defaults by turning off the printer, then hold down the Online key (the key varies with the printer model) and tunr the power on while holdiung the key down. Once you see a cold-reset message on the printer, you'll need to set the LAN card addresses and now it should print correctly.&lt;BR /&gt; &lt;BR /&gt;As far as the special escape sequence, this 'may' work OK or be slightly off because of the small differences between the dozens and dozens of LaserJet models. This is especially true for multi-function (all-in-one) printers which are heavily designed for Windows printing subsystems. You'll need to decode all the escape sequences using a good PCL5 Technical Reference manual.</description>
      <pubDate>Tue, 15 Nov 2005 18:41:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-problem/m-p/4940733#M797866</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-11-15T18:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-problem/m-p/4940734#M797867</link>
      <description>Somebody had changed the default settings on the printer to landscape so I changed it back to portrait.</description>
      <pubDate>Wed, 16 Nov 2005 12:44:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-problem/m-p/4940734#M797867</guid>
      <dc:creator>Clint Gibler</dc:creator>
      <dc:date>2005-11-16T12:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-problem/m-p/4940735#M797868</link>
      <description>na</description>
      <pubDate>Wed, 16 Nov 2005 12:44:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-problem/m-p/4940735#M797868</guid>
      <dc:creator>Clint Gibler</dc:creator>
      <dc:date>2005-11-16T12:44:26Z</dc:date>
    </item>
  </channel>
</rss>

