Thanks for the accept - you could also wait a few days to encourage different answers and then choose the best one. You can also change the accept at any time (not that I mind if you keep it where it is).
–
Yves KlettDec 20 '12 at 9:32

Do you want all the lattice points on the line, or just those on the line segment between the two given points?
–
murrayDec 20 '12 at 15:51

Mathematica is a registered trademark of Wolfram Research, Inc. While the mark is used herein with the limited permission of Wolfram Research, Stack Exchange and this site disclaim all affiliation therewith.