Skip to main content
Skip table of contents

DOCX Print

Overview

R2 generates DOCX files for Form Setup prints, Predefined prints and standard reports. This update replaces the legacy RTF format, ensuring your documents open perfectly in Microsoft Office 365 with consistent formatting and no risk of file corruption.

The new DOCX output follows the same high-quality standards as R2’s PDF prints, giving you professional, reliable results every time.

Printing Flowsheets in .DOCX format will be available in upcoming releases.

Predefined prints

Predefined prints (prepackaged) that previously generated RTF files are generated directly in DOCX format post version 06.26.02-00.

Examples include:

  • Order Search → Print Order List

  • Warehouse → Print → Quick Turn Fulfillment, Quick Turn Forecast, Unfilled & Short Transfers

DOCX files generated from these print paths:

  • Download successfully without errors.

  • Follow existing file naming conventions.

  • Open correctly in Microsoft Word.

  • Preserve layout, fonts, tables, headers, and alignment.

If DOCX generation fails, R2 does not download an empty or corrupt file. Instead, it displays an appropriate error message.

Standard Reports

In the Reports module, the Standard reports are also generated in DOCX format instead of RTF.

With this update:

  • All standard reports are produced as DOCX files.

  • Reports maintain consistent formatting when opened in Microsoft Word.

  • RTF is no longer used for standard report output.

  • DOCX report files preserve tables, spacing, and overall report structure for reliable viewing and sharing.

This update ensures stable document generation for all supported prepackaged prints and standard report types that previously generated in RTF format. Reports and prints generated in other formats remain unchanged.

Form Setup Print

Applies To

You can use DOCX output for the following print types which works based on Form Setup:

  • Order prints (all order categories)

  • Invoice prints

  • Batch invoice prints

  • EDR prints

  • Picklist prints (Order and Transfer) etc.

Prerequisites

Before you enable DOCX output, make sure that:

  • Your forms follow R2’s PDF-compatible layout standards.

  • You store disclaimer files in DOCX format.

  • Header, footer, and body widths stay within supported limits.

Select DOCX as the output format

To set DOCX as default output format for a specific form. Refer to Form Setup.

You can also select DOCX as output format while printing form setup based prints in:

The system continues to support PDF and RTF formats without changes.

Use DOCX with PDF-Compatible Forms

The system aligns DOCX output with PDF layouts.

  • Use PDF as the reference format when designing forms.

  • Forms that work correctly in PDF usually work in DOCX without changes.

  • Validate DOCX output by comparing it with the PDF output.

Convert RTF Forms to DOCX

You can convert existing RTF forms to DOCX.

In most cases, converting an RTF form:

  • Enables DOCX output

  • Maintains PDF compatibility

  • Prevents Word formatting and file corruption issues

Add Disclaimers to DOCX Output

The system supports disclaimers in DOCX output.

  • Store disclaimer files in DOCX format.

  • Do not use RTF files for DOCX disclaimers.

  • Verify disclaimer layout after conversion.

Optional Section (Only If Needed)

Configure Headers and Footers

The system processes headers and footers in a fixed order.
Always configure them in the following sequence:

  1. First page header

  2. Regular header

  3. First page footer

  4. Regular footer

  5. Footer group

If you change this order, the system may skip or misplace headers and footers.

Configure the Default Footer

If you do not define a custom footer, the system applies a default footer as setup in the Configuration module > Print tab > Default Footer option.

Set the Default Footer
  1. Go to Configuration → Print → Default Footer.

  2. Select one of the following options:

Value

Result

0

Show page number and timestamp

1

Show page number only

2

Show timestamp only

3

Do not show a footer

How DOCX Renders the Footer

The system renders the default footer as a three-cell table:

  • Left: Report title

  • Center: Page X of Y

  • Right: Printed on <date and time>

Configure Logos

The system simplifies logo handling for DOCX.

  • Specify the logo image path directly in the Form UI.

  • Do not create a separate logo file.

  • Use the same configuration you use for PDF output.

Follow Layout and Width Standards

Microsoft Word enforces strict width limits for DOCX tables.

  • Keep header, footer, and body widths within supported limits.

  • Exceeding width limits may cause footer or alignment issues.

Handle Row Gaps Between Bordered Rows

The system renders each Form UI row as a separate Word table.

When adjacent rows use borders, Word may display a visible gap.

Merge Rows When Required

Set the following property only when you need continuous borders:

MERGE_WITH_NEXT_NEW_LINE = true

Use this property carefully.

Error Handling

If DOCX generation fails, the system:

  • Does not download an empty or corrupt file

  • Displays a clear, user-friendly error message

You can fix most issues by updating Form UI settings.

Validate DOCX Output

After you enable DOCX output:

  • Compare DOCX output with PDF output.

  • Confirm that headers, footers, disclaimers, and logos render correctly.

  • Verify that PDF and RTF outputs remain unchanged.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.