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
-
Avoiding unnecessary frame objects or graphics can have a positive impact on speed.
-
Multi-pass printing is practical but can also be time-consuming - see Potential performance losses due to multi-pass processing.
For Developers: Source-Code
-
Use the functions
LlPrintIsVariableUsed()orLlPrintIsFieldUsed(), as well asLlGetUsedIdentifiers()(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_XLATVARNAMESoption, 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_NOPARAMETERCHECKoption. 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_COMPRESSSTORAGEoption. -
If possible, the
LL_OPTION_VARSCASESENSITIVEoption should be set to 1. -
Using the
LL_OPTIONSTR_VARALIASoption, 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.