Edit your HomeDirectory/.Xdefaults file by adding this resource:
application_name*printer printer.name
If you do not have an .Xdefaults file, create the file in your home directory.
You want to direct all printed help topics of an application named ImageScan to a printer named laser2 rather than to your default printer.
Add this resource to your .Xdefaults file:
ImageScan*printer: laser2