<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Converting multiple docx to pdf in Fabric Notebook | Installing pdf-engine in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Converting-multiple-docx-to-pdf-in-Fabric-Notebook-Installing/m-p/4756905#M10751</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/671949"&gt;@GenaSea&lt;/a&gt;,&lt;BR /&gt;We noticed there hasn’t been any recent activity on this thread. If your issue is resolved, marking the correct reply as a solution would be a big help to other community members. If you still need support, just reply here and we’ll pick it up from where we left off.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Hammad.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Jul 2025 17:29:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2025-07-08T17:29:13Z</dc:date>
    <item>
      <title>Converting multiple docx to pdf in Fabric Notebook | Installing pdf-engine</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Converting-multiple-docx-to-pdf-in-Fabric-Notebook-Installing/m-p/4743062#M10412</link>
      <description>&lt;P&gt;I'm using a fabric notebook with pyspark and I need to convert multiple docx files that are saved in a Fabric Lakehouse file folder to pdf and save them in a new folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;msgraph&lt;/EM&gt; with a sharepoint connection.&amp;nbsp; It worked until one day it didn't.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;docx2pdf&lt;/EM&gt; doesn't work in a fabric notebook.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently attempting&amp;nbsp;&lt;SPAN&gt;&lt;EM&gt;pypandoc&lt;/EM&gt; but I need to get a pdf-engine installed "in the cloud environment" (according to copilot).&amp;nbsp; How do I go about installing the pdf-engine installed?&amp;nbsp; Copilot suggests using !sudo command, but I don't have that type of access.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any assistance.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2025 05:43:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Converting-multiple-docx-to-pdf-in-Fabric-Notebook-Installing/m-p/4743062#M10412</guid>
      <dc:creator>GenaSea</dc:creator>
      <dc:date>2025-06-25T05:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Converting multiple docx to pdf in Fabric Notebook | Installing pdf-engine</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Converting-multiple-docx-to-pdf-in-Fabric-Notebook-Installing/m-p/4743256#M10418</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/671949"&gt;@GenaSea&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try&amp;nbsp;LibreOffice in headless mode. This approach works in cloud environments and preserves formatting without requiring Microsoft Office.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2025 08:27:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Converting-multiple-docx-to-pdf-in-Fabric-Notebook-Installing/m-p/4743256#M10418</guid>
      <dc:creator>nilendraFabric</dc:creator>
      <dc:date>2025-06-25T08:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Converting multiple docx to pdf in Fabric Notebook | Installing pdf-engine</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Converting-multiple-docx-to-pdf-in-Fabric-Notebook-Installing/m-p/4743662#M10422</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/671949"&gt;@GenaSea&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to the Microsoft fabric community forum.&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;You are right, there’s no sudo apt‑get available in Fabric Notebooks, so you can’t shim in a system‑level PDF engine that way. Instead, you can try to b&lt;/SPAN&gt;ring your own engine via a “binary‑in‑a‑wheel”. Here’s the Python only workflow in a nutshell:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Install the wheels #(This lands both Pandoc and a bundled wkhtmltopdf on every node, no sudo needed.)&lt;BR /&gt;Fetch the Pandoc binary #(Grabs a self‑contained Pandoc for Linux.)&lt;BR /&gt;Define your converter and wire it up to your Lakehouse.&lt;/P&gt;
&lt;P&gt;That’s it no system‑level installs, just pure Python in your Fabric Notebook.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;pythonCopyEditfrom notebookutils import mssparkutils&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;src="abfss://…/docx_folder"dst = f"{src}/pdf_output"&lt;BR /&gt;mssparkutils.fs.mkdirs(dst)&lt;BR /&gt;for file in mssparkutils.fs.ls(src):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if file.name.lower().endswith(".docx"):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;local_doc = f"/tmp/{file.name}"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;local_pdf = local_doc.replace(".docx", ".pdf")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;# copy → convert → copy back&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mssparkutils.fs.cp(file.path, local_doc)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;docx_to_pdf(local_doc, local_pdf)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mssparkutils.fs.cp(local_pdf, f"{dst}/{file.name[:-5]}.pdf")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;pythonCopyEditimport pypandoc&lt;BR /&gt;def docx_to_pdf(in_path, out_path):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pypandoc.convert_file(&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;in_path, 'pdf',&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;outputfile=out_path,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;extra_args=['--pdf-engine=wkhtmltopdf']&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;pythonCopyEditfrom pypandoc.pandoc_download import download_pandoc&lt;BR /&gt;download_pandoc()&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;pythonCopyEdit%pip install pypandoc==1.15 wkhtmltopdf-pack&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would also take a moment to thank &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/913195"&gt;@nilendraFabric&lt;/a&gt;, for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Hammad.&lt;BR /&gt;Community Support Team&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jul 2025 16:59:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Converting-multiple-docx-to-pdf-in-Fabric-Notebook-Installing/m-p/4743662#M10422</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-07-29T16:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Converting multiple docx to pdf in Fabric Notebook | Installing pdf-engine</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Converting-multiple-docx-to-pdf-in-Fabric-Notebook-Installing/m-p/4748283#M10498</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/671949"&gt;@GenaSea&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;As we haven’t heard back from you, so just following up to our previous message. I'd like to confirm if you've successfully resolved this issue or if you need further help.&lt;/P&gt;
&lt;P&gt;If yes, you are welcome to share your workaround and mark it as a solution so that other users can benefit as well. If you find a reply particularly helpful to you, you can also mark it as a solution.&lt;BR /&gt;If so, it would be really helpful for the community if you could mark the answer that helped you the most. If you're still looking for guidance, feel free to give us an update, we’re here for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Hammad.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jun 2025 10:39:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Converting-multiple-docx-to-pdf-in-Fabric-Notebook-Installing/m-p/4748283#M10498</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-06-30T10:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Converting multiple docx to pdf in Fabric Notebook | Installing pdf-engine</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Converting-multiple-docx-to-pdf-in-Fabric-Notebook-Installing/m-p/4753321#M10638</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/671949"&gt;@GenaSea&lt;/a&gt;,&lt;BR /&gt;I just wanted to follow up on your thread. If the issue is resolved, it would be great if you could mark the helpful reply as solution so other community members facing similar issues can benefit too.&lt;BR /&gt;If not, don’t hesitate to reach out, we’re happy to keep working with you on this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Hammad.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2025 11:34:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Converting-multiple-docx-to-pdf-in-Fabric-Notebook-Installing/m-p/4753321#M10638</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-07-04T11:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Converting multiple docx to pdf in Fabric Notebook | Installing pdf-engine</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Converting-multiple-docx-to-pdf-in-Fabric-Notebook-Installing/m-p/4756905#M10751</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/671949"&gt;@GenaSea&lt;/a&gt;,&lt;BR /&gt;We noticed there hasn’t been any recent activity on this thread. If your issue is resolved, marking the correct reply as a solution would be a big help to other community members. If you still need support, just reply here and we’ll pick it up from where we left off.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Hammad.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 17:29:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Converting-multiple-docx-to-pdf-in-Fabric-Notebook-Installing/m-p/4756905#M10751</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-07-08T17:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Converting multiple docx to pdf in Fabric Notebook | Installing pdf-engine</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Converting-multiple-docx-to-pdf-in-Fabric-Notebook-Installing/m-p/4801045#M11820</link>
      <description>&lt;P&gt;Hi I tried implementing it but it's not working the error is&amp;nbsp;Pandoc died with exitcode "47" during conversion: wkhtmltopdf not found. Please select a different --pdf-engine or install wkhtmltopdf&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even though I have followed the exact steps mentioned&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 11:59:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Converting-multiple-docx-to-pdf-in-Fabric-Notebook-Installing/m-p/4801045#M11820</guid>
      <dc:creator>Yashashwy</dc:creator>
      <dc:date>2025-08-19T11:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Converting multiple docx to pdf in Fabric Notebook | Installing pdf-engine</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Converting-multiple-docx-to-pdf-in-Fabric-Notebook-Installing/m-p/4801686#M11826</link>
      <description>&lt;P&gt;Hi can you give me the code for it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 05:07:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Converting-multiple-docx-to-pdf-in-Fabric-Notebook-Installing/m-p/4801686#M11826</guid>
      <dc:creator>Yashashwy</dc:creator>
      <dc:date>2025-08-20T05:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Converting multiple docx to pdf in Fabric Notebook | Installing pdf-engine</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Converting-multiple-docx-to-pdf-in-Fabric-Notebook-Installing/m-p/4803673#M11873</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1338056"&gt;@Yashashwy&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As the above workaround didn't helped, at this point it may be worth opening a support ticket with Microsoft. Y&lt;/SPAN&gt;&lt;SPAN&gt;ou can reach out to Microsoft Support by raising a ticket with Microsoft Support.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please refer below link on how to raise a contact support or support ticket.&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/support/create-support-ticket" target="_blank"&gt;How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hammad.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 12:15:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Converting-multiple-docx-to-pdf-in-Fabric-Notebook-Installing/m-p/4803673#M11873</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-08-21T12:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Converting multiple docx to pdf in Fabric Notebook | Installing pdf-engine</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Converting-multiple-docx-to-pdf-in-Fabric-Notebook-Installing/m-p/4813347#M12075</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/671949"&gt;@GenaSea&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I wanted to follow up on our previous conversation. Has your issue been resolved or were you able to raise a support ticket with Microsoft Fabric Support?&lt;BR /&gt;Your feedback would be greatly appreciated, as it can help us better understand and address similar issues in the community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your understanding and assistance.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Sep 2025 10:13:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Converting-multiple-docx-to-pdf-in-Fabric-Notebook-Installing/m-p/4813347#M12075</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-09-01T10:13:28Z</dc:date>
    </item>
  </channel>
</rss>

