Go Back   TechArena Community > Software > Windows Software
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , ,

Sponsored Links



Unsaved information is lost when printing from operating system shell in MS Word

Windows Software


Reply
 
Thread Tools Search this Thread
  #1  
Old 20-03-2010
Steyn's Avatar
Member
 
Join Date: May 2009
Posts: 561
Unsaved information is lost when printing from operating system shell in MS Word

Hello everyone,
Many times it happens that when I open document from the operating system shell instead of Microsoft Word and give the print command, then the unsaved information is lost. This usually happens when I drag a document icon from Windows Explorer to a printer shortcut icon. I have tried many different ways but I am getting the same results. Please help me by providing solutions for an unsaved information that is lost when printing from operating system shell in MS Word.
Reply With Quote
  #2  
Old 20-03-2010
JonathanD's Avatar
Member
 
Join Date: May 2008
Posts: 4,325
Re: Unsaved information is lost when printing from operating system shell in MS Word

Printing from the operating system shell command invokes a series of dynamic data exchange (DDE) from the registry. These commands DDE tell Word to open the document, print the document and close the document without saving changes. So if you can make changes in this registry then you may fix this issue of losing an unsaved information. But do it only if you are having good knowledge about the registries, otherwise you will have to install your whole operating system if anything goes wrong.
Reply With Quote
  #3  
Old 20-03-2010
Macarenas's Avatar
Member
 
Join Date: May 2008
Posts: 4,810
Re: Unsaved information is lost when printing from operating system shell in MS Word

To avoid this problem, print from within the Word program or save the document before you print from the operating system shell. Or, DDE can change this behavior by modifying the registry entries that tell Word to close the document without saving changes. If the document has unsaved changes, do some workarounds prompt before closing the Word document.
Reply With Quote
  #4  
Old 20-03-2010
ThoMas321's Avatar
Member
 
Join Date: Apr 2008
Posts: 4,078
Re: Unsaved information is lost when printing from operating system shell in MS Word

To change the registry entry for Word prompts to save changes when you drag the icon for the document to a printer icon, follow these steps :
  1. Exit Word.
  2. Click Start, click Run, type Regedit in the Open box, then click OK.
  3. Locate the following registry subkey :
    HKEY_CLASSES_ROOT \ Word.Document.8 \ shell \ printto \ ddeexec
  4. In the right pane, click Default.
  5. On the Edit menu, click Modify.
  6. Replace the value data with the information below and then click OK :
    [REM _DDE_Minimize] [FileOpen (\ "% 1 \")] [t = IsDocumentDirty ()] [FilePrint 0] [SetDocumentDirty t] [DocClose]
__________________
Ram requirement for various OS
Reply With Quote
  #5  
Old 20-03-2010
Kirmiac's Avatar
Member
 
Join Date: May 2008
Posts: 353
Re: Unsaved information is lost when printing from operating system shell in MS Word

The registry subkey HKEY_CLASSES_ROOT \ Word.Document.8 \ shell \ printto \ ddeexec will work for. Doc files in Word 2007. However, this subkey will not work for. Docx files in Word 2007. For. Docx, locate the following registry subkey :
HKEY_CLASSES_ROOT \ Word.Document.12 \ shell \ Printto \ ddeexec
These keys contain the set of DDE commands that are used to print a document from the operating system shell.
Reply With Quote
  #6  
Old 20-03-2010
DANIEL 602's Avatar
Member
 
Join Date: Jul 2006
Posts: 212
Re: Unsaved information is lost when printing from operating system shell in MS Word

Several fields are updated when you print the document, including the date fields and fields page numbers. If you modify the registry, I would suggest you to save any document that contains the dates and page numbers when you print from the operating system shell. After doing the steps mentioned by the 'ThoMas321', when you print a document from the operating system shell, you must save the changes if the document contains unsaved changes.
__________________
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signatureto help him gain world domination
Reply With Quote
Reply

  TechArena Community > Software > Windows Software


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Unsaved information is lost when printing from operating system shell in MS Word"
Thread Thread Starter Forum Replies Last Post
Need Operating System, platform, Feature Pack and version information of Nokia S60 Phone Models. Jahi Portable Devices 5 14-04-2011 11:02 PM
Gentoo operating system vs Debian operating system. DEWITT Operating Systems 4 05-01-2010 12:49 AM
Information on Nokia Series 40 operating system Aloke Portable Devices 5 18-12-2009 03:04 AM
Recover of unsaved word document Amit_k Windows Software 4 24-07-2009 12:52 PM
How to Recover An Unsaved Document When Word Crashes Corona Windows Software 3 02-07-2009 11:19 AM


All times are GMT +5.5. The time now is 08:47 PM.