Stefano,
you should continuity on all 25 pins along the cable. Although pins 18 to 25 are grounds, one can not always assume the devices at either ends of the cable are using all of these. Better safe then sorry - have all 25 pins running through. At any rate, parallel cables are not terribly expensive.
Cheers