Besides support for Windows 11, the new Service Pack 26.005 provides many new features and improvements for the Report Designer, print, export, .NET and much more. This blogpost gives you a summary.
New Features
Print
For direct print only (not printing from preview): added an option LL_OPTION_SUPPRESS_EMPTY_PAGES_ON_PRINT (378) to suppress empty pages on the printer.
Others
Added support for Windows 11 (Version 21H2).
Added support for Windows Server 2022 (Version 21H2).
Added support for Windows 10 (Version 21H2).
Added LsGetOption() index LS_OPTION_JOB_GTC_COUNT (215) to return the count of GTC pages of the selected job (of a multi-job storage handle), or the whole storage (for a one-job storage handle). This depends on duplex and other settings, so it might not be exactly what will be printed on a real device.
Improvements
Designer
Allow usage of LL.ChartObject.AxisPercentage also in barcharts other than relative stacked ones.
HTML object: Rendering of html-files from local- and network-paths improved.
PDF object: If a PDF document used as a PDF object in a report contained highly compressed graphics (JPEG/PNG – for example scanned documents, etc.), these were previously always converted to bitmap format in a very memory-intensive way, whereby x86 processes often reached their memory limits. Now the compressed graphics (JPEG/PNG) are left in their compressed format within the PDF document. However, depending on the compression level of the graphics, this may possibly have an impact on runtime.
Print
Large crosstabs did not cancel printing when the progress dialog was cancelled, it could have taken a while to abort the print process as the “cancel” state was queried not often enough.
In case there’s no default printer, or the default printer cannot be used, the customer can now specify that LL enumerates the printers to find the first that us usable by setting a registry key HKEY_CURRENT_USER, “software\combit\cmbtll\<appname without ext>”, “Core.Workaround.UseAnyUsablePrinterAsDefault” [String] “T”.
Reg-Entry “Workaround.PaperSize0” now changes the meaning of the value “2” to the one before may 2021. Some label printers (Brother) do not like the form index to be removed although they should be able to cope.
Printing to preview: the preview file’s EMF dimensions are rotated if the value of LL_OPTION_PRN_FORCE_PROJECTSIZE_AS_PAPERSIZE has bit 5 (0x20) set.
Export
PDF: If the default-value for option PDF.ZUGFeRDConformanceLevel was explicit defined with value “BASIC” the wrong log-message “Given ZUGFeRD conformance level (‘BASIC’) is not supported…” was logged in Debwin4.
PDF: Improved runtime performance when exporting to PDF format.
Email
SMTP: Error code 421 (meaning “The service is unavailable due to a connection problem” – should be 452 (“Too many emails sent or too many recipients: more in general, a server storage limit exceeded”)) also causes a reconnect.
.NET
Added static member DefaultBufferSize to LlCore class. This gets or sets the default buffer size for a couple of APIs. Usually, the buffer will be reallocated to a suitable size if it is too small. For a few APIs however (e.g. LlDlgEditLine), the input is determined by the user on the fly, thus a resizing can be useful if you need e.g. to allow editing formulas > 16KB via EditExpression (which calls LlDlgEditLine internally).
Added Description property to Template DOM class.
Report Server
PDF object: If a PDF document used as a PDF object in a report contained highly compressed graphics
PDF export: Improved runtime performance when exporting to PDF format.
PDF object now keeps embedded JPEGs or PNGs, thus reducing the need of possibly lots of memory.
Tools
Debwin4: hardened startup behavior by catching XML exceptions that might be caused e.g. by invalid docking configurations.
Others
PDF object now keeps embedded JPEGs or PNGs, thus reducing the need of possibly lots of memory.
Default and hovered buttons were clipped in Windows 11, leading to no text being rendered for the button caption.
Daniel is mainly responsible for quality assurance and release management at combit. He likes to spend his free time with his family hiking, doing karate or playing video games.