For most Clipper apps (Summer '87 and 5.x) you don't need to change the code at all.
First determine the UNC for the printer in the format \\computername\printername which can usually be found in the Control Pannel "Printers" applet.
I usually wrap Clipper programs inside a batch file when running on Windows versions after Windows 98. The batch file sets any environment variables (such as CLIP, etc) and handles setting up the legacy support (like printers). The file looks something like:
Code:
SET CLIP=M512;F39
NET USE LPT1: \\computername\printername
CLIPAPP.EXE
NET USE LTP1: /d
This ought to get you at least rudimentary printing. Note that using Legacy support usually implies that reports won't print until the program exits.
-PatP