Print external PDF from Client side


I would like to print external pdf (referenced by an url) from the client side (with the print box of windows). I tried several approaches inspired of these posts :

But I can’t find a way to print these PDF. Is anybody have an idea ?

If yes, an example with source code will be really appreciate :stuck_out_tongue: