PF subcode can be obtained in no time. Hope you know that an establishment has to register with the PF department website, and contributions should be made by generating a challan from there.
So, first, register yourself online with the PF website (if not done earlier). Then, using your login ID, you can generate a subcode for any of your branches in any part of India. I need to check whether a similar facility is available in ESI.
But regarding your earlier query about PF & ESI for contract labor, our dear members have provided you with enough information. Keep going on...