Rendering and printing stuff with PHP: PDF, HTML or …?

I'm coding a system to manage Teams in a event, and i need to print badges for each person in the event.

I need to print other stuffs also (with a lot of custom information), and i was wondering how would i do, to correcly put each badge, or Schedule, in one page (Without having to split it when printing...).

What is better to use, and to deal with?

HTML, PDF or is there another solution for this problem?

Thanks

Answers


I say use HTML and create a CSS stylesheet that is specifically for print.

<link rel="stylesheet" type="text/css" media="print" href="print.css" />

Need Your Help

How to print a String defined in one class in a different class?

java string class

I have two classes. In the first one, I used the Scanner to retrieve the users name and then store it to a String called name. Then say, I start a new class, and want to print that name out, how do...

What is the behavior of the plus plus (++) operator when applied to a struct?

c struct arduino

I'm trying to learn C by playing with an Arduino Uno. I'm reviewing the code for the Colorduino library on github. I'm wondering how ++ works when applied to a struct.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.