Ok, in this case, Nap(1,1), Nap(2,1) and Nap(3,1) should contain the exact names of the printers, which are the ones you should use in SET PRINTER TO NAME each time.
Also, you said that it prints to the second printer. Try to mark the line that sets the printer to the second printer as remark ( put some *** before the line so it doesn't run ), set the printer to the second printer BEFORE you run your program , and see where does it print. If it still prints to the second printer, this means there is a typo in the first printer name.
HTH
Jaime
>Hello,
>I issued the following commands
>?APRINTERS(Nap)
>DISPLAY MEMORY LIKE Nap
>
>and it gave an output like this:
>( 1, 1)
>( 1, 2)
>( 2, 1)
>( 2, 2)
>( 3, 1)
>( 3, 2)
>
>then I looked into the printers folder and see 1 hp printer (default), 1 epson (network printer) and a fax...
>
>Thanks
Why do programs stop working correctly as soon as you leave the Fox?