on 07-29-2020 6:54 AM
Crystal Report 2013SP14
We designed a Crystal Report to print barcodes. It applies custom defined size as 1X2.126 inches, margin as 0,0,0,0. Data source gets list of records from one table, and displays barcode format.
It worked on Windows 2008R2 Server.
Week ago we moved the system to the cloud server, Windows 2016 standard version with Citrix Environment.
1. First of all, got an error as "Crystalviewer returned: attempted to divide by zero" when we selected Citrix Universal Printer. The report doesn't have any calculation, nothing to be divided.
2. System admin installed screw driver on user's PC, instead of printing to Citrix Universal Printer, user can directly print the report to the local PC printer. We don't get the error anymore. But it's printed to two pages. One with barcode, another page is blank.
System admin already made changes on server based on link below.
https://answers.sap.com/questions/12742647/reports-margins-and-size-issues.html
What could cause an empty page (added page margins) from server side?
Thanks in advance.
Jane
These are the steps I would take to troubleshoot the extra page:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you set a different background color to every section of the report and see what section matches the color of the extra page?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How do the sections in the report look? Is there just a single section with the barcode and the rest are suppressed? Is the barcode at the very top of the section (Y=0) and is the bottom of the section pulled up to the bottom of the barcode object?
-Dell
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also, margins can be printer dependent. Some printers have automatic areas that are unprintable and which get added to the output even if you have all margins set to 0.
-Dell
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It used to be an error in earliest versions of Crystal reports for "Suppress if no records" function used. My guess zero records causing the problem. Does your report have any records?
Extra page sometime means an objects goes over border. To make sure your barcode object does not go over, right-click the object, select Format and then Lock size and position.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.