======6. Printing======
====6.1. The name of the printer is incorrectly configured====
===6.1.1. Check printer name===
1. Make sure that the printer name in printer properties is the same as the Local Printer Name on the Printers Setup window. For more information about setting up the printers please see: [[implementation:scan:master_data#setting_up_the_printers|Setting up the printers]]
{{ :implementation:scan:support:printer_name.png |}}
===6.1.2. Redirected printer===
If the printer is redirected, try to install the printer directly on the server where the Service Broker runs.
====6.2. The “Run as user” for Service Broker service is not allowed to use the printer====
Enable printing permissions for the Run as user for Service Broker service.
Open the ‘Printer properties’ of the printer. On the Security tab select the ServiceBroker user and allow the following permissions:
* Print
* Manage the printer
* Manage documents
{{ :implementation:scan:support:permission.png |}}
====6.3. Label won’t be printed on a PDF printer====
**Issue** \\
When printing with a virtual printer, the printer does not open the document after printing.
**Solution** \\
The document does not open after printing if the Service Broker runs as a service. If you want to use the PDF printer for a demo or in case you want to test your label, then you should start ProdumexServiceBroker in console mode.
If Produmex Service Broker runs as a service, stop it. Then run BxServiceBroker.Console.exe as an administrator. The file is located in //C:\Program Files (x86)\Produmex\ServiceBroker//
{{ implementation:bxmanuf:pdc_install:console.png |}}
Configure the ProdumexServiceBroker with an administrator user other than system user.
Install a PDF printer that allows automatic saving. Configure an output location and automatic document numbering for the ServiceBroker user. Make sure that you configure the PDF printer in a way to show the document after generation.
Please note: We recommend to try multiple PDF printers because not every PDF printer is supported.
====6.4. Default printing solution====
1. Check whether the correct printer name is set.
* Check the printer name in the operating system. It is possible that the domain or computer name is necessary as well. Eg. Computer\Printer_name
* Check the printer settings on Administration > Setup > Inventory > Produmex Scan > [[implementation:scan:master_data#setting_up_the_printers|Printers Setup]]. The Local Printer Name must be the same as the printer name in the operating system.
{{ :implementation:scan:support:printer_name.png |}}
2. Configure the database connection
Open the .rpt file in Crystal Reports designer. Print a preview document and change the connection to the right database. Save the report.
====6.5. Custom printing solution====
1. Check the custom printing settings.
* Check whether the report was imported into SBO.
* Check whether the report ID is correct in the user query.
* Check whether every report parameter is included in the user query.
* Check whether the report name is correct.
For more information please see: [[implementation:scan:customprinting|Custom printing]]
2. Open rpt file in Crystal Reprts designer. Print a preview document and change the connection to the right database. Save the report file. If you had to configure the database connection, import the report to SBO again. Make sure that you modify the report ID in the user query if needed.
3. Check if the report can be printed from SAP Business One.
====6.6. Advanced printing configurations====
{{page>implementation:scan:customprintingconfig&noheader&noeditbtn}}
====6.7. Printing does not work on SBO 9.3 PL04 ====
Starting from SBO 9.3 PL04, SBO includes a new SAP Crystal Reports runtime engine version 13.0.22 (technical version number 13.0.3500.0). In the past the SAP Crystal Reports runtime engine version 13.0.14 (technical version number 13.0.2000.0.) was used. **Produmex Scan will support the new Crystal Reports version from version 18.2.**
You can check the current SAP Crystal Reports version on Control Panel > All Control Panel Items > Programs and Features.
{{ :implementation:scan:support:cr_control_panel.png |}}
===Workaround for Produmex Scan version 18.1 or older===
In order to print with version 18.1 (or older) of Produmex Scan on SBO 9.3 PL04, make the following modifications:
1. Adjust the app config file of the Service Broker. Open the BxServiceBroker.Service.exe.config file from //%%C:\Program Files (x86)\Produmex\ServiceBroker\%%// with a text editor. Insert the following code after the already existing “dependentAssembly” tags.
{{ :implementation:scan:support:cr_servicebroker.png |}}