<?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: Line printer in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320325#M187280</link>
    <description>Thanks Shaikh for the quick response, but questions still remain :&lt;BR /&gt;On the Cards list on SAM, I see this:&lt;BR /&gt;&lt;BR /&gt;10/12/0    CentIf   Built-in Parallel Interface&lt;BR /&gt;&lt;BR /&gt;Since there is a Centif Parallel Interface card, can I take Centif out of the kernel ? Or will the Centif card use lpr2 if Centif is out ?</description>
    <pubDate>Fri, 02 Jul 2004 04:33:21 GMT</pubDate>
    <dc:creator>Massimo_37</dc:creator>
    <dc:date>2004-07-02T04:33:21Z</dc:date>
    <item>
      <title>Line printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320315#M187270</link>
      <description>I am running a K380 machine with HP Ux 10.2&lt;BR /&gt;uname -m returns 9000/800&lt;BR /&gt;My problem is that the line printer connected as local printer to pararllel port of k380 does not work. When i do an ioscan on it i get among other things..&lt;BR /&gt;ext_bus     2  10/12/0      CentIf      CLAIMED   INTERFACE Built-in Parallel Interface                    /dev/c2t0d0_lp                                       &lt;BR /&gt;When i check device drivers on SAM I see lpr2 as "IN" , but does not see that on ioscan.&lt;BR /&gt;My understanding is we need lpr2 to print to line printer through parallel port. My question is &lt;BR /&gt;1)should I take the Centif Parallel Interface "OUT" from the kernel, and if so, is it okay ?&lt;BR /&gt;2) As lpr2 is already "IN", would taking CEntif "OUT" make lpr2 use the parallel printer port and connect to device.&lt;BR /&gt;&lt;BR /&gt;Or is it something completely different that I have to do to get the printer working ? Many thanks in anticipation</description>
      <pubDate>Thu, 01 Jul 2004 05:52:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320315#M187270</guid>
      <dc:creator>Massimo_37</dc:creator>
      <dc:date>2004-07-01T05:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Line printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320316#M187271</link>
      <description>Dear George,&lt;BR /&gt;&lt;BR /&gt;It does not seems a problem related to driver in kernel.&lt;BR /&gt;Have you tried by redirecting the output of a command to the device file of the port. For example&lt;BR /&gt;&lt;BR /&gt;#ls -l &amp;gt;&amp;gt;/dev/c2t0d0_lp&lt;BR /&gt;&lt;BR /&gt;Is it working ? &lt;BR /&gt;If it is working your hardware will be ok. In that case if it is not working through scheduler then check for SCHEDLOCK file , if exists delete it.&lt;BR /&gt;&lt;BR /&gt;If it is not working your hardware is suspected to be faulty.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devender K.</description>
      <pubDate>Thu, 01 Jul 2004 06:28:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320316#M187271</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2004-07-01T06:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Line printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320317#M187272</link>
      <description>deleted SCHEDLOCK file - Tried&lt;BR /&gt;&lt;BR /&gt;ls -l&amp;gt;&amp;gt;/dev/c2t0d0_lp&lt;BR /&gt;returns&lt;BR /&gt;sh: /dev/c2t0d0_lp: Cannot create the specified file - Althoug there is a file&lt;BR /&gt;crw-r--r--   1 lp         bin        216 0x020002 Jul  1 12:40 c2t0d0_lp  &lt;BR /&gt;&lt;BR /&gt;So, is the parallel interface card faulty ? Because we can print to this from another HPUX 10.2 server.&lt;BR /&gt;But on that server ioscan returns&lt;BR /&gt;ext_bus     2  5         lpr2      CLAIMED   INTERFACE HP 28655A - Parallel Interface                   /dev/c2t0d0_lp       /dev/diag/c2t0d0_lp                &lt;BR /&gt;It uses lpr2 although Centif is also "IN" on that server- Can I make this device use lpr2 instead of Centif Many Thanks</description>
      <pubDate>Thu, 01 Jul 2004 06:45:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320317#M187272</guid>
      <dc:creator>Massimo_37</dc:creator>
      <dc:date>2004-07-01T06:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Line printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320318#M187273</link>
      <description>hi,&lt;BR /&gt;Just a small clarification:&lt;BR /&gt;Centif is used for series 700 &amp;amp; &lt;BR /&gt;lpr2 is used for series 800.&lt;BR /&gt;Yours is K class i.e. series 800 so no matter Centif is out or in ..&lt;BR /&gt;Since you are talking about Making Centif in and out seems you are OK rebooting the server.&lt;BR /&gt;Since the printer is working from other server and it was aslo working with this server in this case,&lt;BR /&gt;I will say is possible just simply restart&lt;BR /&gt;server and give a try.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Jul 2004 07:04:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320318#M187273</guid>
      <dc:creator>Shaikh Imran</dc:creator>
      <dc:date>2004-07-01T07:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: Line printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320319#M187274</link>
      <description>Try add a Printer Manually &lt;BR /&gt;Stop the LP spooler: &lt;BR /&gt;   hpux# lpshut&lt;BR /&gt;&lt;BR /&gt;Add the printer to the LP spooler. In this example, the printer device is /dev/lp and the model file is laserjet: &lt;BR /&gt;   hpux# lpadmin -phpljet -v/dev/lp -mlaserjet&lt;BR /&gt;&lt;BR /&gt;(Be sure to use the appropriate model file for the printer. Generally, the model files are located in /usr/lib/lp. &lt;BR /&gt;These files describe the characteristics supported by the printer.) &lt;BR /&gt;&lt;BR /&gt;Allow print requests to be accepted: &lt;BR /&gt;   hpux# accept hpljet&lt;BR /&gt;&lt;BR /&gt;This command allows the LP spooler to accept print requests for this printer. &lt;BR /&gt;&lt;BR /&gt;Enable printing: &lt;BR /&gt;   hpux# enable hpljet&lt;BR /&gt;&lt;BR /&gt;This command allows the LP spooler to actually print the job. &lt;BR /&gt;&lt;BR /&gt;Restart the LP spooler: &lt;BR /&gt;   hpux# lpsched&lt;BR /&gt;&lt;BR /&gt;Test the printer. &lt;BR /&gt;   hpux# lp -dhpljet /etc/hosts&lt;BR /&gt;   &lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Bruno&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Jul 2004 07:43:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320319#M187274</guid>
      <dc:creator>Bruno Ganino</dc:creator>
      <dc:date>2004-07-01T07:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Line printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320320#M187275</link>
      <description>I tried rebooing just now, but still Centif seems to be linked with the parallel interface. And if you look on my ioscan output you may have noticed that although it says CLAIMED, there is no device file assosciated with it. I thought that the device file would be created by the OS automatically on startup. DO I have to create this device file manually - with lpr2?&lt;BR /&gt;Anyone done this before ?</description>
      <pubDate>Thu, 01 Jul 2004 07:43:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320320#M187275</guid>
      <dc:creator>Massimo_37</dc:creator>
      <dc:date>2004-07-01T07:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Line printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320321#M187276</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Check whether the Printer device file is existing By.&lt;BR /&gt;#/usr/sbin/ioscan -fn -d lpr2&lt;BR /&gt;&lt;BR /&gt;O/p Sholud be like the attached txt file.&lt;BR /&gt;&lt;BR /&gt;If not&lt;BR /&gt;Then simply add the lpr2 driver in the kernel and rebuild the kernel and reboot &lt;BR /&gt;the server.&lt;BR /&gt;This should automatically create a device &lt;BR /&gt;file as /dev/c2t0d0_lp.&lt;BR /&gt;&lt;BR /&gt;I have never created this device file &lt;BR /&gt;manually.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Jul 2004 00:34:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320321#M187276</guid>
      <dc:creator>Shaikh Imran</dc:creator>
      <dc:date>2004-07-02T00:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Line printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320322#M187277</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Check whether the Printer device file is existing By.&lt;BR /&gt;#/usr/sbin/ioscan -fn -d lpr2&lt;BR /&gt;&lt;BR /&gt;O/p Sholud be like the attached txt file.&lt;BR /&gt;&lt;BR /&gt;If not&lt;BR /&gt;Then simply add the lpr2 driver in the kernel and rebuild the kernel and reboot &lt;BR /&gt;the server.&lt;BR /&gt;This should automatically create a device &lt;BR /&gt;file as /dev/c2t0d0_lp.&lt;BR /&gt;&lt;BR /&gt;I have never created this device file &lt;BR /&gt;manually.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Jul 2004 00:34:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320322#M187277</guid>
      <dc:creator>Shaikh Imran</dc:creator>
      <dc:date>2004-07-02T00:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Line printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320323#M187278</link>
      <description>OUtput on ioscan is as below, not that it is Centif instead of lpr2. But however adding the printer on SAM as a local printer to /dev/c2t0d0_lp does not work. The print job stays in queue and does not print - &lt;BR /&gt;&lt;BR /&gt;ext_bus 2 10/12/0 CentIf CLAIMED INTERFACE Built-in Parallel Interface /dev/c2t0d0_lp &lt;BR /&gt;</description>
      <pubDate>Fri, 02 Jul 2004 03:55:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320323#M187278</guid>
      <dc:creator>Massimo_37</dc:creator>
      <dc:date>2004-07-02T03:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Line printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320324#M187279</link>
      <description>Hi,&lt;BR /&gt;As i said earlier that you are using a K class server i.e. series 800 so the parellel port driver for that is lpr2&lt;BR /&gt;&lt;BR /&gt;Coming back to your own original post question No 2).&lt;BR /&gt;Please remove Centif from the kernel and keep&lt;BR /&gt;only lpr2.Reboot the server this must whow you the device file for lpr2 as &lt;BR /&gt;/dev/cxtxdx_lp&lt;BR /&gt;and you can use lpadmin to create the default printer and ask the printer to accept the request and give the printing command and Test.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Jul 2004 04:29:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320324#M187279</guid>
      <dc:creator>Shaikh Imran</dc:creator>
      <dc:date>2004-07-02T04:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Line printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320325#M187280</link>
      <description>Thanks Shaikh for the quick response, but questions still remain :&lt;BR /&gt;On the Cards list on SAM, I see this:&lt;BR /&gt;&lt;BR /&gt;10/12/0    CentIf   Built-in Parallel Interface&lt;BR /&gt;&lt;BR /&gt;Since there is a Centif Parallel Interface card, can I take Centif out of the kernel ? Or will the Centif card use lpr2 if Centif is out ?</description>
      <pubDate>Fri, 02 Jul 2004 04:33:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320325#M187280</guid>
      <dc:creator>Massimo_37</dc:creator>
      <dc:date>2004-07-02T04:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Line printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320326#M187281</link>
      <description>Hi,&lt;BR /&gt;Once you remove the Cenif&lt;BR /&gt;lpr2 will be used instead.....&lt;BR /&gt;&lt;BR /&gt;Please refer the attached doc for printer configuration.&lt;BR /&gt;&lt;BR /&gt;This will clear max doubts...&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Jul 2004 04:43:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320326#M187281</guid>
      <dc:creator>Shaikh Imran</dc:creator>
      <dc:date>2004-07-02T04:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Line printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320327#M187282</link>
      <description>George, you have read my previous post  ?&lt;BR /&gt;Bruno</description>
      <pubDate>Fri, 02 Jul 2004 06:47:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320327#M187282</guid>
      <dc:creator>Bruno Ganino</dc:creator>
      <dc:date>2004-07-02T06:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Line printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320328#M187283</link>
      <description>Bruno, i did- Thank you- But my problem is only with this line printer which has to be added on a parallel port. I added other printers through SAM, and they are fine- My problem is mainly witht the type of parallel interface&lt;BR /&gt; As I have got only Cetronics parallel interface card and my machine is 800 series, I don't think now that I can try and add this printer , unless I change the parallel interface card</description>
      <pubDate>Fri, 02 Jul 2004 06:56:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320328#M187283</guid>
      <dc:creator>Massimo_37</dc:creator>
      <dc:date>2004-07-02T06:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Line printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320329#M187284</link>
      <description>The parallel interface on the K-class (and earlier models) is quite narrow in it's ability to accomodate the *MANY* versions of the parallel interface, commonly called Centronics. Centronics was the first printer company to define a fairly standard high-speed interface to supplement RS-232 (serial). Large line printers in the 60's and 70's mostly had proprietary interfaces, and it was not until low-cost dot matrix came out that a more portable interface standard emerged.&lt;BR /&gt; &lt;BR /&gt;However, the Centronics interface design varied even within Centronics printers so when the PC market began to drive common (and low-cost) printer interfaces, a lot of attention was paid to integrating smart BIOS and/or electronics to accomodate the differing standards. The standards varied in terms of handshaking and whether these protocol signals were levels or pulsed.&lt;BR /&gt; &lt;BR /&gt;The HP implementation was to control the interface using various minor number values and the man page called "cent" will give the details. There are five separate modes (minor number values) which can all be setup by creating different device files and varying the last hex digit. You can create the device files like this:&lt;BR /&gt; &lt;BR /&gt;mknod /dev/c2t0d0_lp1 c 216 0x020001&lt;BR /&gt;mknod /dev/c2t0d0_lp2 c 216 0x020002&lt;BR /&gt;mknod /dev/c2t0d0_lp3 c 216 0x020003&lt;BR /&gt;mknod /dev/c2t0d0_lp4 c 216 0x020004&lt;BR /&gt;mknod /dev/c2t0d0_lp5 c 216 0x020005&lt;BR /&gt; &lt;BR /&gt;Mode 6 is not available for 800 series (K380) boxes. Now try cat'ing a simple file to each device file:&lt;BR /&gt; &lt;BR /&gt;cat /etc/issue &amp;gt; /dev/c2t0d0_lp1&lt;BR /&gt;cat /etc/issue &amp;gt; /dev/c2t0d0_lp2&lt;BR /&gt;cat /etc/issue &amp;gt; /dev/c2t0d0_lp3&lt;BR /&gt;cat /etc/issue &amp;gt; /dev/c2t0d0_lp4&lt;BR /&gt;cat /etc/issue &amp;gt; /dev/c2t0d0_lp5&lt;BR /&gt; &lt;BR /&gt;One (or more) of those device files may work. If multiple device files work, use long listings to verify the most reliable handshake mode. NOTE: cat'ing direct to the port will require filtering ASCII files because in Unix, ASCII files are string followed only by a linefeed (LF). For multi-line files, use this:&lt;BR /&gt; &lt;BR /&gt;ux2dos /etc/issue &amp;gt; /dev/c2t0d0_lp1&lt;BR /&gt; &lt;BR /&gt;Note also that cat'ing direct will leave off the formfeed between print jobs, but this is just a test. Once you find a device file that works, add the printer using the dumb model script and you should be ready to print. If none of the files work, you may have one of the few completely incompatible parallel interfaces on your printer. While it may work fine on a PC, even HP's RuggedWriter (a 1980's dot matrix printer) could not be made to work with any HP 9000 server.&lt;BR /&gt; &lt;BR /&gt;In that case, you have an even better solution than parallel: HP makes a Centronics-to-LAN adapter box called a JetDirect External. The 170x is only $129 retail and allows you to move your printer to anywhere you can run a LAN cable. It also allows other machines such as PCs to print to the printer (although you can lockout any incoming jobs based on IPP address). The JetDirect External box has multi-protocol parallel interface capability that is as universal as a typical PC.</description>
      <pubDate>Fri, 02 Jul 2004 07:29:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320329#M187284</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-07-02T07:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Line printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320330#M187285</link>
      <description>Thank you very much- I tried adding the printer with a Jet Direct Card and it works. I think this is the best solution,a s we also got an ip address for this printer and can be accessed from any other machine</description>
      <pubDate>Fri, 02 Jul 2004 07:35:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-printer/m-p/3320330#M187285</guid>
      <dc:creator>Massimo_37</dc:creator>
      <dc:date>2004-07-02T07:35:29Z</dc:date>
    </item>
  </channel>
</rss>

