First you need to tell NoMachine which printer to use. What you have to do is add the printer you want to use from within the session (whether it’s the default printer or not on the computer you are connecting to or from).
See here:
https://kb.nomachine.com/DT10R00167
If you have an open document in the remote session, you will be able to print it on your local printer. Likewise, if you have a document open on your local desktop, you can send it to the remote printer (server-side) for printing provided you have a connection open.
Step 1 – Click on Connect a printer
Step 2 – Select from the available printers (Fig. 8)
Step 3 – Click ‘Import/Export this printer at session start-up’ if you want this to be available each time you run the remote session. Check the box ‘Make this the default printer’ if required
Step 4 – Click Connect, and wait for a green dot to light up next to your selected printer
Step 5 – Click the back button to close the menu