2024 Sep 13 9:34 AM - edited 2024 Sep 13 2:39 PM
Hi All,
I have added a report footer into an existing crystal report with terms. when I print the report its prints 1st page with all header and details and 2nd page just report footer but its giving totally 1/3 in display but when i print its prints only 1 & 2nd page and the third one is just blank no page. As anyone faced this issue please help me. following is the screenshot of the report footer and output. I have added following formula at page header section PageNumber >= TotalPageCount -1 otherwise the terms will print along with header from 2nd page and extend to 3rd page
Request clarification before answering.
Ah so you are using the Microsoft's Easy Print, Redirected print drivers.
CR doesn't like that driver because it's a InProc (Memory) load of the printer dll's, it transfers an XML file down to the local PC and uses that to do the printing.
CR is old technology and looks up the printer info saved in Windows DEVMODE structure to format the pages. Since it doesn't exist using the Redirected printer info CR defaults to your Default printer properties, which is different than what you designed it with.
TO fix this I suggest changing the No Printer to a real printer like an HP Printer or what ever that Redirected printer is and save the report.
Or install the printer driver on the PC where you are printing the report from.
Crystal Reports has always required a real printer when designing reports.
No printer uses the USP10 and some Default Printer properties when No Printer is enabled
So even if you don't have access to a real printer install it locally anyways and set it to the Default Printer.
That should fix your issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Download SP 36 from here:
https://help.sap.com/docs/SUPPORT_CONTENT/crystalreports/3354091173.html
Here's a Blog I wrote to upgrade your project:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is the app a Web page or Desktop viewer?
CR formats the report based on the printer, so when designing the report use a real printer, when the viewer prints it uses a real printer driver and no the viewer dll's.
Change your default printer to use a real printer and try again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Don,
I have report footer a and report footer b. The report footer A prints along with page header and details as page 1 and report footer B is where I added the terms. If I supress report footer b the first page print without any 2nd blank page but when I dont supress Report Footer b where I have terms this 3rd page starts printing.
Sorry Don,
Just wanted to tell you that I generate the crystal report dll in developer server then copy the dll file into Dynamics GP Addins folder and run the report. My GP version is GP 2016 R2 so not sure whether the CR SP 36 will supported by GP 2016 R2 version framework. Just wanted to confirm before I do them.
Great Plain was an OEM partner years ago if that's what Dynamics GP is, but hasn't been for years also.
It would have been good to know this info at the beginning because I have no idea if they support updated CR software or if it's even used.
You'll have to ask them if they support newer versions of CR for .NET
User | Count |
---|---|
76 | |
22 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.