<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 10-11-18 11:03 AM, Bryan J. Maupin wrote:
    <blockquote cite="mid:4CE54E65.5070009@uta.edu" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <font face="Helvetica, Arial, sans-serif">1. If to add a raw print
        queue I simply need to not specify a PPD, what is the "-m raw"
        option
        of lpadmin for?<br>
      </font></blockquote>
    <br>
    My guess is that supplying '-m raw' removes a PPD from a queue, if
    one exists.  You can create a queue without supplying a PPD, create
    another one with '-m raw', and compare the two.<br>
    <br>
    <blockquote cite="mid:4CE54E65.5070009@uta.edu" type="cite"><font
        face="Helvetica, Arial, sans-serif">
      </font><font face="Helvetica, Arial, sans-serif">2. How do I set
        up
        Windows printers to be able to print raw?  The document I
        mentioned (</font><a moz-do-not-send="true"
        class="moz-txt-link-freetext"
href="http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/CUPS-printing.html#id2634124">http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/CUPS-printing.html#id2634124</a><font
        face="Helvetica, Arial, sans-serif">)</font> says:<br>
      <br>
      "In the <code class="filename">smb.conf</code> file <code
        class="constant">[printers]</code> section add <a
        moz-do-not-send="true" class="link"
href="http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/smb.conf.5.html#USECLIENTDRIVER"
        target="_top">use client driver = Yes</a>"<br>
      <br>
      However in my smb.conf file, I have this line commented out:<br>
      <br>
      ";    cups options = raw"<br>
      <br>
      Which is correct?<br>
    </blockquote>
    <br>
    I suggest you consult the man pages on 'use client driver' and 'cups
    options = raw' options for smb.conf.  Each have a different
    purpose.  As I said, if you create a cups queue without a PPD (or
    specify '-m raw') then the "cups options = raw" in smb.conf is no
    longer necessary.<br>
    <br>
    <blockquote cite="mid:4CE54E65.5070009@uta.edu" type="cite">
      3. The above approaches to raw printing via Samba seem to be all
      or
      nothing.  Is it possible for me to set up some print queues so
      that
      Windows will use the CUPS drivers and others so that Windows will
      use
      standard print drivers (raw)?<br>
    </blockquote>
    <br>
    Consulting the man page for smb.conf will show that 'use client
    driver' and 'cups options' can be set per (printer) share.  It is
    not all or nothing.  <br>
    <br>
    afaik, if you have a cups queue with a PPD then that job will be
    filtered.  A job that passes through a cups queue without a PPD will
    print raw.<br>
  </body>
</html>