How to print a parts list of material directly

How to print a parts list of material directly