<?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 Printing question/issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-question-issue/m-p/5002212#M424671</link>
    <description>System:  HP rp4440 with HP-UX 11.11 and JetDirect Printer Installer for Unix (HPNPL) E.10.34&lt;BR /&gt;&lt;BR /&gt;Printers:  HP LaserJet 9000DN (with duplexer) and HP LaserJet 4000TN&lt;BR /&gt;&lt;BR /&gt;Problem:  cannot set margins when printing to LJ9000.&lt;BR /&gt;&lt;BR /&gt;For disaster recovery purposes, I'm creating one notebook per server I support (actually two copies - one onsite and one offsite).  The notebooks will have home grown system documentation, system generated info (ie print_manifest and SysInfo 1.5 by Scott Truesdale), etc.  The SysInfo output is 25 pages and print_manifest is 12 pages (assuming 60 lines per page).&lt;BR /&gt;&lt;BR /&gt;To save trees and to be more managable, I want to print the documents in duplex with compressed font, left margin at 10, and right margin at 124.  The margins are needed to allow for the notebook binder holes.  The commands I use are:&lt;BR /&gt;&lt;BR /&gt;print_manifest | lp -d lj9000 -oduplex -oc -olm10 -orm124&lt;BR /&gt;&lt;BR /&gt;print_manifest | lp -d lj4000 -oc -olm10 -orm124&lt;BR /&gt;&lt;BR /&gt;The LJ4000 prints correctly.  The LJ9000 seems to ignore the lm and rm settings.  The margins appear to go back to defaults (2).  Its banner page and /var/opt/lp/log shows the margin options.  &lt;BR /&gt;&lt;BR /&gt;I used the -odebugm option and looked at the resulting files.  The LJ9000 file does not have the ^[&amp;amp;l10L and ^[&amp;amp;l124M to set the margins while the LJ4000 does.&lt;BR /&gt;&lt;BR /&gt;I'm using the lastest net_lj9000 modelscript and updated the printer's firmware.&lt;BR /&gt;&lt;BR /&gt;Any suggestions on how to troubleshoot this?</description>
    <pubDate>Fri, 08 Sep 2006 16:17:43 GMT</pubDate>
    <dc:creator>Robert Herron</dc:creator>
    <dc:date>2006-09-08T16:17:43Z</dc:date>
    <item>
      <title>Printing question/issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-question-issue/m-p/5002212#M424671</link>
      <description>System:  HP rp4440 with HP-UX 11.11 and JetDirect Printer Installer for Unix (HPNPL) E.10.34&lt;BR /&gt;&lt;BR /&gt;Printers:  HP LaserJet 9000DN (with duplexer) and HP LaserJet 4000TN&lt;BR /&gt;&lt;BR /&gt;Problem:  cannot set margins when printing to LJ9000.&lt;BR /&gt;&lt;BR /&gt;For disaster recovery purposes, I'm creating one notebook per server I support (actually two copies - one onsite and one offsite).  The notebooks will have home grown system documentation, system generated info (ie print_manifest and SysInfo 1.5 by Scott Truesdale), etc.  The SysInfo output is 25 pages and print_manifest is 12 pages (assuming 60 lines per page).&lt;BR /&gt;&lt;BR /&gt;To save trees and to be more managable, I want to print the documents in duplex with compressed font, left margin at 10, and right margin at 124.  The margins are needed to allow for the notebook binder holes.  The commands I use are:&lt;BR /&gt;&lt;BR /&gt;print_manifest | lp -d lj9000 -oduplex -oc -olm10 -orm124&lt;BR /&gt;&lt;BR /&gt;print_manifest | lp -d lj4000 -oc -olm10 -orm124&lt;BR /&gt;&lt;BR /&gt;The LJ4000 prints correctly.  The LJ9000 seems to ignore the lm and rm settings.  The margins appear to go back to defaults (2).  Its banner page and /var/opt/lp/log shows the margin options.  &lt;BR /&gt;&lt;BR /&gt;I used the -odebugm option and looked at the resulting files.  The LJ9000 file does not have the ^[&amp;amp;l10L and ^[&amp;amp;l124M to set the margins while the LJ4000 does.&lt;BR /&gt;&lt;BR /&gt;I'm using the lastest net_lj9000 modelscript and updated the printer's firmware.&lt;BR /&gt;&lt;BR /&gt;Any suggestions on how to troubleshoot this?</description>
      <pubDate>Fri, 08 Sep 2006 16:17:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-question-issue/m-p/5002212#M424671</guid>
      <dc:creator>Robert Herron</dc:creator>
      <dc:date>2006-09-08T16:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Printing question/issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-question-issue/m-p/5002213#M424672</link>
      <description>Use the same script for both printers. There is a web site to get the latest printrer scripts:&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://www.hp.com/pond/modelscripts/index2.html" target="_blank"&gt;http://www.hp.com/pond/modelscripts/index2.html&lt;/A&gt;&lt;BR /&gt; &lt;BR /&gt;However, the two printers are virtually the same for page layout and font controls, so just copy the LJ4000 script on top of the LJ9000 script. cd to the interface directory which is:  /etc/lp/interface/model.orig&lt;BR /&gt; &lt;BR /&gt;Now in that directory will be copies of the original models but renamed the same as the printer queues. Assuming the two print queues are lj4 and lj9:&lt;BR /&gt; &lt;BR /&gt;cp lj4 lj9&lt;BR /&gt; &lt;BR /&gt;Now try the format controls. You will also find two very useful commands for all HP printers: -ovsi#.## and -ohsi#.##  These two options control the spacing between characters (hsi) and between lines (vsi). The value is quite precise and allows you to squeeze a fixed spacing font like Courier to as much as 100 to 120 characters per line in portrait mode. Similarly, you can squeeze the lines to more than 90 or more lines per page. Try -ovsi5.2 -ohsi4.3 and then adjust to control spacing.</description>
      <pubDate>Fri, 08 Sep 2006 20:02:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-question-issue/m-p/5002213#M424672</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-09-08T20:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Printing question/issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-question-issue/m-p/5002214#M424673</link>
      <description>Bill, &lt;BR /&gt;&lt;BR /&gt;The margins worked properly by using the LJ4's model script (net_ljx0000).  Thanks for the suggestion.&lt;BR /&gt;&lt;BR /&gt;I tried LJ9050 model script and the margins don't work.  If I wanted to report a bug, would I just open a regular support ticket thru ITRC?  While the net_ljx0000 script works and covers the majority of printer features, there must be some reason to have a separate model script.&lt;BR /&gt;&lt;BR /&gt;--Robert</description>
      <pubDate>Mon, 11 Sep 2006 09:10:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-question-issue/m-p/5002214#M424673</guid>
      <dc:creator>Robert Herron</dc:creator>
      <dc:date>2006-09-11T09:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Printing question/issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-question-issue/m-p/5002215#M424674</link>
      <description>You can certainly report this as a bug to the Response Center. You should reduce the problem to the simplest case possible so that it is very easy to reproduce. Of course, a real UNIX guy would debug the interface file and see why the margin commands are not being transmitted. It may be something as simple as a bad case statement or bad argument parsing. You then report your fix to the Response Center.</description>
      <pubDate>Mon, 11 Sep 2006 09:19:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-question-issue/m-p/5002215#M424674</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-09-11T09:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Printing question/issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-question-issue/m-p/5002216#M424675</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;if I remember correctly, there was a set of options which got applied only in PCL mode and not in PostScript mode (and vice versa).&lt;BR /&gt;&lt;BR /&gt;Look carefully at 'man netlj9000' (or whatever the name of the man page should be) for such restrictions!&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Mon, 11 Sep 2006 10:21:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-question-issue/m-p/5002216#M424675</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2006-09-11T10:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Printing question/issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-question-issue/m-p/5002217#M424676</link>
      <description>The net_ljx000 is indeed the best script to use. I have no idea why the printer division (well, the division that owns hppi code these days) created that large (but very incomplete) set of printer scripts. The reason is that the options in these scripts are bascially the same because they all use PCL and PJL. The escape codes are forward compatible and there is very little difference between each printer when it comes to plain ASCII page layout options. I don't have a good recommendation since the scripts are too large to compare. So with each new HP printer, test the printer's ability to perform common tasks and if something doesn't work, replace the script with the net_ljx000 script.</description>
      <pubDate>Mon, 11 Sep 2006 10:34:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-question-issue/m-p/5002217#M424676</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-09-11T10:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Printing question/issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-question-issue/m-p/5002218#M424677</link>
      <description>Thanks everyone.  I think I have everything under control now.</description>
      <pubDate>Mon, 11 Sep 2006 12:08:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-question-issue/m-p/5002218#M424677</guid>
      <dc:creator>Robert Herron</dc:creator>
      <dc:date>2006-09-11T12:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Printing question/issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-question-issue/m-p/5002219#M424678</link>
      <description>Closing thread.  Workable solution found.</description>
      <pubDate>Mon, 11 Sep 2006 12:10:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-question-issue/m-p/5002219#M424678</guid>
      <dc:creator>Robert Herron</dc:creator>
      <dc:date>2006-09-11T12:10:02Z</dc:date>
    </item>
  </channel>
</rss>

