Message 1 of 6
Printer cannot be used with main drawings print settings

Not applicable
04-17-2018
01:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've been struggling with this issue for far too long, hope you can help.
When I'm trying to access Autodesk.Revit.DB.Document.PrintManager instance, I get "Microsoft XPS Document writer cannot be used with main drawings print settings" warning in Revit and my code stops executing until the user clicks OK button in the Revit dialog. My code is running on a remote server, so it's impossible for user to click the button.
How can I suppress the annoying warning?
Another thing, I've noticed, that whenever I open a model in Revit and open R -> Print -> Print Setup in the main menu, I get the same warning.