Feature #1626

Load CUPS printers

Added by Giacomo Sanchietti over 8 years ago. Updated over 8 years ago.

Status:CLOSEDStart date:01/16/2013
Priority:NormalDue date:02/28/2013
Assignee:-% Done:

100%

Category:nethserver-samba
Target version:v6.4-alpha2
Resolution: NEEDINFO:

Description

Add template fragment to /etc/samba/smb.conf template for printer automatic loading from CUPS.

Add an option in web UI to enable/disable CUPS integration.

load printers = yes
{
  my $useCups = $smb{'UseCups'} || 'disabled';
  if ($useCups eq 'enabled') {  
    $OUT.="printing = cups\n";
    $OUT.="printcap name = cups\n";
  }
}

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
{
   $OUT .= "use client driver = ";
   $OUT .= $smb{UseClientDriver} || "yes";
}

Associated revisions

Revision aaab9730
Added by Giacomo Sanchietti over 8 years ago

createlinks, smb.conf: move samba configuration to nethserver-samba package. Refs #1626

Revision 92ff305f
Added by Giacomo Sanchietti over 8 years ago

smb.conf template: add CUPS integration. Refs #1626

Revision d05066b9
Added by Giacomo Sanchietti over 8 years ago

createlinks: expand ssl crt and key on nethserver-cups-update event. Refs #1626

History

#1 Updated by Davide Principi over 8 years ago

  • Target version set to v6.4-alpha2

#3 Updated by Davide Principi over 8 years ago

  • Project changed from 2 to NethServer 6

#4 Updated by Giacomo Sanchietti over 8 years ago

  • Status changed from NEW to MODIFIED

Implemented using UseCups property.
USeCups can be enabled or disabled. Default is enabled.

For now there's no need to expose this prop in the UI.

#5 Updated by Davide Principi over 8 years ago

  • Assignee set to Giacomo Sanchietti

#6 Updated by Davide Principi over 8 years ago

  • % Done changed from 0 to 100

#7 Updated by Davide Principi over 8 years ago

  • Status changed from MODIFIED to CLOSED

#8 Updated by Davide Principi over 8 years ago

State set to closed on NethServer 6.4 alpha2 release

Also available in: Atom PDF