Open navigation

Parameters of ThinPrint Client Linux

in the file header for thnuclnt.conf

in the Connectors of the thnuclnt.conf file

in the printers list of the thnuclnt.conf file


The ThinPrint Client configuration file thnuclnt.conf is divided into three areas:

  1. global settings for the ThinPrint Client
  2. Connectors for the individual print protocols or startup modes
  3. CUPS printing with associated properties

The first two areas are edited manually. Parameter specifications for this purpose are found in the following two sections.

The third area is delineated automatically by the ThinPrint Client. Therefore, the parameters specified in the third section are usually not changed.


in the file header for thnuclnt.conf

Global settings for the ThinPrint Client are set up in the file header for thnuclnt.conf.

thnuclnt.conf: head parameter before the first Connector entry

ParameterFunction
autoupdate

  length of time before the ThinPrint Client (thnuclnt) automatically updates the file thnuclnt.conf

• o min.: 0 (= disabled, default), max.: 3600 (in seconds)

automap

 new printers detected by CUPS will be automatically enabled for AutoConnect or the Management Services

 default: false

autoid

 next printer ID to be used for printers auto-detected by CUPS

 0 = use lowest unallocated ID

autoidoffset

 offset added to the printer IDs created by autoid

 ID = next auto ID + autoid offset

 min.: 0 (default), max.: 7f00

updatecountcount up with each automatic change to thnuclnt.conf
editcountcount up each time thnuclnt.conf is edited
certfilepath of the client certificate in PEM format
certpwpassword of the private key in the PEM file (see certfile)
loglevel

set the loglevel to log:

error      = errors only

warning      = errors and warnings

notice      = notices, errors and warnings (default)

info      = infos, notices, errors and warnings

debug      = everything

The log file can be found in: /home/<user>/.thnuclnt/thnuclnt.log


in the Connectors of the thnuclnt.conf file

In the configuration file, Connectors begin with the term connector – e. g. connector tcpip or connector CS. Each Connector must have a unique name.

ParameterFunction
protocol

listen      = thnuclnt receives print jobs passively via TCP/IP or RDP (default port with TCP/IP: 4000)

interface

print protocol TCP/IP: 0.0.0.0, when protocol = listen (default for TCP port: 4000); examples:
interface = 0.0.0.0 
interface = 0.0.0.0:4010 

setdefaultspecifies whether AutoConnect should set the default printer in a remote desktop session (default: false)
bandwidth

 client-side bandwidth setting (bit/s or bps)

 has to be lower or equal than the corresponding ThinPrint Port setting (server side)

thnuclnt.conf: the last Connector entry and some of the parameters of the first printer on the list

 

in the printers list of the thnuclnt.conf file

After starting, the ThinPrint Client automatically inserts all CUPS printers into the thnuclnt.conf file. It uses the default values of the respective ThinPrint parameters for this (see below).

Note! Manually configuring the entries for the individual printers is usually not required! Only in special cases might it be necessary to change individual parameters – e. g. to not send certain printer information to AutoConnect or Management Services when requesting the list of printers.

ParameterFuncion
id

 ID number of the printer (on the ThinPrint Client), see also – Connecting printers to ThinPrint Ports

 must be unique

 is allocated automatically, depending on autoid (see above)

enabled

 printer is enabled (default: true)

 for ThinPrint Client, disabling has the same effect as deleting the printer

mapwhen the printer list is requested, printer information will be sent to AutoConnect or the Management Services (default: true)
default

 specifies ThinPrint Client's current or default printer

 only print jobs with missing printer ID are sent here

 only one printer can be the current or default printer (default: false)

devicedevice queue name for the CUPS printer
descriptionprinter description
tpsfilterfilter is set for the ThinPrint Output Gateway PS, for transferring driver properties to AutoConnect (default: false)
driverprinter driver
colordeviceindicates whether the printer supports color (= true)
defaultcolor­space

colorspace (cmyk, cmy, gray, rgb, rgbk or n)

defaultsize

default paper size (e. g. A4, Letter, 11×17 or Legal)

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.