Optimizing Printer Speed

Klicke hier für den deutschen Artikel.

There are numerous factors that can affect print speed. The following list shows how to optimize these factors or influence them positively.

For Users: Designers/Projects

For Developers: Source-Code

  • Use the functions LlPrintIsVariableUsed() or LlPrintIsFieldUsed(), as well as LlGetUsedIdentifiers() (available starting with version 11), to minimize the load on your database engine.

  • In a release version of your application, LlSetDebug() should NOT be used. This would EXTREMELY slow down execution.

  • By avoiding special characters in variable names, you can disable the automatic checking and conversion routine via the LL_OPTION_XLATVARNAMES option, thereby eliminating unnecessary and frequent calculations. This is necessary for international use anyway.

  • Once the application has been completed and tested, List & Label’s parameter checking can be disabled using the LL_OPTION_NOPARAMETERCHECK option. This also saves valuable time by avoiding unnecessary checks.

  • If the size of the preview files (*.ll) is not an issue, compression of preview files can be disabled using the LL_OPTION_COMPRESSSTORAGE option.

  • If possible, the LL_OPTION_VARSCASESENSITIVE option should be set to 1.

  • Using the LL_OPTIONSTR_VARALIAS option, you can define an alias for potential localization during variable/field registration. However, this only affects the Designer session and has no benefit for printing or exporting; therefore, omitting this option for printing or exporting can increase the speed of data structure registration.

  • Utilizing the extended address space of a 64-bit application can contribute to an overall performance improvement under certain circumstances, such as when processing large amounts of data, etc. Providing a 64-bit build of the application allows you to take advantage not only of the larger amount of memory available to your application’s process but also of the associated performance gains.

  • Filtering/sorting in the data source: Handling Huge Amounts of Data in .NET.

  • For PDF export, specific factors can help improve speed: PDF Export: File Sizes and Optimizations.

  • Finally, you can use a log file created with Debwin4 to check exactly where a significant time difference is logged, in order to identify potential areas for improvement:

General Notes

  • Higher resolutions on laser printers can have a negative impact on print speed. Unless bitmaps are used, the print quality on many laser printers is virtually identical at lower resolutions.

  • Using PostScript printer drivers instead of LaserJet drivers can have a positive effect, as they are usually significantly faster.

  • Notes and options for using network printers: Printing on network printers.

  • If no physical printer is required and you only want to export the report, you can do without a printer driver entirely - see also: Printerless Mode in List & Label.

IDKBTE000573 KBTE000573