Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Changing default print settings
Hi all
I have a large document which contains numerous comments. When I print this document, 9 times out of 10 I want to print it WITHOUT the comments, however, I tend to forget to change the setting in the Print dialog box, and it is defaulted to 'document showing markup', therefore the comments print too. If I change the setting to 'document', it changes for that one print only and when I print it again, it goes back to 'showing markup'. Is there a default setting I change somewhere for printing, so the by default the comments don't print? Thank you. Louise |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Changing default print settings
The printer setting is determined by the document setting on the reviewing
toolbar. If that is set to 'showing markup' then so will the printer. A workaround would be to intercept the toolbar print button to provide the choice eg Sub FilePrintDefault() Dim sPrint As String sPrint = MsgBox("Print with Markup", vbYesNo) If sPrint = vbYes Then Application.PrintOut Item:= _ wdPrintDocumentWithMarkup Else Application.PrintOut Item:= _ wdPrintDocumentContent End If End Sub You can still change individual items from the file print command. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Louise wrote: Hi all I have a large document which contains numerous comments. When I print this document, 9 times out of 10 I want to print it WITHOUT the comments, however, I tend to forget to change the setting in the Print dialog box, and it is defaulted to 'document showing markup', therefore the comments print too. If I change the setting to 'document', it changes for that one print only and when I print it again, it goes back to 'showing markup'. Is there a default setting I change somewhere for printing, so the by default the comments don't print? Thank you. Louise |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Changing default print settings
Graham
Thank you for your reply, however, I have copied your macro and got the following error message: Compile Error: Invalid otside procedure Any ideas what this means? Thanks again. Louise "Graham Mayor" wrote: The printer setting is determined by the document setting on the reviewing toolbar. If that is set to 'showing markup' then so will the printer. A workaround would be to intercept the toolbar print button to provide the choice eg Sub FilePrintDefault() Dim sPrint As String sPrint = MsgBox("Print with Markup", vbYesNo) If sPrint = vbYes Then Application.PrintOut Item:= _ wdPrintDocumentWithMarkup Else Application.PrintOut Item:= _ wdPrintDocumentContent End If End Sub You can still change individual items from the file print command. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Louise wrote: Hi all I have a large document which contains numerous comments. When I print this document, 9 times out of 10 I want to print it WITHOUT the comments, however, I tend to forget to change the setting in the Print dialog box, and it is defaulted to 'document showing markup', therefore the comments print too. If I change the setting to 'document', it changes for that one print only and when I print it again, it goes back to 'showing markup'. Is there a default setting I change somewhere for printing, so the by default the comments don't print? Thank you. Louise |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Changing default print settings
Which line is highlighted and which Word version - the macro was tested on
Word 2003. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Louise wrote: Graham Thank you for your reply, however, I have copied your macro and got the following error message: Compile Error: Invalid otside procedure Any ideas what this means? Thanks again. Louise "Graham Mayor" wrote: The printer setting is determined by the document setting on the reviewing toolbar. If that is set to 'showing markup' then so will the printer. A workaround would be to intercept the toolbar print button to provide the choice eg Sub FilePrintDefault() Dim sPrint As String sPrint = MsgBox("Print with Markup", vbYesNo) If sPrint = vbYes Then Application.PrintOut Item:= _ wdPrintDocumentWithMarkup Else Application.PrintOut Item:= _ wdPrintDocumentContent End If End Sub You can still change individual items from the file print command. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Louise wrote: Hi all I have a large document which contains numerous comments. When I print this document, 9 times out of 10 I want to print it WITHOUT the comments, however, I tend to forget to change the setting in the Print dialog box, and it is defaulted to 'document showing markup', therefore the comments print too. If I change the setting to 'document', it changes for that one print only and when I print it again, it goes back to 'showing markup'. Is there a default setting I change somewhere for printing, so the by default the comments don't print? Thank you. Louise |
#5
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Changing default print settings
The text 'print with markup' is highlighted.
I have word 2003. Louise "Graham Mayor" wrote: Which line is highlighted and which Word version - the macro was tested on Word 2003. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Louise wrote: Graham Thank you for your reply, however, I have copied your macro and got the following error message: Compile Error: Invalid otside procedure Any ideas what this means? Thanks again. Louise "Graham Mayor" wrote: The printer setting is determined by the document setting on the reviewing toolbar. If that is set to 'showing markup' then so will the printer. A workaround would be to intercept the toolbar print button to provide the choice eg Sub FilePrintDefault() Dim sPrint As String sPrint = MsgBox("Print with Markup", vbYesNo) If sPrint = vbYes Then Application.PrintOut Item:= _ wdPrintDocumentWithMarkup Else Application.PrintOut Item:= _ wdPrintDocumentContent End If End Sub You can still change individual items from the file print command. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Louise wrote: Hi all I have a large document which contains numerous comments. When I print this document, 9 times out of 10 I want to print it WITHOUT the comments, however, I tend to forget to change the setting in the Print dialog box, and it is defaulted to 'document showing markup', therefore the comments print too. If I change the setting to 'document', it changes for that one print only and when I print it again, it goes back to 'showing markup'. Is there a default setting I change somewhere for printing, so the by default the comments don't print? Thank you. Louise |
#6
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Changing default print settings
Copy and paste from the original message to your vba editor
If you mean the ones in the msgbox text, check the quotes around "print with markup" are straight quotes - I don't know enough about quotes in international languages if you are not using an English version to suggest a substitute. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Louise wrote: The text 'print with markup' is highlighted. I have word 2003. Louise "Graham Mayor" wrote: Which line is highlighted and which Word version - the macro was tested on Word 2003. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Louise wrote: Graham Thank you for your reply, however, I have copied your macro and got the following error message: Compile Error: Invalid otside procedure Any ideas what this means? Thanks again. Louise "Graham Mayor" wrote: The printer setting is determined by the document setting on the reviewing toolbar. If that is set to 'showing markup' then so will the printer. A workaround would be to intercept the toolbar print button to provide the choice eg Sub FilePrintDefault() Dim sPrint As String sPrint = MsgBox("Print with Markup", vbYesNo) If sPrint = vbYes Then Application.PrintOut Item:= _ wdPrintDocumentWithMarkup Else Application.PrintOut Item:= _ wdPrintDocumentContent End If End Sub You can still change individual items from the file print command. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Louise wrote: Hi all I have a large document which contains numerous comments. When I print this document, 9 times out of 10 I want to print it WITHOUT the comments, however, I tend to forget to change the setting in the Print dialog box, and it is defaulted to 'document showing markup', therefore the comments print too. If I change the setting to 'document', it changes for that one print only and when I print it again, it goes back to 'showing markup'. Is there a default setting I change somewhere for printing, so the by default the comments don't print? Thank you. Louise |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Print default | New Users | |||
Print document without comments by default | Page Layout | |||
Print Settings saved between sessions | Microsoft Word Help | |||
Default Print settings | Microsoft Word Help | |||
Default font settings cannot be saved | Microsoft Word Help |