Print to alternate form using link

I am using this formula

“<link rel="alternate" media="print" target="_blank" href="…/PrintView/CC5BF86571B16C5A80256CEC0043C8A5">”

to automatically print the selected document on an alternate form. This works perfectly until I put my doc in a frame of a frameset and then it seems to ignore the link completely.

Does anyone know a way to get round this please?

TIA

Sarah