How to control paperfeed when the printer.EndDoc is performed.

Hi!

Does anyone know how to control paperfeed when the printer.EndDoc is
performed.
I have made a routine that change the size of the paper down to label sized
pages and print out gfx to small labels, but when the EndDoc command is used
the paper is feed forward to much. That is beyond the start of the next
label.

Can any one help me?

edgar