A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
The issue description and tags indicate a printing problem involving Microsoft 365 files stored in OneDrive/SharePoint, but the only directly relevant printing guidance in the context is how to print such files from Microsoft Teams and general workarounds when printing or PDF-related operations fail.
Use these steps and checks:
- Open and print the file correctly
- In Microsoft Teams, go to OneDrive on the left, or open the file from the Shared tab in a chat/channel, or from the message where it is attached.
- Hover over the file and select Show more actions for this item.
- Hover over Open and choose one of:
- Edit in Teams
- Open in browser
- Open in app (Word, Excel, PowerPoint desktop)
- In the app that opens, select File > Print and follow the on‑screen instructions.
- Verify that a real printer is selected
- In the Print dialog of Word/Excel/PowerPoint/Outlook, make sure the printer is not set to Microsoft Print to PDF or XPS. Select the actual physical printer.
- If a Save dialog appears instead of printing, it usually means a virtual printer such as Microsoft Print to PDF is selected. Change it to the physical printer and try again.
- If a Save dialog still appears when a physical printer is selected
- Close all Office apps.
- Open Control Panel → Devices and Printers.
- Right‑click the physical printer → Printer properties.
- Go to the Ports tab and check whether the port is set to Print to file.
- If it is, change it to the correct port for the printer (for example LPT1 for some USB printers or WSD for many network/wireless printers), then save.
- Reopen the document from OneDrive/SharePoint and print again.
- If the problem involves PDF attachments from Outlook
- If printing PDF attachments directly from Outlook (Quick Print) fails, use one of these workarounds:
- Save the attachment locally and print it from the default PDF program.
- Open the email, then open the attachment and print from the PDF app.
- If Quick Print must be used and fails with “file cannot be found”, configure the
FileTrackIdleregistry value as described in the reference article so Outlook waits longer before deleting the temporary PDF.
- If printing PDF attachments directly from Outlook (Quick Print) fails, use one of these workarounds:
- If saving to SharePoint/OneDrive as part of the print workflow fails
- If an error appears when using Save As to SharePoint/OneDrive (for example, “This file cannot be saved because some properties are missing or invalid”), save the file locally first, then upload it via the SharePoint web UI. After that, open and print from there.
- If the issue is with converting to PDF or saving as PDF
- For Publisher specifically, if “Publisher cannot save the file” appears when saving as PDF/XPS, try:
- Toggling the default printer (set another device as default, then set the real printer back as default) and retry saving as PDF.
- Reducing image complexity (compress pictures, remove large or transparent images, remove picture effects) or using the 64‑bit version of Publisher.
- For Publisher specifically, if “Publisher cannot save the file” appears when saving as PDF/XPS, try:
If these steps do not resolve the issue, collect the exact error text and where it occurs (Teams, desktop app, browser, Outlook, Publisher) and provide it to support or in a community forum for more targeted troubleshooting.
References:
- Print files in Microsoft Teams
- Sharing errors in SharePoint and OneDrive
- Overview of OneDrive in Microsoft 365
- Excel or PowerPoint error: "This file cannot be saved because some properties are missing or invalid"
- "Publisher cannot save the file" error when saving as PDF
- Quick Print stops printing PDF attachments in Outlook Desktop
- Users on macOS might have issues printing from Word, Excel, or PowerPoint for the web
- Issues with PDF converting and printing files - Microsoft Q&A
- Print command results only in an invitation to save. - Microsoft Q&A
- How to print without a window popping up that requests I save an already saved document - Microsoft Q&A
- SCAN A DOCUMENT - Microsoft Q&A