Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
faq:microsoft_print_to_pdf_issue [2026/04/29 09:44] – [Resolution] Romisha Thapafaq:microsoft_print_to_pdf_issue [2026/05/01 11:22] (current) – [Resolution] Ujwal Khatry
Line 1: Line 1:
 +{{indexmenu_n>133}}
 +
 ====== 28.16. Microsoft Print To PDF Issue ====== ====== 28.16. Microsoft Print To PDF Issue ======
  
-The recent windows 11 update, especially, 24H2 and 25H2 have a known bug where the "microsoft print to pdf" features stopped working in result affecting print preview in pdf in mSupply. +The recent windows 11 update, especially, 24H2 and 25H2 has a known bug where the "microsoft print to pdf" printer driver stopped working, which as a result affected the print preview and creation pdf documents from within mSupply. 
 + 
 +mSupply reports and print form could no longer be generated due to `Microsoft Print To PDF` not functioning as before.  
  
 ====== Affected versions both windows and mSupply ====== ====== Affected versions both windows and mSupply ======
Line 7: Line 11:
   - mSupply Version prior to v8.08.18   - mSupply Version prior to v8.08.18
 Below is the sample Image of the Issue:  Below is the sample Image of the Issue: 
-{{ :faq:no_data_to_report.png?900 }}+{{ :faq:no_data_to_report.png?500 }}
  
 ====== Resolution ====== ====== Resolution ======
- ** Step : 1**  +  * Upgrade the mSupply to the version v8.08.18 or later  
-Upgrade the mSupply to the version v8.08.18 or later  +  This version allows the use of printer preview.  
-This version allows the use of printer preview. +  * **Remove the `Microsoft to PDF` driver**
  
- ** * Step : 2** 
-Check if "Microsoft XPS Class Driver" exists. If not,  
  
-**Method 1 : Add Via Optional Feature**  + ** Method 1 : Convert the `Microsoft Print to PDF` to a "Microsoft XPS Class Driver" ** 
-  - Press windows+R and type - //optionalfeatures// - and enter.  +  - Go to **//Printer and scanner setting//** 
-  - Look for "Microsoft XPS Class Driver" in the list  +  Click on **Microsoft Print to PDF -> Go to Printer Properties -> Advances** 
-  - Check Ok  +  - Click on the `Drivers` list and choose **Microsoft XPS Class Driver** 
-  Restart your PC+    - - Or click on the `New Driver...` button and Choose **Microsoft -> Microsoft XPS Class Driver** 
 +  - Click Apply and Ok 
 +  - **See that the print driver name changes to "Microsoft XPS Class Driver"**, the `Microsoft Print to PDF` driver now no longer exist ! 
 +  - Test mSupply to see that the print preview and PDF creation works.  
 + 
 +{{ :faq:microsoft_print_to_pdf-driver_change-2026-05-01-16-30-37.png?400 |}} 
 + 
 +Check if "Microsoft XPS Class Driver" exists (**//Settings -> Bluetooth & Scanner -> Printer & Scanner//**)If not, 
  
 **Method 2 : Manual add via Printer Setting** **Method 2 : Manual add via Printer Setting**
Line 30: Line 39:
   - Choose **Microsoft -> Microsoft XPS Class Driver**   - Choose **Microsoft -> Microsoft XPS Class Driver**
  
-**  * Step3** +**Method 3 Add Via Optional Feature**  
-  - Go to **//Printer and scanner setting//** +  - Press windows+R and type - //optionalfeatures// - and enter.  
-  - Click on **//Microsoft XPS class Driver//** +  - Look for "Microsoft XPS Class Driver" in the list  
-  - Set it to **Default** or  +  - Check Ok  
-  - Click on Microsoft Print to PDF -> Go to Printer Properties -> Advances -> Select Driver Microsoft XPS class Drive (Can add from **//New Driver//** as well) +  - Make sure "Microsoft Print to PDF" is un-checked 
 +  Restart your PC. 
  
 +<WRAP center round tip 60%>
 +In all instances we must make sure that the `Microsoft Print to PDF` driver no longer exist. 
 +</WRAP>
  
  
  • Last modified: 2026/04/29 09:44
  • by Romisha Thapa