<?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: Making a Printer in HP-UX 11 print landscape in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/making-a-printer-in-hp-ux-11-print-landscape/m-p/2728498#M64833</link>
    <description>Oh &amp;amp; you may also have to edit this section &lt;BR /&gt;&lt;BR /&gt; case "$orientation" in&lt;BR /&gt;         def);;&lt;BR /&gt;         portrait)       echo "\033&amp;amp;l0O\c";;&lt;BR /&gt;         landscape)      echo "\033&amp;amp;l1O\c"&lt;BR /&gt;                         length="-l45";;&lt;BR /&gt;&lt;BR /&gt;To include the landscape strings after the def) &lt;BR /&gt;statement. I haven't had a chance to test but I think those are the only areas that would need mods.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
    <pubDate>Tue, 21 May 2002 18:15:41 GMT</pubDate>
    <dc:creator>Jeff Schussele</dc:creator>
    <dc:date>2002-05-21T18:15:41Z</dc:date>
    <item>
      <title>Making a Printer in HP-UX 11 print landscape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/making-a-printer-in-hp-ux-11-print-landscape/m-p/2728491#M64826</link>
      <description>I want the printer to print landscape by default. What  would I can to cause this to happen?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 21 May 2002 16:48:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/making-a-printer-in-hp-ux-11-print-landscape/m-p/2728491#M64826</guid>
      <dc:creator>TCEQ UNIX</dc:creator>
      <dc:date>2002-05-21T16:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Making a Printer in HP-UX 11 print landscape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/making-a-printer-in-hp-ux-11-print-landscape/m-p/2728492#M64827</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If this is a jetdirect / network printer, try using the -o landscape option with the lp command.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Tue, 21 May 2002 16:51:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/making-a-printer-in-hp-ux-11-print-landscape/m-p/2728492#M64827</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-05-21T16:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Making a Printer in HP-UX 11 print landscape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/making-a-printer-in-hp-ux-11-print-landscape/m-p/2728493#M64828</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;There is an option '-o landscape' which can be used with lp command. Check the file under /etc/lp/interface for available options.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
      <pubDate>Tue, 21 May 2002 16:53:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/making-a-printer-in-hp-ux-11-print-landscape/m-p/2728493#M64828</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-05-21T16:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Making a Printer in HP-UX 11 print landscape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/making-a-printer-in-hp-ux-11-print-landscape/m-p/2728494#M64829</link>
      <description>Hi TNRCC&lt;BR /&gt;&lt;BR /&gt;use the -o landscape option for landsacpe printing .&lt;BR /&gt;&lt;BR /&gt;"&lt;BR /&gt;&lt;BR /&gt;  -ooption       Specify a printer-dependent option.  You can specify&lt;BR /&gt;                     several printer options by repeating the -o option.&lt;BR /&gt;                     For information about the options that are available&lt;BR /&gt;                     for a printer supported on your system, see the&lt;BR /&gt;                     interface script for the printer name in the&lt;BR /&gt;                     /etc/lp/interface directory."&lt;BR /&gt;&lt;BR /&gt;you may also like to look at :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x0eefc6af36b7d5118ff10090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x0eefc6af36b7d5118ff10090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava&lt;BR /&gt;</description>
      <pubDate>Tue, 21 May 2002 16:55:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/making-a-printer-in-hp-ux-11-print-landscape/m-p/2728494#M64829</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-05-21T16:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Making a Printer in HP-UX 11 print landscape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/making-a-printer-in-hp-ux-11-print-landscape/m-p/2728495#M64830</link>
      <description>If this is a local printer then you can edit the interface file in&lt;BR /&gt;/etc/lp/interface/ptr_name&lt;BR /&gt;to force the -o landscape option on every job.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 21 May 2002 17:25:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/making-a-printer-in-hp-ux-11-print-landscape/m-p/2728495#M64830</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-05-21T17:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Making a Printer in HP-UX 11 print landscape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/making-a-printer-in-hp-ux-11-print-landscape/m-p/2728496#M64831</link>
      <description>"edit the interface file in &lt;BR /&gt;/etc/lp/interface/ptr_name &lt;BR /&gt;to force the -o landscape option on every job."&lt;BR /&gt;&lt;BR /&gt;Jeff,&lt;BR /&gt;  Your on the right track with this. However, it is not clear how one would do this. Do you (or anyone) know where I can find some documentation on how to do this?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Russell</description>
      <pubDate>Tue, 21 May 2002 17:57:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/making-a-printer-in-hp-ux-11-print-landscape/m-p/2728496#M64831</guid>
      <dc:creator>TCEQ UNIX</dc:creator>
      <dc:date>2002-05-21T17:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Making a Printer in HP-UX 11 print landscape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/making-a-printer-in-hp-ux-11-print-landscape/m-p/2728497#M64832</link>
      <description>Hi (again)&lt;BR /&gt;&lt;BR /&gt;Let's say the interface is based on the std laserjet I/F.&lt;BR /&gt;There should be a section as follows:&lt;BR /&gt;&lt;BR /&gt;case "$orientation" in&lt;BR /&gt;        portrait | def)&lt;BR /&gt;                orientation="portrait"&lt;BR /&gt;                case "$dividing" in&lt;BR /&gt;                        -h);;&lt;BR /&gt;                        -q)     fontdl /usr/lib/lp/fonts/lp4p;;&lt;BR /&gt;                esac;;&lt;BR /&gt;        landscape)&lt;BR /&gt;                case "$dividing" in&lt;BR /&gt;                        -h)     fontdl /usr/lib/lp/fonts/lp2l;;&lt;BR /&gt;                        -q)     fontdl -l /usr/lib/lp/fonts/lp4l;;&lt;BR /&gt;                esac;;&lt;BR /&gt;esac&lt;BR /&gt;&lt;BR /&gt;Note that the portrait has the | def.&lt;BR /&gt;Switch the landscape to have the | def entry &amp;amp; you may test with a standard lp command w/o the -o parm.&lt;BR /&gt;If it's not the std laserjet I/F model you may have to poke around in the script. Just remember to cp a safe copy prior to editting.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 21 May 2002 18:05:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/making-a-printer-in-hp-ux-11-print-landscape/m-p/2728497#M64832</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-05-21T18:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Making a Printer in HP-UX 11 print landscape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/making-a-printer-in-hp-ux-11-print-landscape/m-p/2728498#M64833</link>
      <description>Oh &amp;amp; you may also have to edit this section &lt;BR /&gt;&lt;BR /&gt; case "$orientation" in&lt;BR /&gt;         def);;&lt;BR /&gt;         portrait)       echo "\033&amp;amp;l0O\c";;&lt;BR /&gt;         landscape)      echo "\033&amp;amp;l1O\c"&lt;BR /&gt;                         length="-l45";;&lt;BR /&gt;&lt;BR /&gt;To include the landscape strings after the def) &lt;BR /&gt;statement. I haven't had a chance to test but I think those are the only areas that would need mods.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 21 May 2002 18:15:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/making-a-printer-in-hp-ux-11-print-landscape/m-p/2728498#M64833</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-05-21T18:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Making a Printer in HP-UX 11 print landscape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/making-a-printer-in-hp-ux-11-print-landscape/m-p/2728499#M64834</link>
      <description>Jeff,&lt;BR /&gt;  I did not find the code in /etc/lp/interface. But rather in /opt/hpnpl/sh/net_lj5x .&lt;BR /&gt;  Since /opt is for 3rd party software and this is a network printer. I did not feel comfortable changing this code.&lt;BR /&gt;   Under /etc/lp/interface/que_name it appears to call so much stuff that it would be very very easy to mess up a lot of stuff very quickly.&lt;BR /&gt;  This is a great attempt but appears to come up a little short.&lt;BR /&gt;   Any suggestions on where I am going wrong here.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Russell</description>
      <pubDate>Tue, 21 May 2002 19:58:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/making-a-printer-in-hp-ux-11-print-landscape/m-p/2728499#M64834</guid>
      <dc:creator>TCEQ UNIX</dc:creator>
      <dc:date>2002-05-21T19:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Making a Printer in HP-UX 11 print landscape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/making-a-printer-in-hp-ux-11-print-landscape/m-p/2728500#M64835</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt; I can understand that. And you're not going wrong - it's just that the default is portrait until it sees the -o landscape on the command line. You *have* to edit the interface script to make it default to landscape &amp;amp; then you could include the -o portrait to go with that orientation when you so desire. &lt;BR /&gt;What you can do is make a safe copy of the file in /etc/lp/interface/queue_name&lt;BR /&gt;cp filename filename.safe&lt;BR /&gt;Then if you make a mistake editing you can simply remove the edited file &amp;amp; rename the safe one back.&lt;BR /&gt;Also having the "safe" copy easily allows you to go back &amp;amp; forth between portrait &amp;amp; landscape defaults simply by renaming the files.&lt;BR /&gt;&lt;BR /&gt;I would disable the queue before editing if possible.&lt;BR /&gt;&lt;BR /&gt;I found the "defaults" section &amp;amp; it may be the easiest way to change - it looks as follows&lt;BR /&gt;/Quote&lt;BR /&gt;&lt;BR /&gt;# Initialize option variables to default values&lt;BR /&gt;length="def"&lt;BR /&gt;pitch="def"&lt;BR /&gt;spitch="def"&lt;BR /&gt;hsi="def"&lt;BR /&gt;spacing="def"&lt;BR /&gt;sspacing="def"&lt;BR /&gt;lpi="def"&lt;BR /&gt;vsi="def"&lt;BR /&gt;charset="def"&lt;BR /&gt;scharset="def"&lt;BR /&gt;height="def"&lt;BR /&gt;sheight="def"&lt;BR /&gt;style="def"&lt;BR /&gt;sstyle="def"&lt;BR /&gt;typeface="def"&lt;BR /&gt;stypeface="def"&lt;BR /&gt;weight="def"&lt;BR /&gt;sweight="def"&lt;BR /&gt;pagelen="def"&lt;BR /&gt;tpagelen="def"&lt;BR /&gt;scharset="def"&lt;BR /&gt;height="def"&lt;BR /&gt;sheight="def"&lt;BR /&gt;style="def"&lt;BR /&gt;sstyle="def"&lt;BR /&gt;typeface="def"&lt;BR /&gt;stypeface="def"&lt;BR /&gt;weight="def"&lt;BR /&gt;sweight="def"&lt;BR /&gt;pagelen="def"&lt;BR /&gt;tpagelen="def"&lt;BR /&gt;lmargin="def"&lt;BR /&gt;rmargin="def"&lt;BR /&gt;outputmode="cooked"&lt;BR /&gt;banner="yes"&lt;BR /&gt;orientation="def"&lt;BR /&gt;pagemode="def"&lt;BR /&gt;outb="def"&lt;BR /&gt;outbstring="OPTIONALOUTBIN"&lt;BR /&gt;mtype="def"&lt;BR /&gt;bannerpagemode="def"&lt;BR /&gt;duplex="def"&lt;BR /&gt;nroff=""&lt;BR /&gt;italics=""&lt;BR /&gt;outputmode="cooked"&lt;BR /&gt;banner="yes"&lt;BR /&gt;orientation="def"&lt;BR /&gt;pagemode="def"&lt;BR /&gt;outb="def"&lt;BR /&gt;outbstring="OPTIONALOUTBIN"&lt;BR /&gt;mtype="def"&lt;BR /&gt;bannerpagemode="def"&lt;BR /&gt;duplex="def"&lt;BR /&gt;nroff=""&lt;BR /&gt;italics=""&lt;BR /&gt;modeset="false"&lt;BR /&gt;dividing=""&lt;BR /&gt;ascii=""&lt;BR /&gt;bad_options=""&lt;BR /&gt;page_start=""&lt;BR /&gt;page_end=""&lt;BR /&gt;if [ "$default_mode" = "PostScript" ]&lt;BR /&gt;then&lt;BR /&gt;   format="PS"&lt;BR /&gt;   outputmode="raw"&lt;BR /&gt;else&lt;BR /&gt;   format="PCL"&lt;BR /&gt;fi&lt;BR /&gt;paper="def"&lt;BR /&gt;resolution=""&lt;BR /&gt;printoptions=""&lt;BR /&gt;file_type=""&lt;BR /&gt;# Variables for Color Options&lt;BR /&gt;textcolor="def"&lt;BR /&gt;monochrome="def"&lt;BR /&gt;glossfinish="def"&lt;BR /&gt;printer_collate=""&lt;BR /&gt;staple_job=""&lt;BR /&gt;des_cs="def"&lt;BR /&gt;&lt;BR /&gt;/EndQuote&lt;BR /&gt;&lt;BR /&gt;Note that orientation is in here &amp;amp; set to "def" - you could try just changing it &amp;amp; only it to "landscape" &amp;amp; do a quick test.&lt;BR /&gt;Then if no -o portrait comes in on the command line it *should* default to landscape.&lt;BR /&gt;Just remember to make a safe copy &amp;amp; enable the printer after the change.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff&lt;BR /&gt;</description>
      <pubDate>Tue, 21 May 2002 20:48:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/making-a-printer-in-hp-ux-11-print-landscape/m-p/2728500#M64835</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-05-21T20:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Making a Printer in HP-UX 11 print landscape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/making-a-printer-in-hp-ux-11-print-landscape/m-p/2728501#M64836</link>
      <description>Just a note about /opt: it is the optional software directory, not just 3rd party.  /usr (according to SysV standards) is for system administration while /opt is for application programs. /opt/hpnp is the HP JetDirect software (application).</description>
      <pubDate>Tue, 21 May 2002 23:52:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/making-a-printer-in-hp-ux-11-print-landscape/m-p/2728501#M64836</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-05-21T23:52:48Z</dc:date>
    </item>
  </channel>
</rss>

