You can never change an object type.
This question is similiar to another one that you asked and that one has been answered.
Register Hereor login if you are already a member
CRTPRTF FILE( mylib/MYPRTF )
CRTPF FILE( mylib/MYGENPF ) RCDLEN(133) TEXT('Sample print-to-text')
OVRPRTF FILE( MYPRTF ) TOFILE( mylib/MYGENPF )