Printers
Fusion File Share Server supports printer sharing over SMB. To share a printer, it must first be detected and properly configured on the Linux server running Fusion File Share Server.
Configuring A Printer Share
To configure a printer share, follow these steps:
- Discover the printer's name.
- Add the printer share to the Fusion File Share Server configuration.
Discovering the Printer's Name
Run the following command to retrieve the printer name:
cat /etc/printcap
The output should resemble the following:
# This file was automatically generated by cupsd(8) from the
# /etc/cups/printers.conf file. All changes to this file
# will be lost.
Hewlett-Packard-HP-Color-LaserJet-CM3530-MFP|Hewlett-Packard HP Color LaserJet CM3530 MFP:rm=ceirt:rp=Hewlett-Packard-HP-Color-LaserJet-CM3530-MFP:
From the output above, the printer name is identified as Hewlett-Packard-HP-Color-LaserJet-CM3530-MFP
.
The following parameters specify that a share is intended for a printer:
Adding a Printer Share
You can add a printer share via the configuration file or the command line interface (CLI). Unlike disk shares, printer shares have a distinct type parameter, with the path pointing to the printer's name, and the permissions should be at least Change.
Adding a Printer Share Using the Configuration File
To configure a printer share, add a [share]
section to the configuration file. Specify the type
as printer
, set the path
parameter to the printer's name, and configure the required permissions. For example:
[share]
netname = MyPrinter
type = printer
path = Hewlett-Packard-HP-Color-LaserJet-CM3530-MFP
permissions = everyone:full
[/share]
Adding a Printer Share Using the CLI
You can also add a printer share via the CLI, using the tsmb-cfg share add
command. For example:
tsmb-cfg share add -n MyPrinter -t printer -p Hewlett-Packard-HP-Color-LaserJet-CM3530-MFP -P everyone:full