I would probably create a ticket tag to flag tickets with pizza. Then constrain the print job with something like {TICKET TAG:PizzaOrder}==‘Yes’.
Here is some info on ticket tags.
You could also use order tags or states. It just depends what you’re used to. You could either have a button to flag the ticket or you could tie it to the menu item buttons.