26.18. Troubleshooting

Sometimes users will have issues with previewing PDFs before they print. Our experience is that this is often due to some incompatibility between mSupply and certain XPS viewers. We recommend use of the excellent, free Sumatra PDF reader to view XPS files, which is one of the reasons why we include it as a recommended install with mSupply Client software! Installing Sumatra PDF and making it the default XPF viewer will normally fix any print preview issue.

How to set Sumatra as default XPS viewer on Windows

  1. Open Settings > Apps > Default apps.
  2. Click the Choose default apps by file type link.
  3. Scroll down to find .xps (XPS File), and click the button on the right side to select a different program as default.
  4. Select 'Sumatra PDF' from the list to set it and click the option 'Switch anyway'.

Change the default XPS viewer on Windows

You might also need to do the following.

  1. Follow the menu path Start > Devices and Printers
  2. Right click on the Microsoft XPS Document Writer
  3. Select Printing Preferences
  4. On the tab XPS Documents uncheck the checkbox that says: Automatically open XPS document using the XPS viewer

You may encounter Error when executing the method “print_label_multiple_lines” at line number 83

This has been known to occur when the margin settings for the label printer are incorrectly set. Try adjusting the print margins in Label printing preferences.

Previous: 26.17. Keyboard shortcuts | | Next: 27. Help
  • Last modified: 2022/02/11 15:49
  • by Gary Willetts