Guilherme91 Posted January 24, 2012 Report Share Posted January 24, 2012 Bom dia galera estou com o seguinte problema...Instalei um programa aqui nas maquinas da empresa onde á impressoras compartilhadas para emitir relatorio dos arquivos impressos...Dai ele gera um html... Compartilhei essa pasta e tal...em cada computador q tenha impressora.Dai criei um index.html no meu servidor linux para concetrar os links de cada impressora.Só que até entra no index.html mas quando clico em qualquer href para me direcionar para as impressoras não vai.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Relatorio de Impressoes</title><link rel="stylesheet" href="C:\Users\guilhermegomes\Desktop/imp.css" /></head><body><p align="justify"><img src="imgs/imp.jpg" /></a><hr size="1"color="#CD5C5C" /><table width="300"><tr><td><h2 align="center"><font color="#CD5C5C">Setor</font></h2></td><td><h2 align="center"><font color="#CD5C5C">Computador</font></h2></td><tr><tr><td><h4 align="center" ><font color="#CD5C5C">Atendimento</font></h4></td><td><a href="file://///contatti_15/PaperCut%20Print%20Logger/logs/html/index.htm" style="text-decoration:none"><h4 align="center"><font color="#999999">Contatti_15</font></h4></a></td></tr><tr><td><h4 align="center" ><font color="#CD5C5C">Atendimento</font></h4></td><td><a href="file://///contatti_60/PaperCut%20Print%20Logger/logs/html/index.htm" style="text-decoration:none"><h4 align="center"><font color="#999999">Contatti_60</font></h4></a></td></tr><tr><td><h4 align="center" ><font color="#CD5C5C">Marketing</font></h4></td><td><a href="file://///contatti_19/PaperCut%20Print%20Logger/logs/html/index.htm" style="text-decoration:none"><h4 align="center"><font color="#999999">Contatti_19</font></h4></a></td></tr><tr><td><h4 align="center" ><font color="#CD5C5C" >Assistência Tecnica</font></h4></td><td><a href="file://///contatti_36/PaperCut%20Print%20Logger/logs/html/index.htm" style="text-decoration:none"><h4 align="center"><font color="#999999">Contatti_36</font></h4></a></td></tr><tr><td><h4 align="center" ><font color="#CD5C5C" >Assistência Tecnica</font></h4></td><td><a href="file://///contatti_41/PaperCut%20Print%20Logger/logs/html/index.htm" style="text-decoration:none"><h4 align="center"><font color="#999999">Contatti_41</font></h4></a></td></tr><tr><td><h4 align="center" ><font color="#CD5C5C" >Logística</font></h4></td><td><a href="file://///contatti_42/PaperCut%20Print%20Logger/logs/html/index.htm" style="text-decoration:none"><h4 align="center"><font color="#999999">Contatti_42</font></h4></a></td></tr><tr><td><h4 align="center" ><font color="#CD5C5C" >Logística</font></h4></td><td><a href="file://///contatti_43/PaperCut%20Print%20Logger/logs/html/index.htm" style="text-decoration:none"><h4 align="center"><font color="#999999">Contatti_43</font></h4></a></td></tr><tr><td><h4 align="center" ><font color="#CD5C5C" >RH e DP</font></h4></td><td><a href="file://///contatti_34/PaperCut%20Print%20Logger/logs/html/index.htm" style="text-decoration:none"><h4 align="center"><font color="#999999">Contatti_34</font></h4></a></td></tr><tr><td><h4 align="center" ><font color="#CD5C5C" >Administrativo</font></h4></td><td><a href="file://///contatti_27/PaperCut%20Print%20Logger/logs/html/index.htm" style="text-decoration:none"><h4 align="center"><font color="#999999">Contatti_27</font></h4></a></td></tr><tr><td><h4 align="center" ><font color="#CD5C5C" >Administrativo</font></h4></td><td><a href="file://///contatti_28/PaperCut%20Print%20Logger/logs/html/index.htm" style="text-decoration:none"><h4 align="center"><font color="#999999">Contatti_28</font></h4></a></td></tr><tr><td><h4 align="center" ><font color="#CD5C5C" >Financeiro</font></h4></td><td><a href="file://///contatti_24/PaperCut%20Print%20Logger/logs/html/index.htm" style="text-decoration:none"><h4 align="center"><font color="#999999">Contatti_24</font></h4></a></td></tr><tr><td><h4 align="center" ><font color="#CD5C5C" >Contabilidade</font></h4></td><td><a href="file://///contatti_32/PaperCut%20Print%20Logger/logs/html/index.htm" style="text-decoration:none"><h4 align="center"><font color="#999999">Contatti_32</font></h4></a></td></tr></tr></table></body></html> Quote Link to comment Share on other sites More sharing options...
0 Mack Posted January 25, 2012 Report Share Posted January 25, 2012 Isso acontece porque o href do link é da sua máquina e não do servidor. Este caminho não existe no linux: file://///contatti_15/PaperCut%20Print%20Logger/logs/html/index.htm Quote Link to comment Share on other sites More sharing options...
0 Guilherme91 Posted January 25, 2012 Author Report Share Posted January 25, 2012 Como faço para que ele busque direto das maquinas?? Quote Link to comment Share on other sites More sharing options...
0 Guilherme91 Posted January 25, 2012 Author Report Share Posted January 25, 2012 O engraçado é que as vezes ele funciona no internet explorer. Mas nunca no firefox. Quote Link to comment Share on other sites More sharing options...
0 Guilherme91 Posted January 27, 2012 Author Report Share Posted January 27, 2012 Galera consegui... Fiz um bat para copiar todos os arquivos para o servidor linux.Assim , ele consegue abrir normalmente.Valeu Quote Link to comment Share on other sites More sharing options...
Question
Guilherme91
Bom dia galera estou com o seguinte problema...
Instalei um programa aqui nas maquinas da empresa onde á impressoras compartilhadas para emitir relatorio dos arquivos impressos...
Dai ele gera um html... Compartilhei essa pasta e tal...em cada computador q tenha impressora.
Dai criei um index.html no meu servidor linux para concetrar os links de cada impressora.
Só que até entra no index.html mas quando clico em qualquer href para me direcionar para as impressoras não vai.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Relatorio de Impressoes</title>
<link rel="stylesheet" href="C:\Users\guilhermegomes\Desktop/imp.css" />
</head>
<body>
<p align="justify"><img src="imgs/imp.jpg" /></a>
<hr size="1"color="#CD5C5C" />
<table width="300">
<tr>
<td><h2 align="center"><font color="#CD5C5C">Setor</font></h2></td>
<td><h2 align="center"><font color="#CD5C5C">Computador</font></h2></td><tr>
<tr>
<td><h4 align="center" ><font color="#CD5C5C">Atendimento</font></h4></td>
<td><a href="file://///contatti_15/PaperCut%20Print%20Logger/logs/html/index.htm" style="text-decoration:none"><h4 align="center"><font color="#999999">Contatti_15</font></h4></a></td>
</tr>
<tr>
<td><h4 align="center" ><font color="#CD5C5C">Atendimento</font></h4></td>
<td><a href="file://///contatti_60/PaperCut%20Print%20Logger/logs/html/index.htm" style="text-decoration:none"><h4 align="center"><font color="#999999">Contatti_60</font></h4></a></td>
</tr>
<tr>
<td><h4 align="center" ><font color="#CD5C5C">Marketing</font></h4></td>
<td><a href="file://///contatti_19/PaperCut%20Print%20Logger/logs/html/index.htm" style="text-decoration:none"><h4 align="center"><font color="#999999">Contatti_19</font></h4></a></td>
</tr>
<tr>
<td><h4 align="center" ><font color="#CD5C5C" >Assistência Tecnica</font></h4></td>
<td><a href="file://///contatti_36/PaperCut%20Print%20Logger/logs/html/index.htm" style="text-decoration:none"><h4 align="center"><font color="#999999">Contatti_36</font></h4></a></td>
</tr>
<tr>
<td><h4 align="center" ><font color="#CD5C5C" >Assistência Tecnica</font></h4></td>
<td><a href="file://///contatti_41/PaperCut%20Print%20Logger/logs/html/index.htm" style="text-decoration:none"><h4 align="center"><font color="#999999">Contatti_41</font></h4></a></td>
</tr>
<tr>
<td><h4 align="center" ><font color="#CD5C5C" >Logística</font></h4></td>
<td><a href="file://///contatti_42/PaperCut%20Print%20Logger/logs/html/index.htm" style="text-decoration:none"><h4 align="center"><font color="#999999">Contatti_42</font></h4></a></td>
</tr>
<tr>
<td><h4 align="center" ><font color="#CD5C5C" >Logística</font></h4></td>
<td><a href="file://///contatti_43/PaperCut%20Print%20Logger/logs/html/index.htm" style="text-decoration:none"><h4 align="center"><font color="#999999">Contatti_43</font></h4></a></td>
</tr>
<tr>
<td><h4 align="center" ><font color="#CD5C5C" >RH e DP</font></h4></td>
<td><a href="file://///contatti_34/PaperCut%20Print%20Logger/logs/html/index.htm" style="text-decoration:none"><h4 align="center"><font color="#999999">Contatti_34</font></h4></a></td>
</tr>
<tr>
<td><h4 align="center" ><font color="#CD5C5C" >Administrativo</font></h4></td>
<td><a href="file://///contatti_27/PaperCut%20Print%20Logger/logs/html/index.htm" style="text-decoration:none"><h4 align="center"><font color="#999999">Contatti_27</font></h4></a></td>
</tr>
<tr>
<td><h4 align="center" ><font color="#CD5C5C" >Administrativo</font></h4></td>
<td><a href="file://///contatti_28/PaperCut%20Print%20Logger/logs/html/index.htm" style="text-decoration:none"><h4 align="center"><font color="#999999">Contatti_28</font></h4></a></td>
</tr>
<tr>
<td><h4 align="center" ><font color="#CD5C5C" >Financeiro</font></h4></td>
<td><a href="file://///contatti_24/PaperCut%20Print%20Logger/logs/html/index.htm" style="text-decoration:none"><h4 align="center"><font color="#999999">Contatti_24</font></h4></a></td>
</tr>
<tr>
<td><h4 align="center" ><font color="#CD5C5C" >Contabilidade</font></h4></td>
<td><a href="file://///contatti_32/PaperCut%20Print%20Logger/logs/html/index.htm" style="text-decoration:none"><h4 align="center"><font color="#999999">Contatti_32</font></h4></a></td>
</tr>
</tr>
</table>
</body>
</html>
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.