Urgent: selecting unique specific content of a file using shell script

Hi,

I have a file whose content and format at places is as given below.

print
coloumn ....
coloumn ....
coloumn ....
skip 1 line

print
coloumn ...
skip 1 line

I need to select the following :
print
coloumn ....
coloumn ....
coloumn ....
skip 1 line

and write it into a new file.
And the next
print
coloumn ...
skip 1 line
should be again written to another new file.Both by using shell script.

Thanks in advance
JS

num=1
while read line
        do
        [[ "$line" != "END" ]] && { echo "$line">>file_number.$num; }|| { echo "END">>file_number.$num; (( num = num + 1 )); }
        done<file

With Awk:

awk '{close(FILENAME"_"f-1);print>(FILENAME"_"($1=="print"?++f:f))}' data

Use nawk or /usr/xpg4/bin/awk on Solaris.