printf/echo in a second script

This may be little confusing. I have Script1, which pulls data from the system and creates another script(lets say script2). While I run script1 I need to add printf/echo statements for script2, so that when I run script2 I see those statement.
eg: script1 765

printf " display frame-$1 timeoffset " >> script2

script2

display  frame-765 timeoffset
printf " Enter the time offset "  # this is printf /echo statement I want to add in script1
read time

I thought it would be something like this.
on script1

printf " display frame-$1 timeoffset " >> script2
printf " printf "Enter the time offset " "  # this is the one I have problem with
printf " read time"

This worked for me:

cat script1
printf ' echo "display frame-$1 timeoffset " ' >> script2
printf "\n" >> script2
printf ' echo "Enter the time offset " ' >> script2
printf "\n" >> script2
printf 'read time' >> script2
chmod +x script2

thanks It worked...