Jump to content

print formatting in php


jonndoe45

Recommended Posts

 

I have developed a intranet php app. I need to create nice looking printouts - reports and invoices. Yes I know that you can't print for the clients machine, it won't be done like that. The server will do the printouts.

 

What I am going to do is create the printable files in a set directory.

 

The invoices need a graphic image to be printed as the logo then the invoice, probably done on a thermal printer.

 

The reports will be a bog standard printer.

 

So, I need to know if there are print libraries out there to get my formatting set out and how do I test these files easily without having to print them out every time I make a minor change - is there some sort of print preview viewer in Ubuntu ?

 

If anyone can help, greatly appreciated

 

Thanks

JD

Link to comment
Share on other sites

When I have need for reports, summaries, and invoices, I simply create a HTML document (or PDF) in a report folder. That way I can use CSS to style it the way I want and I can easily go back to view older ones.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.