Trying to modify a print filter!

Ok, the filter looks like this.

awk ' BEGIN{printf ("^[E^[&l2a0o7.27C^[(s0p16.67h0T");} \
{ \
printf ("%s^M\n", $0); \
} \
END{printf ("^L^[E");}' 

This is sending escape sequences to the printer. What I also would like to do is filter out certain pages. I only want the contant between two markers. Start Marker=1Q2Q3Q4Q, End Marker=5Q6Q7Q8Q. I also need the actual line that the marker is printing on, minus the marker, however, keeping the integrity of all the positions on that line.

Thanks in advance!