Creo q cuando usas window.location.href debes igualar...
Código HTML:
javascript: window.location.href='trucos.asp?catTruc=<%
Impresoras&resol='+screen.width;
Y en caso de usar el replace es cuando se ponen paréntesis:
Código HTML:
javascript: window.location.replace('trucos.asp?catTruc=<%
Impresoras&resol='+screen.width);
Saludos.