<?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 Samba-2.2.0 printing in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-2-2-0-printing/m-p/2529012#M868044</link>
    <description>How can I  print to a HP LaserJet 5 on a HPUX11.0 box&lt;BR /&gt;using samba-2.2.0 from a WinNT4.0 PC?&lt;BR /&gt;When I try to install the printer the printer connect dialog&lt;BR /&gt;tells me "NO DRIVER AVAILABLE FOR THIS PRINTER"&lt;BR /&gt;and forces me to install the driver local.&lt;BR /&gt;I say ok, and what I get is a dialogbox to select a &lt;BR /&gt;printer driver from diskette. If I select "Search" and select a driver from diskette my PC tells me that the driver is unknown. &lt;BR /&gt;&lt;BR /&gt;Is there any one who can help?&lt;BR /&gt; &lt;BR /&gt;PS. Samba works fine with printing on Win98, so I &lt;BR /&gt;think my smb.conf is ok.&lt;BR /&gt;On both PC's I'm logged in as a user that has a valid&lt;BR /&gt;access to the HP-UX machine.&lt;BR /&gt;&lt;BR /&gt;Here is the smb.conf:&lt;BR /&gt;&lt;BR /&gt;# Global parameters&lt;BR /&gt;[global]&lt;BR /&gt;        encrypt passwords = Yes&lt;BR /&gt;        null passwords = Yes&lt;BR /&gt;        printing = bsd&lt;BR /&gt;        load printers = yes&lt;BR /&gt;&lt;BR /&gt;[HP LaserJet 5]&lt;BR /&gt;        comment = HPLJ5MP Printer&lt;BR /&gt;        valid users = werner&lt;BR /&gt;        path = /tmp&lt;BR /&gt;        printer = hplj5mp&lt;BR /&gt;        public = no&lt;BR /&gt;        writable = no&lt;BR /&gt;        printable = yes</description>
    <pubDate>Wed, 16 May 2001 11:53:08 GMT</pubDate>
    <dc:creator>Werner Rips</dc:creator>
    <dc:date>2001-05-16T11:53:08Z</dc:date>
    <item>
      <title>Samba-2.2.0 printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-2-2-0-printing/m-p/2529012#M868044</link>
      <description>How can I  print to a HP LaserJet 5 on a HPUX11.0 box&lt;BR /&gt;using samba-2.2.0 from a WinNT4.0 PC?&lt;BR /&gt;When I try to install the printer the printer connect dialog&lt;BR /&gt;tells me "NO DRIVER AVAILABLE FOR THIS PRINTER"&lt;BR /&gt;and forces me to install the driver local.&lt;BR /&gt;I say ok, and what I get is a dialogbox to select a &lt;BR /&gt;printer driver from diskette. If I select "Search" and select a driver from diskette my PC tells me that the driver is unknown. &lt;BR /&gt;&lt;BR /&gt;Is there any one who can help?&lt;BR /&gt; &lt;BR /&gt;PS. Samba works fine with printing on Win98, so I &lt;BR /&gt;think my smb.conf is ok.&lt;BR /&gt;On both PC's I'm logged in as a user that has a valid&lt;BR /&gt;access to the HP-UX machine.&lt;BR /&gt;&lt;BR /&gt;Here is the smb.conf:&lt;BR /&gt;&lt;BR /&gt;# Global parameters&lt;BR /&gt;[global]&lt;BR /&gt;        encrypt passwords = Yes&lt;BR /&gt;        null passwords = Yes&lt;BR /&gt;        printing = bsd&lt;BR /&gt;        load printers = yes&lt;BR /&gt;&lt;BR /&gt;[HP LaserJet 5]&lt;BR /&gt;        comment = HPLJ5MP Printer&lt;BR /&gt;        valid users = werner&lt;BR /&gt;        path = /tmp&lt;BR /&gt;        printer = hplj5mp&lt;BR /&gt;        public = no&lt;BR /&gt;        writable = no&lt;BR /&gt;        printable = yes</description>
      <pubDate>Wed, 16 May 2001 11:53:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-2-2-0-printing/m-p/2529012#M868044</guid>
      <dc:creator>Werner Rips</dc:creator>
      <dc:date>2001-05-16T11:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Samba-2.2.0 printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-2-2-0-printing/m-p/2529013#M868045</link>
      <description>You always need to install the driver locally - both on Win9x and WinNT/2k. So first of all you shold obtain the appropriate driver from the hp website. You might need to get different versions of the driver for Win98 and NT.&lt;BR /&gt;&lt;BR /&gt;Now you have two choices:&lt;BR /&gt;&lt;BR /&gt;1) Install the printer driver on your WinNT machine. Then connect to the SAMBA printserver - should work now.&lt;BR /&gt;&lt;BR /&gt;2) Use the 'automatic printer driver installation' feature of SAMBA. Starting with SAMBA 2.2.0 this now works for Windows NT/2k also!&lt;BR /&gt;&lt;BR /&gt;The SAMBA documentation should tell you exactly what you need to do. Personally I can recommend the O'Reilly book 'Using SAMBA' - lots of examples, recipes and detailed explanations there!&lt;BR /&gt;&lt;BR /&gt;After you've placed the Windows printer driver on your SAMBA server (above mentioned docs tell you how to do this) you need to edit your smb.conf so SAMBA will offer the driver to the Windows clients.&lt;BR /&gt; &lt;BR /&gt;The smb.conf entry for your printer might then look like this:&lt;BR /&gt;&lt;BR /&gt;----snip----&lt;BR /&gt;[lj5m]&lt;BR /&gt;        comment = HP LaserJet 5M PostScript&lt;BR /&gt;        printer = lj5m&lt;BR /&gt;        printable = yes&lt;BR /&gt;        path=/var/spool/sambaprint&lt;BR /&gt;        read only = yes&lt;BR /&gt;        guest ok = yes&lt;BR /&gt;        print command = lp -c -d%p -o raw %s; rm %s&lt;BR /&gt;        printer driver = HP LaserJet 5/5M PostScript&lt;BR /&gt;        printer driver location = \\%L\PRINTER$&lt;BR /&gt;----snip----&lt;BR /&gt;&lt;BR /&gt;This works for me.&lt;BR /&gt;&lt;BR /&gt;When you first connect the printer share from your WinNT machine the printer driver will be automagically retrieved from your SAMBA server and installed.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. :-)&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Enno.</description>
      <pubDate>Wed, 16 May 2001 19:10:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-2-2-0-printing/m-p/2529013#M868045</guid>
      <dc:creator>Enno Baars</dc:creator>
      <dc:date>2001-05-16T19:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Samba-2.2.0 printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-2-2-0-printing/m-p/2529014#M868046</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;the answer given above seems enough to me.&lt;BR /&gt;&lt;BR /&gt;Something I noticed was that you have the global variable printing set to bsd.&lt;BR /&gt;&lt;BR /&gt;This should be hpux...&lt;BR /&gt;&lt;BR /&gt;Jeroen.</description>
      <pubDate>Thu, 17 May 2001 07:10:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-2-2-0-printing/m-p/2529014#M868046</guid>
      <dc:creator>Jeroen_D</dc:creator>
      <dc:date>2001-05-17T07:10:55Z</dc:date>
    </item>
  </channel>
</rss>

