Cups Pdf

Discussion in 'Linux & BSD' started by Eagle710, Feb 9, 2008.

  1. Eagle710

    Eagle710 OSNN Senior Addict

    Messages:
    312
    Location:
    Toronto, Ontario, Canada
    I have tried forever to google this topic but nn one seems to know so i was wondering if anyone here knew......

    I setup CUPS-PDF and the deviceURI is cups-pdf:/ i would like to change that..... so research shows i have to change the /etc/cups/cups-pdf.conf file to be something like....

    Out /home/${USER}/Desktop WHAT I REALLY PUT WAS /exports/pdfs (samba share)

    doesnt seem to change it to that in the localhost:631 settings page.......i have restarted cups and stop/started the printer nothing works am i missing something?
     
  2. Dark Atheist

    Dark Atheist Moderator Political User Folding Team

    Messages:
    6,376
    Location:
    In The Void
    try adding it to smb.conf ;)
     
  3. Eagle710

    Eagle710 OSNN Senior Addict

    Messages:
    312
    Location:
    Toronto, Ontario, Canada
    Hi i have setup a CUps-PDF printer... works fine for local host printing.... im trying to get it to work so windows clients can print to it but no luck........ im using Samba to do this but not sure what i am missing every time i print it doesn't go through.... but locally it does .... cant figure out why. Here is my smb.conf

    # smb.conf is the main Samba configuration file. You find a full commented
    # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
    # samba-doc package is installed.
    # Date: 2007-09-22
    [global]
    workgroup = mshome
    netbios = Suse
    printing = cups
    printcap name = cups
    printcap cache time = 750
    cups options = raw
    load printers = Yes
    use client driver = Yes
    map to guest = Bad User
    include = /etc/samba/dhcp.conf
    logon path = \\%L\profiles\.msprofile
    logon home = \\%L\%U\.9xprofile
    logon drive = P:
    usershare allow guests = Yes
    add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
    domain logons = Yes
    domain master = Yes
    local master = Yes
    os level = 65
    preferred master = Yes
    security = user
    [homes]
    comment = Home Directories
    valid users = %S, %D%w%S
    browseable = No
    read only = No
    inherit acls = Yes
    [profiles]
    comment = Network Profiles Service
    path = %H
    read only = No
    store dos attributes = Yes
    create mask = 0600
    directory mask = 0700
    [users]
    comment = All users
    path = /home
    read only = No
    inherit acls = Yes
    veto files = /aquota.user/groups/shares/
    [groups]
    comment = All groups
    path = /home/groups
    read only = No
    inherit acls = Yes
    [printers]
    comment = All Printers
    path = /var/tmp
    printable = Yes
    create mask = 0600
    browseable = Yes
    guest ok = Yes
    [print$]
    comment = Printer Drivers
    path = /var/lib/samba/drivers
    write list = @ntadmin root
    force group = ntadmin
    create mask = 0664
    directory mask = 0775
    #[netlogon]
    # comment = Network Logon Service
    # path = /var/lib/samba/netlogon
    # write list = root
    [cups-pdfprinter]
    comment =
    path = /var/spool/samba
    printable = Yes
    guest ok = Yes
    printing = CUPS
    #use client driver = Yes
    [cups-pdf]
    comment =
    inherit acls = No
    path = /var/spool/cups-pdf/ANONYMOUS
    read only = No
    guest ok = Yes
    writeable = Yes
     
  4. j79zlr

    j79zlr Glaanies script monkey Political User

    Messages:
    2,725
    Location:
    Chicago
    You shouldn't have to have the last two sections, you are already sharing all printers with the [printers] section. Does cups-pdf show up in smbtree?
     
  5. Eagle710

    Eagle710 OSNN Senior Addict

    Messages:
    312
    Location:
    Toronto, Ontario, Canada
    The very last is the folder where the pdfs get printed toooo... ill remove the cups-pdf printer part