You can use get_post_types() to get an array of post types. To print a simple list run a foreach loop on the returned array and output formatted content as desired.
Getting a true interactive WP_List_Table is much more involved. Extend the base class and define all the required methods. Use one of the other admin table classes in wp-admin/includes/ as examples on what to do.
Thread Starter
Ploeve
(@ploeve)
thank you,
but any other possibility to really print the list via a hardware printer?
thanks
A what? 🙂
Sorry about the misread. Same as above though, but then you use your browser’s print function.
Not sure exactly what you mean by “custom-posts” and how many different ones you may have, but you could simply print the admin screen directly if you can configure it to display only what you want via the filters and the items per page setting.