1 and 2 :
For me,if i want to create "print" feature,i would create a PHP script that simplify the current page for user to use the print feature on their browser,nothing more

Javascript to print page : [
http://www.javascript-page.com/printpage.html ]
3.i dont get you at this question,but i think you want to operating the URL given,just use
substr,check it here :
http://www.php.net/manual/en/function.substr.php
In case you want to obtain the current URL,use javascript : "document.location"