Printer Configuration
Fusion File Share provides basic print support. To configure the printer as a share in the ‘tsmb.conf’ file, find the printer’s exact name as detected by the Linux printing system (i.e. the name of the corresponding printing system queue name).
Finding a Printer’s name
Run the following command to find a printer’s name:
$ cat /etc/printcap
The output should be similar to this:
$ cat /etc/printcap
# 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:
Alternatively, you can use the following command to find the printer name:
$ lpstat -d
The output of this command should be similar to this:
$ lpstat -d
system default destination: Hewlett-Packard-HP-Color-LaserJet-CM3530-MFP
Following the two previous examples, the exact printer name is ‘Hewlett-Packard-HP-Color-LaserJet-CM3530-MFP’.
Configure Printer Share
Next, configure ‘tsmb.conf’ to enable print support and configure the printer share.
Add the option ‘printq_spool_path’ to the global configuration plane:
## Directory for temporary printer files
printq_spool_path = /tmp/printq
Create a separate share for each printer that you wish to share.
[share]
netname = MyPrinter
remark = Printer
type = printer
path = Hewlett-Packard-HP-Color-LaserJet-CM3530-MFP
permissions = everyone:full
[/share]
- ‘type’ – the type of share, specified as ‘printer’