Export Word Pages to PDF

Files & documents · nd-word-desktop-export-pdf · nodestly-word-desktop 1.0.0

Uses Microsoft Word to export the layout of a DOCX or a contiguous page range to PDF.

Inputs and outputs

  • document — Word document (text (filesystem.file)) Required connector.
  • firstPage — First page (number) Connector or setting.
  • lastPage — Last page (number) Connector or setting.
  • destinationFolder — Destination folder (text (filesystem.folder)) Required connector.
  • name — Output filename (text) Connector or setting.
  • fire — Optional start signal (fire).
  • file — File (text (filesystem.file)).
  • pages — Page count (number).
  • fire — Continuation after successful completion (fire).

Settings

  • firstPage — First page (number). Default 0.
  • lastPage — Last page (number). Default 0.
  • name — Output filename (text). Default empty.

A connected input takes precedence over the saved setting, including empty text, zero and false. An invalid connected value stops the workflow.

Use zero for both page settings to export the whole document. To export a range, enter both page numbers in ascending order, from 1 to 10,000. The page count output refers to the exported range. If the range exceeds Word’s page count, run Inspect Word Page Layout or correct the range. Document properties and review markup are excluded from the PDF. Word renders the document with the fonts available on this PC.

Requirements and common errors

Use an active Windows desktop, installed Microsoft Word Desktop and Windows PowerShell 5.1. Reconnect an existing local DOCX under 32 MiB with no password, external links, macros, active objects or unsupported dynamic fields. Open Word once to clear activation or first-run prompts if it fails to start.

Choose one filename ending in .pdf in a writable local folder on an NTFS or equivalent volume. Choose a fresh name if the destination already exists. Editing requires an unrestricted copy with resolved tracked changes.

Failure stops this block and returns no file resource or continuation signal.