openURL sytax

openURL sytax

Can someone help me with the syntax here.

openUrl( "#record-print/View_Open_Work_Orders/" + input.ID, "new window");

This is a workflow on successful form submission. Goal is to bring up print dialog upon submitting form. 
I know I'm missing something...this upenURL statement is actually bringing me to my home page.