How to Export a Report from FastReport .NET to PostScript

2026-08-03

How to Export a Report from FastReport .NET to PostScript

FastReport .NET supports exporting reports to many popular formats, such as PDF, Excel, Word, and others. However, professional printing, plotters, and specialized printing equipment often require the PostScript (.ps) format.

PostScript is a page description language developed by Adobe Systems. It provides highly accurate rendering of vector graphics and text, making it a standard in the printing and industrial publishing industries. Unlike PDF, PostScript consists of a set of instructions for the output device, allowing precise control over every element of the page layout.

In this article, we will look at exporting a FastReport .NET report to the PostScript format, using a practical example to examine parameter configuration and programmatic implementation.

 


 

Export via the User Interface

As an example, let's use the "Employee List" report:

PostScript Print Selection Window

On the toolbar, click the "Save" button. Then, in the drop-down menu, point to "Print" and select "PostScript file...".

PostScript Export Window

The export settings include:

  • Text as Curves - when enabled, all text elements are converted into vector outlines (Bézier curves). This ensures that the text is displayed correctly on any device, even if the fonts used in the report are not installed. (The text is no longer editable, and the file size may increase.)
  • Separate Files for Pages - if the report contains multiple pages, this option saves each page as a separate .ps file instead of a single document. This is useful for batch processing or printing different parts of the report on different devices.
  • Save Pictures Separately - images from the report are saved as separate files, while the main .ps file contains only references to them. This reduces the size of the main file and speeds up processing. (When transferring the file to another device, remember to copy the image folder as well; otherwise, the images will not be displayed.)
  • JPEG Quality - specifies the compression level for raster images in the report.

Report with Multiple Tabs

  • Export All Tabs - if the report contains multiple tabs, this option exports the contents of all tabs instead of only the active one.
  • Open After Export - automatically opens the report in the application associated with the .ps file extension immediately after the export is completed.

Exported Report

 


 

Export via Code

The same result can also be achieved programmatically. The following example demonstrates how to configure and export the "Employee List" report using code:

// Create a new report instance
Report report = new Report();

// Load the report
report.Load(@"C:\Reports\MainReport.frx");

// Prepare the report
report.Prepare();

// Create a PostScript export object
PSExport psExport = new PSExport();

// Text as Curves
psExport.TextInCurves = true;

// Separate Files for Pages
psExport.PagesInDiffFiles = false;

// Save Pictures Separately
psExport.SaveImagesSeparately = false;

// JPEG Quality
psExport.Quality = 100;

// Export All Tabs
psExport.ExportAllTabs = false;

// Open After Export
psExport.OpenAfterExport = true;

// Export the report to a file using the specified settings
report.Export(psExport, "ResultReport.ps");

Exported Report

As shown in the screenshot, the file created programmatically is identical to the one produced through the interactive export process.

 


 

Conclusion

We have explored two ways to export reports to PostScript: through the user interface for one-time tasks and through code for automation. The PostScript format remains an essential tool for professional printing, and FastReport .NET makes it easy to integrate PostScript export into your applications.

.NET Export FastReport Report Printing
July 10, 2026

How to configure Content Security Policy for FastReport .NET WEB reports

Learn how to configure Content Security Policy for FastReport .NET WEB reports: an overview of CSP directives and values, changes in the FastReport architecture, typical bypass scenarios, and ways to protect against them.
June 22, 2026

How to Configure a Report with Business Objects in Code and the FastReport .NET Designer

This article demonstrates a practical example of creating and using an .frx report template that connects to hierarchical Business Objects in FastReport .NET.
May 20, 2026

Full Review of FastGrid Library's Capabilities

An overview of the FastGrid library for VCL and Lazarus: data visualization, editing, and structuring. Sorting, filtering, grouping, convenient data editors — all in one article!

© 1998-2026 Fast Reports Inc.