Save to PDF in TextEdit - Error While Printing

When I try to save a text file to PDF I receive the error message - "Error while printing". This only seems to be happening to text files I open or create in TextEdit. It works fine if I log in as a different user. I've run repair permissions and also deleted a couple of com.apple.print plist files in my user library, but the error remains.


Is there anything else I should try short of reinstalling TextEdit?


Thanks in advance for any advice!


Rick

MacBook Pro (15-inch Early 2011), OS X Mountain Lion (10.8.2)

Posted on Jan 22, 2013 3:44 PM

Reply
17 replies

Jan 31, 2013 1:42 AM in response to CT

CT - No I haven't found a fix or had too much time to investigate further. I have found that it's not happening with all text files and would write it off to as a corrupted file were it not for the fact that it's happening on new files also.


Thanks for the workaround tip with preview; I've actually switched over to using Text Wrangler for the time being.


Rick

May 29, 2013 5:26 AM in response to rfreschner

Greetings. this is my first post so be gentle...

In regards to the problem of getting a error while printing, my issue was that I save receipts from online purchases by saving them as PDF files from the Text/Edit or CmdP from the web page. Recently, I made another account on my mac book pro that I use for work files. If I try to save the PDF while in my work account, I get the error. Since the folders for saving the PDFs were made in my original account, I simply gave myself permission to store the PDF in the work folder and the error message went away.

Nov 8, 2013 11:43 AM in response to davemuth

Just tried davemuth's solution; in my case, there were seven files to delete:


com.apple.TextEdit.LSSharedFileList.plist

com.apple.TextEdit.LSSharedFileList.plist.lockfile

com.apple.TextEdit.plist

com.apple.TextEdit.plist.lockfile

com.apple.TextEdit.plist.RKwZEoG

com.apple.TextEdit.SandboxedPersistentURLs.LSSharedFileList.plist

com.apple.TextEdit.SandboxedPersistentURLs.LSSharedFileList.plist.lockfile


Unfortunately, this didn't work for me. The same two files rebuild themselves in the Library/Prefs folder, but still can't print to PDF from TextEdit.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Save to PDF in TextEdit - Error While Printing

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.