<?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: Is this possible? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/is-this-possible/m-p/2818987#M86173</link>
    <description>It is possible. All you need is a driver from Ricoh for HP-UX which can send the proper control codes to the printer depending on what you want. You wont get a driver from HP and Im unsure if Ricoh will do one for HP-UX.&lt;BR /&gt;</description>
    <pubDate>Fri, 04 Oct 2002 09:12:26 GMT</pubDate>
    <dc:creator>Stefan Farrelly</dc:creator>
    <dc:date>2002-10-04T09:12:26Z</dc:date>
    <item>
      <title>Is this possible?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-this-possible/m-p/2818986#M86172</link>
      <description>Is it possible to send a printer a configuration string to set specific margin and font sizes.  The printer in question is an all singing, dancing Ricoh 1045 photocopier/printer combination.&lt;BR /&gt;Any pointers greatly appreciated.&lt;BR /&gt;Thanks in Advance.&lt;BR /&gt;C.</description>
      <pubDate>Fri, 04 Oct 2002 09:09:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-this-possible/m-p/2818986#M86172</guid>
      <dc:creator>Managed Services</dc:creator>
      <dc:date>2002-10-04T09:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is this possible?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-this-possible/m-p/2818987#M86173</link>
      <description>It is possible. All you need is a driver from Ricoh for HP-UX which can send the proper control codes to the printer depending on what you want. You wont get a driver from HP and Im unsure if Ricoh will do one for HP-UX.&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Oct 2002 09:12:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-this-possible/m-p/2818987#M86173</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2002-10-04T09:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Is this possible?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-this-possible/m-p/2818988#M86174</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Also check the printers emulation - it may emulate HP.&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Fri, 04 Oct 2002 09:49:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-this-possible/m-p/2818988#M86174</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2002-10-04T09:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Is this possible?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-this-possible/m-p/2818989#M86175</link>
      <description>There may be other suggestions as well if you try the printers forums at &lt;A href="http://bizforums.itrc.hp.com/cm/FamilyHome/1,,412,00.html" target="_blank"&gt;http://bizforums.itrc.hp.com/cm/FamilyHome/1,,412,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheryl</description>
      <pubDate>Fri, 04 Oct 2002 10:19:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-this-possible/m-p/2818989#M86175</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2002-10-04T10:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Is this possible?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-this-possible/m-p/2818990#M86176</link>
      <description>Looking into doing this for an HP and Tektronics printer brought me lots of grief, so I wish you luck.  I'll give you the pointers on where I got with mine to get you hopefully pointed in the correct direction.&lt;BR /&gt;&lt;BR /&gt;The HP printer used PJL for commands.  I had to rewrite the LP set to be wrappers and add the PJL to the prints where needed.  Getting the PJL commands from HP was as hard as removing wisdom teath.&lt;BR /&gt;&lt;BR /&gt;Tektronics required postscript commands for commands.  They shipped me all their commands with proof of ownership, and were really helpfull.  It still required a rewrite of the LP commands to add headers where needed.&lt;BR /&gt;&lt;BR /&gt;One day I'll be really insane, and merge the two systems.... well, maybe not.&lt;BR /&gt;&lt;BR /&gt;Shannon</description>
      <pubDate>Fri, 04 Oct 2002 15:04:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-this-possible/m-p/2818990#M86176</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2002-10-04T15:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is this possible?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-this-possible/m-p/2818991#M86177</link>
      <description>Printers in HP-UX do not have drivers. Instead, the SysV lp subsystem uses printer scripts to perform custom settings. Since there is no script for the Ricoh, you'll be using the dumb model or template script and that is where you create your custom strings.&lt;BR /&gt;&lt;BR /&gt;No need to wrapper the lp command in this case. Now, if you want to control options like fonts and margins, you'll need to add options to the script stored in /etc/lp/interface under the name of the printer. Examples of how -o options are handled are found in /usr/lib/lp/model where one of the early HP model scripts will be fairly readable (ie, laserjet). You'll need the Ricoh tech manual to put in the proper codes. You can edit the script while the lp spooler is running.</description>
      <pubDate>Fri, 04 Oct 2002 15:23:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-this-possible/m-p/2818991#M86177</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-10-04T15:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Is this possible?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-this-possible/m-p/2818992#M86178</link>
      <description>Yes this is possible.  We have been doing this for years.  Hopefully this fits your scenario.  We have created script files called PRNs.  Below is a sample PRN file called "prn17hp" which we use to set an HP laser printer to 17cpi. The "^[" is the &lt;ESC&gt; sequence.  You would need to find the specific &lt;ESC&gt; codes to manipulate the device to your liking. The "^[[5i" and "^[[4i" are common codes to open the printer port (LPT) on your PC. You will need to replace the other &lt;ESC&gt; codes to fit your needs as stated above.&lt;BR /&gt;&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;echo "^[[5i" # Printer on&lt;BR /&gt;echo "^[&amp;amp;k2S\c" # 17 pitch&lt;BR /&gt;cat ${1} # Print file&lt;BR /&gt;echo "^[R\c" # Reset printer&lt;BR /&gt;echo "^[[4i" # Printer off&lt;/ESC&gt;&lt;/ESC&gt;&lt;/ESC&gt;</description>
      <pubDate>Mon, 07 Oct 2002 12:19:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-this-possible/m-p/2818992#M86178</guid>
      <dc:creator>Thomas M. Williams_1</dc:creator>
      <dc:date>2002-10-07T12:19:54Z</dc:date>
    </item>
  </channel>
</rss>

