Can we use master.serial.lib functions in my code for using parallel port of the slave in RCM4000?

I assume you meant master_serial.lib. Yes.

Take a look at samples\slaveport*.c