Symptoms
Users who create their own print application by using Windows App print APIs in Windows 8.1, Windows RT 8.1, or Windows Server 2012 R2 may sometimes get an issue where the print preview displays a "Preview not available" message and printing stops working. When this issue occurs, the "Preview not available" issue is permanent for every kind of printers (Network printers, as well as the local native XPS Printer).
Cause
This issue occurs because of the incomplete state cleanup in code that is now fixed.
Resolution
To fix this issue, install the May 2016 update rollup for Windows RT 8.1, Windows 8.1, and Windows Server 2012 R2 (KB3156418).
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
References
Learn about the terminology that Microsoft uses to describe software updates.