How to print variant SKU on receipt

How do I program the receipt printer to show the actual variant sku?