hugomarques Posted May 14, 2008 at 03:38 PM Report Share #185070 Posted May 14, 2008 at 03:38 PM Boa tarde, estou a fazer um projecto para a escola em Php e precisava de imprimir uns relatórios...já estive a pesquisar mas não encontrei nada que me ajuda-se... 😁 sera que alguem me poderia ajudar??? Obrigado Link to comment Share on other sites More sharing options...
fnds Posted May 14, 2008 at 03:48 PM Report Share #185074 Posted May 14, 2008 at 03:48 PM Podes criar uma página e depois imprimes-la com o browser. Link to comment Share on other sites More sharing options...
hugomarques Posted May 14, 2008 at 04:30 PM Author Report Share #185080 Posted May 14, 2008 at 04:30 PM Crio a pagina mas utilizando a função windos.print() imprime todos os cabecalhos e eu queria isso... Link to comment Share on other sites More sharing options...
cyclop Posted May 14, 2008 at 04:59 PM Report Share #185092 Posted May 14, 2008 at 04:59 PM *window.print() Crio a pagina mas utilizando a função windos.print() imprime todos os cabecalhos e eu queria isso... Se querias isso então qual é a duvida? Cabeçalhos? já pensaste em criar uma página destinada somente a impressao? "Quando eu for grande quero ser como o Celso" Link to comment Share on other sites More sharing options...
hugomarques Posted May 14, 2008 at 05:26 PM Author Report Share #185098 Posted May 14, 2008 at 05:26 PM Peço desculpa mas esqueci-me da palavra "não"...pois o que eu queria era imprimir a pagina mas onde nao aparece-se os cabecalhos..... Link to comment Share on other sites More sharing options...
psiico Posted May 14, 2008 at 07:51 PM Report Share #185129 Posted May 14, 2008 at 07:51 PM podes sempre com 1 class de PDF, gerar 1 PDF e depois imprimes. Psiico // Portfolio Link to comment Share on other sites More sharing options...
hugomarques Posted May 15, 2008 at 04:07 PM Author Report Share #185309 Posted May 15, 2008 at 04:07 PM Tambem ja tentei isso...mas por exemplo quando tenho um formulario para pesquisar as viaturas de uma determinada marca...como é que faço para que ao criar o Pdf saiba qual é a marca que estou a pesquisar??? Link to comment Share on other sites More sharing options...
fnds Posted May 16, 2008 at 08:46 AM Report Share #185439 Posted May 16, 2008 at 08:46 AM Dá uma vista de olhos aqui. http://www.fpdf.org/ http://www.revistaphp.com.br/artigo.php?id=145 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now