Windows 10: How to print a mht file to pdf using powershell

Discus and support How to print a mht file to pdf using powershell in Windows 10 Gaming to solve the problem; Hi,I am trying to convert bulk mht files to pdf. I cant use third party tools/applications to do so.Hence decided to go with powershell scripting... Discussion in 'Windows 10 Gaming' started by SuSShe, Oct 18, 2023.

  1. SuSShe Win User

    How to print a mht file to pdf using powershell


    Hi,I am trying to convert bulk mht files to pdf. I cant use third party tools/applications to do so.Hence decided to go with powershell scripting wherein I want to open the mht files and print it to pdf.Works almost fine but do not capture the images in MHT.Any help would be appreciated.Thanks

    :)
     
    SuSShe, Oct 18, 2023
    #1

  2. Search Content of MHT files

    Hi David,

    Most probably, this is a problem with the search and indexing of your Windows 10 computer. For us to provide the best resolution possible, we would like to clarify the following:

    • Are you trying to search the content of MHT files using Cortana?
    • Have you tried searching it using the File Explorer?
    • Are you using a third-party app to search for the content of MHT files?

    As an initial troubleshooting step, we suggest that you run the troubleshooter for search and indexing. To run the Search and Indexing troubleshooter, follow these steps:

    • Click the Start button and select the Settings
      icon.
    • Choose Update & Security from the list.
    • Click Troubleshoot in the left pane of the window.
    • Under Find and fix other problems.
    • Select Search and Indexing and click Run the troubleshooter.

    We'll keep an eye out for your response.
     
    Gerard Qui, Oct 18, 2023
    #2
  3. What App to use to open a .mht file?

    I downloaded the MHTViewer from the Windows Store but it won't open my Windows Steps Recorder files.

    I would appreciate very much another suggestion that can view a .mht file that has pictures mixed with text.
     
    EyeInTheSky, Oct 18, 2023
    #3
  4. How to print a mht file to pdf using powershell

    Unable to Print PDF files

    Hi,



    Thank you for writing to Microsoft Community Forums.



    We understand your concern as you are unable to print a PDF file. In order to get clarity and to assist you accordingly, please reply with the answers to the questions below:



    • What is the Windows 10 version and Build installed? (Type
      winver in Windows search/Run command)
    • What is the make and model of the printer & PC?
    • Does this issue specific to a particular PDF file or all PDF file in the USB?
    • What is the program that you are using to open the PDF file in order to print?
    • Did you try printing any PDF file that is saved on the PC?
    • What happens when you try to print, do you get any error message/code?


    Meanwhile, we would suggest you to perform these steps from this article:

    Fix printer connection and printing problems in Windows 10




    Also, if you are using the Adobe application to print the PDF file, refer this article from Adobe:
    Troubleshoot PDF printing in Acrobat and Reader



    We await your response.



    Aditya Roy

    Microsoft Community – Moderator
     
    Aditya_Roy, Oct 18, 2023
    #4
Thema:

How to print a mht file to pdf using powershell

Loading...
  1. How to print a mht file to pdf using powershell - Similar Threads - print mht file

  2. How to print a mht file to pdf using powershell

    in Windows 10 Software and Apps
    How to print a mht file to pdf using powershell: Hi,I am trying to convert bulk mht files to pdf. I cant use third party tools/applications to do so.Hence decided to go with powershell scripting wherein I want to open the mht files and print it to pdf.Works almost fine but do not capture the images in MHT.Any help would be...
  3. Powershell Print PDF Command

    in Windows 10 Gaming
    Powershell Print PDF Command: How to print a pdf file to the network printer using powershell command. How to set the printer properties such as colour, orientation and double sided options using poweshell command?...
  4. Powershell Print PDF Command

    in Windows 10 Software and Apps
    Powershell Print PDF Command: How to print a pdf file to the network printer using powershell command. How to set the printer properties such as colour, orientation and double sided options using poweshell command?...
  5. Print To Pdf Question Using MS Print to pdf.

    in Windows 10 Gaming
    Print To Pdf Question Using MS Print to pdf.: Folks, I have a word doc, and at the bottom I put 5 links. I made all 5 by r clicking the text > Link, pasting the true url in there, and then I printed the doc to pdf using MS Print to pdf.My issue is none of those links are clickable in the pdf? I just get the hand icon...
  6. Print To Pdf Question Using MS Print to pdf.

    in Windows 10 Software and Apps
    Print To Pdf Question Using MS Print to pdf.: Folks, I have a word doc, and at the bottom I put 5 links. I made all 5 by r clicking the text > Link, pasting the true url in there, and then I printed the doc to pdf using MS Print to pdf.My issue is none of those links are clickable in the pdf? I just get the hand icon...
  7. Print To Pdf Question Using MS Print to pdf.

    in Windows 10 Customization
    Print To Pdf Question Using MS Print to pdf.: Folks, I have a word doc, and at the bottom I put 5 links. I made all 5 by r clicking the text > Link, pasting the true url in there, and then I printed the doc to pdf using MS Print to pdf.My issue is none of those links are clickable in the pdf? I just get the hand icon...
  8. Will not print PDF files

    in Windows 10 Software and Apps
    Will not print PDF files: I can display the file, but cannot print attached PDF files that I am getting sent. So I have to use "Print display page" which is a god awfully slow process. I thought PDF files were universally accepted format. Do you know why it hangs up ? It just sits there, does...
  9. PDF print files

    in Windows 10 Drivers and Hardware
    PDF print files: What inexpensive or free app or download is recommended to print to pdf large or custom paper sizes such as ArchD? https://answers.microsoft.com/en-us/windows/forum/all/pdf-print-files/ba3eb7df-2b84-401a-ab03-cc8ae2dcd5f7
  10. What App to use to open a .mht file?

    in Windows 10 Software and Apps
    What App to use to open a .mht file?: I downloaded the MHTViewer from the Windows Store but it won't open my Windows Steps Recorder files. I would appreciate very much another suggestion that can view a .mht file that has pictures mixed with text. 134338