Hi, Ive seen a lot a threads on this topic, and ill try to do it justice. First of all on a pdf output. you have to have adobi page maker version that will act as a print driver. not sure how to do this, you will have a few problems with wizard built reports in that your line may or may not show up corectly.
As for html, this is my favorite method of making fox26 make cool output.
ie:
use <filename> index <whatever> && say fields state,stcount
set printer to file c:\temp\outfile.htm
set printer on
?"<html>"
?"<body>"
?"<h2><i><b><center>"
?"This is the ultimate way to print data"
?"<table border=3>"
tot= 0
scan
?"<tr><td>"+state+"</td><td>",stcount,"</td>"
tot = tot+stcount
endscan
?"<tr><td>your state total is</td><td>",tot,"</td>"
?"</table>"
?"</body>"
?"</html>"
set printer to
set printer off
!explorer c:\temp\outfile.htm && win98 or higher
the trouble with being the early bird: sometimes you get the worm... sometimes you get the bird.