Printing without direct PDF printing support
If your network printer does not support direct PDF printing, you can print PDFs either through a file share and a PDF reader, or by configuring a local printer. See Adding a printer to a connection.
-
Define a
Windows Server Printer device on the
LN
server.
- In LN, start the Device Data (ttaad3500m000) session.
-
Add a device.
Points of attention:
- Device Type
- Select Windows Server Printer.
- Argument for Conversion Program
- In an on-premises LN installation on a Unix or Windows platform, specify -cloudPrinting
- In a cloud installation, leave blank.
- Device Queue
-
- For a network printer, specify the UNC path in this format:
\\servername\printername
. - For a local printer, i.e. a printer that is available under
“Printers and scanners” on the Windows machine where the
transfer service is running, use the local name to specify the
printer. This name must match the name of the local
printer.
For a local printer, you can skip steps 2 and 3 as the Transfer Service can print the PDF itself.
- For a network printer, specify the UNC path in this format:
See the online help of the Device Data (ttaad3100s000) session.
-
On the client, install a PDF reader that can open the pdf and send
it from a command line to the printer.
For example, install Sumatra PDF.
-
Specify the command line for the file share.
- In the LN Transfer Service configuration console, open the connection node and select the file share.
-
In the File Share view, specify this information:
- Command
- Specify the appropriate executable and arguments. For details, see the documentation of the PDF reader.
- For example, if you installed Sumatra PDF on the client, browse to the SumatraPDF.exe file to specify the correct path for the executable. For example: C:\Program Files\SumatraPDF\SumatraPDF.exe
- Specify the command line arguments, containing the UNC path
of the printer and the
$file
placeholder. For example:-print-to \\SRV_DEV2\PNL0123 -exit-when-done $file
You can now print with the options specified on the command line.