Eine Familie von Microsoft-Tabellenkalkulationsprogrammen mit Tools zum Analysieren, Darstellen und Kommunizieren von Daten
Note: Since this is a forum mainly using German and you have used English in your original post, the answer provided will also be in English. Please let me know your preferred language so that I can help you in the most effective way as possible.
Hi @30629938,
Thank you for your detailed sharing.
Based on your information, this is highly a known Excel-specific behavior, and the technical root cause is a combination of two factors including a Windows API string-length limitation and Excel's printer-information caching behavior:
- Windows DevMode has a limitation of 32 characters by design and will truncate the name after 31 characters. When Excel queries the printers, it is given the printer's name information from Windows.
- When Excel queries the system for printer information, it receives the (potentially truncated) printer name from Windows and caches the printer settings for faster performance. If two printer shares produce identical name strings after truncation to 31 characters, Excel treats them as the same device and does not re-query the printer for new default settings and reuses the cached settings from the first printer selected.
- On RDS hosts, network printer shares frequently have longer names because the connection string may include server names, session identifiers, or organizational prefixes. This may exceed the 31-character limitation and cause the behavior you are experiencing
As a workaround, you can try shortening the name to meet the requirement of at most 32 characters to see if it helps resolve the situation.
For reference: Excel print settings do not change when switching printers | Microsoft Learn
Hope this may identify the culprit for your situation. Please try the step and let me know if it works. If not, we can work together to find a solution.
If you have any questions or need further assistance, please feel free to share them in the comments on this post so I can continue to support you.
Thank you for your understanding and cooperation. I'm looking forward to your reply.
If the answer is helpful, please click "Accept Answer" and kindly upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread