how to add print button to deluge script

how to add print button to deluge script

I was told that I can't add a print button. Upon investigation I found that you can use a link to create a PDF. So I use:
https://creatorexport.zoho.com/USERID/ordenes/print/Generate_Invoice/orderRecId=2769016000000090461

This works great with my user, but if I try this in another computer/user, the link is changed and it removes everything after ordernes/ rendering this solution useless.

Any ideas?

Leo