To find the total number of pages printed for the 6th and 7th-grade packets, we need to consider the number of packets and the number of pages in each type of packet.
- Each 6th-grade packet has 10 pages, so if there are \( p \) 6th-grade packets, the total number of pages from 6th-grade packets is \( 10p \).
- Each 7th-grade packet has 12 pages, so if there are \( r \) 7th-grade packets, the total number of pages from 7th-grade packets is \( 12r \).
To find the total number of pages printed, you simply add the total pages from both grades together:
\[ 10p + 12r \]
Thus, the correct expression that represents the total number of pages printed is:
D. \( 10p + 12r \)