linksp Xstep parport.0.pin-03-out linksp Xdir parport.0.pin-02-out linksp Ystep parport.0.pin-05-out linksp Ydir parport.0.pin-04-out linksp Zstep parport.0.pin-07-out linksp Zdir parport.0.pin-06-out
That puts the step commands on the odd numbered pins and the direction commands on the even numbered pins.
For xylotex, replace those commands with:
linksp Xstep parport.0.pin-02-out linksp Xdir parport.0.pin-03-out linksp Ystep parport.0.pin-04-out linksp Ydir parport.0.pin-05-out linksp Zstep parport.0.pin-06-out linksp Zdir parport.0.pin-07-out
You can generate any custom pinout the same way.
For convenience, the two pinouts above are included in the emc2/configs directory, as standard_pinout.hal and xylotex_pinout.hal