Feature #1626
Load CUPS printers
| Status: | CLOSED | Start date: | 01/16/2013 | |
|---|---|---|---|---|
| Priority: | Normal | Due 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
createlinks, smb.conf: move samba configuration to nethserver-samba package. Refs #1626
smb.conf template: add CUPS integration. Refs #1626
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