If you print a document by WebApps (Client or Desktop), the request is sent from the client to the Web server, and then to the Common server. Then, the Common server prints the document.
But the Common server can only use printers, to which the service has access. In this example, only Printer A+B are accessible but Printer C+D are not:
In the previous versions, if you opened the Station settings > Location definitions, you could see the Printer from the current desktop: Printer C+D.
Now the System displays the printer driver which is available in view of the Common server - service.
In this example: Printer A+B
This makes it possible to see only available printers.
If the common service is not active, the system returns a warning message and displays local printer drivers - in the above example: Printer C+D.
New: Simple customization - use the correct printer
You can customize the printer setup and define a printer driver.
You would like to print labels during production, but the correct printer is defined in location settings.
Correct variant is:
If the location is not empty, you can read the setting from the location and use this as the printer driver:
// in future you don't need this:
//if <system.location> <> "" then
// select "DRIVERNAME" into :ls_drivername from "BEAS_SYS_LOCATION" where "LOCATION_ID"=<system.location,dbstring>
// if <var:ls_printername> <> "" then
// end if
With this new Beas version, you don't need to define the driver which is saved in the location.
If you don't define a driver and a driver is defined in the location settings, the system will use this driver.
If you overwrite the "selectprinter" - property, it has higher priority than the printer defined in the location.
Existing scripts are running without changes.