<?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 top margin option for lp in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/top-margin-option-for-lp/m-p/2558977#M918052</link>
    <description>Does anyone know an option to specify a top margin when using "lp"?  I have been reading a lot about the PCL5 printer language and I am not sure if I am on the right track.  Thanks.</description>
    <pubDate>Mon, 30 Jul 2001 22:25:34 GMT</pubDate>
    <dc:creator>Ernie De Guzman</dc:creator>
    <dc:date>2001-07-30T22:25:34Z</dc:date>
    <item>
      <title>top margin option for lp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/top-margin-option-for-lp/m-p/2558977#M918052</link>
      <description>Does anyone know an option to specify a top margin when using "lp"?  I have been reading a lot about the PCL5 printer language and I am not sure if I am on the right track.  Thanks.</description>
      <pubDate>Mon, 30 Jul 2001 22:25:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/top-margin-option-for-lp/m-p/2558977#M918052</guid>
      <dc:creator>Ernie De Guzman</dc:creator>
      <dc:date>2001-07-30T22:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: top margin option for lp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/top-margin-option-for-lp/m-p/2558978#M918053</link>
      <description>Hi Debbie:&lt;BR /&gt;&lt;BR /&gt;The answer to that question depends upon the 'interface' file for your particular printer. &lt;BR /&gt;cd /var/spool/lp/interface&lt;BR /&gt;There should be an interface file with the same name as your print queue. e.g. myprinter&lt;BR /&gt;Typically this script calls another script /var/spool/lp/interface/model.orig/myprinter. &lt;BR /&gt;If you examine these interface file, you will find many options that you can send to the lp command. For example, if your printer uses the net_lj4x script (it well be renamed 'myprinter') then top margin is set by -o tm3 to skip down 3 lines.&lt;BR /&gt;&lt;BR /&gt;e.g.&lt;BR /&gt;lp -dmyprinter -tm3 myfile&lt;BR /&gt;&lt;BR /&gt;If another printer model is used you may well use another option to do the same thing. The key is to examine the interface and see what options it supports. In the worst case, you can add your own -o option to set top margin. Many interface files support the the -o options option to list the supported options.&lt;BR /&gt;&lt;BR /&gt;This should get you started, Clay</description>
      <pubDate>Tue, 31 Jul 2001 00:20:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/top-margin-option-for-lp/m-p/2558978#M918053</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-07-31T00:20:25Z</dc:date>
    </item>
  </channel>
</rss>

