Share via

Classification Code is not printing on paper from O365 Applications

Anonymous
2023-11-06T06:00:16+00:00

Classification Code is not printing on paper from O365 Applications

Microsoft 365 and Office | Word | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

4 answers

Sort by: Most helpful
  1. Anonymous
    2023-11-08T11:03:10+00:00

    Dear Salah Uddin2,

    I understand your frustration. I apologize that the issue has not been resolved yet. I have a few suggestions that you can try:

    Method 1: Print the document as a PDF

    1. Open the document that you want to print.
    2. Click the File tab.
    3. Click Print.
    4. In the Printer section, select Microsoft Print to PDF.
    5. Click Print.
    6. In the Save As dialog box, navigate to the location where you want to save the PDF file, and then type a name for the file.
    7. Click Save.
    8. Open the PDF file in a PDF reader.
    9. Print the PDF file.

    Method 2: Use a Macro

    You can create a macro to print the document and include the Classification (Sensitivity) tab. To do this, follow these steps:

    1. Open the document that you want to print.
    2. Press Alt + F11 to open the Visual Basic Editor.
    3. Insert a new module by clicking Insert > Module.
    4. Paste the following code into the module:

    VB.Net
    Sub PrintWithSensitivity() ' Get the document properties Dim docProps As DocumentProperties Set docProps = ActiveDocument.Properties ' Get the classification (sensitivity) property Dim classification As String classification = docProps("Classification") ' Get the printer name Dim printerName As String printerName = ActiveWindow.ActivePrinter ' Print the document ActiveDocument.PrintOut Preview:=False, PrintRange:=wdPrintAllDocument, _ FileName:=ActiveDocument.FullName, PrinterName:=printerName, _ PrintToFile:=True ' Add the classification (sensitivity) to the footer Dim footer As Footer Set footer = ActiveDocument.Footers(wdHeaderFooterPrimary) footer.PageSetup.PageNumberStyle = wdPageNumberStyleWordNum footer.PageSetup.HeaderFooterType = wdHeaderFooterDifferentFirstAndEven footer.PageSetup.DifferentFirstPageHeaderFooter = False footer.PageSetup.OddFooter.Text = classification ' Print the document again ActiveDocument.PrintOut Preview:=False, PrintRange:=wdPrintAllDocument, _ FileName:=ActiveDocument.FullName, PrinterName:=printerName End Sub

    1. Save the module and close the Visual Basic Editor.
    2. To run the macro, click the Developer tab, and then click Macros.
    3. In the Macro name box, type PrintWithSensitivity, and then click Run.

    Note: The macro will print the document twice. The first time, it will print the document without the Classification (Sensitivity) tab. The second time, it will print the document with the Classification (Sensitivity) tab added to the footer.

    I hope that one of these suggestions will help you resolve the issue. If you have any further questions, please do not hesitate to ask.

    Regards,

    Microsoft Community

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2023-11-07T10:43:56+00:00

    Thanks' Sophia,

    I tried the suggestion but no luck. I want it to print automatically whatever the classification is on my document.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2023-11-06T10:56:03+00:00

    Dear Salah Uddin2,

    Good day! Thank you for posting to Microsoft Community. We are happy to assist you.

    Here are the steps:

    1. Open the Word, Excel, or Outlook document that you want to print.
    2. Click the File tab.
    3. Click Info.
    4. Under Properties, click Properties again.
    5. In the Document Properties dialog box, click the Custom tab.
    6. Under Properties, select Classification.
    7. Click Add.
    8. In the Add Property dialog box, enter the following information:
      • Name: Classification
      • Type: Text
      • Value: The classification level that you want to print (e.g., Confidential, Secret, Top Secret)
    9. Click OK.
    10. Click OK again to close the Document Properties dialog box.
    11. Click the File tab again.
    12. Click Print.
    13. Under Settings, click Properties.
    14. In the Printer Properties dialog box, click the Advanced tab.
    15. Under Print Options, select the Print custom document properties check box.
    16. Click OK to close the Printer Properties dialog box.
    17. Click OK to print the document.

    The classification level will now be printed on the document.

    Thank you for your precious time. Have a nice day.

    Regards,

    Microsoft Community

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2023-11-06T06:18:01+00:00

    In MY Organization We are using O365 Application. I want to print classification (Sensitivity) tab on paper printed from word excel out etc.

    I tried many option but no luck. can someone please suggest.

    Was this answer helpful?

    0 comments No comments