Crystal Reports Printing to Different Printers - crystal-reports

SAP Crystal Reports Version 14.1.1.1036.
I have setup two printers on my server, both printers are to the same printer but different trays. Different paper in each tray, we'll call them PrinterA and PrinterB. I am trying to print a two page report to the two printers, basically page 1 going to PrinterA and page 2 going to PrinterB. There are hundreds and thousands of these to print. I've created a main report page, added two subreports, one subreport on page 1 and the other subreport on page 2; then tried to set different printers to each subreport or page. Every time I go back to the main page, the last saved printer is selected for the main and each subreport. I was hoping that the printer I setup for each subreport would be used, but this is not the case. I know this can probably be achieved via 3rd party tools (Visual Cut maybe??), but is there any way to do this natively in Crystal Reports? And we do need the pages matched up in one output tray, otherwise we would just setup two jobs and print all page 1s to one printer and all page 2s to another printer. Thanks.

Visual CUT can indeed do this using one of two different methods. See this in the user manual.
The process starts with automating the export to PDF and then splitting the printing of the PDF across the desired printer trays.

Related

Birt eclipse duplex printing

I've been searching for an answer to this question. How can I print duplex or create double-sided PDF using BIRT + eclipse? I generate documents that contain multiple reports, and often the reports are multi-page. How can I force the header pages to always be "page 1" and avoid the next report from flowing onto the back of the previous report?
This isn't a BIRT topic.
When you say you print from BIRT, that's technically not the case. You create a PDF file with BIRT and print that file somehow.
Unfortunately the PDF file format does not support instructions to do a physical page break at a given logical page break.
So, unless you know at generation time if the resulting file will be printed duplex or not, there is no way to control this.
If you know that the file will be printed duplex in most cases, you might insert blank pages at certain places (maybe with a text "this page is intentionally left blank"), but this results in wasted pages if the file is printed single-sided.
Anyway, this still leaves you with two tasks:
1) Use a different Master Page when a new section of the report starts.
2) Finding out where to insert blank pages.
The first task is actually quite simple.
In BIRT, you can have different master pages (say, "first page" and "following page").
You can choose the master page to use in the properties of layout elements in BIRT.
Give it a try!
The second task is outside the scope of BIRT, you'll need some kind of PDF post-processing here. The idea is as follows:
Use BIRT to create a PDF file.
Use BIRT's TOC entry property to create a PDF TOC (also called Outline). This is the document structure shown on the left side if you open the file in Adobe Reader.
Use a PDF post processor (e.g. based on iText or whatever) to read the TOC entries.
Each entry has information about the page where it points to.
Now, if you want to print duplex and the entry starts on a even page (1-based), insert a blank page before this page.
It is possible, but will take at least a few hours of Java programming (or several days, depending on your experience with your chosen PDF processing tool).

Generate IReport / Jasper Report containing 2-page report (with 3 columns each) on a single sheet in landscape mode

I'm doing a report for a client and I am not able to mount it according to your need. What he needs is to generate an A4 sheet of PDF in landscape mode, each containing sheet two pages (odd and even), and each page with 3 columns.
Already researched in various forums (both here in JUG as in others) but none could find something to help me with this resolution, and I'm already late with the delivery of this software, where only lack this report the products.
To illustrate better, I am sending this post the image of the result I need.
Please staff, someone knows and / or ever needed to generate a report of two pages on one single sheet? The 3 columns I can generate, but only on 1 page.
If you have any idea or suggestion to also otherwise to generate, will be very welcome, because my chances are very close to exhausted, so I need, and your help.
I'm using version 5.6.0 IReport
Add a one more detail band and those three columns which you would like to show in second page. Adding detail bands makes adding different pages.

Crystal report to pdf's not generating as seen in Preview of Crystal Reports

I am generating a crystal report and using a C# prog to break or "burst" the file in to individual pdf's (using this prog.... Crystal Reports "File Break" )
When move the PageHeader section to the "Report Head" section, the details part of crystal reports does not show after the C# prog generates.
When I preview the crystal report from "preview" in crystal reports the detail section is there.....
Any Ideas?
Thanks in advance!!
I would post images but the site will not let me with out more than 10 rep points..
This is the crystal report preview
And this is after i generated the pdf.... See how the details section is not being populated, even tho in the preview in CR the activities are showing.... This all happened when i switched the top image to be in the group head instead of the page head....
Assuming there is nothing going on programmatically with hiding/suppressing sections, record selection, etc... generally, if a preview looks different than what is output to PDF or printed, it's always related to printer drivers, fonts chosen, and report printer setup.
For starters, I would make sure you're using a common "HP-compatible" printer as the driver (selected default printer while developing in Crystal) for the report. Also, just for testing purposes, change your report fonts to something VERY simple and "old school" like Courier or Arial. If you get the correct results after this, then go in and tweak/reapply your old fonts.
Also, make sure your individual field objects on the form are set to Can Grow. Additionally, always size your objects bigger than what it looks like it needs. For example, if a field looks like it needs to be 10 characters wide, size it 12 characters wide. This will help with printer and output incompatibilities.

print button in Crystal report viewer not working

I am using Crystal Repot 9 and VB6.0. I can display the report through Crystal report viewer properly. But the print button in the Crystal report viewer does not work. My printer is in network. If I print any other file such as .doc, .txt then the printer prints the file. But when I click the print button in the Crystal report viewer then it neither prints the report nor through any error message. Where is the problem? How can I solve this?
These thoughts come to mind:
Have you tried this more than 1 report? Maybe the file itself has a problem.
Can you get your IT to hook up a printer directly to your machine for about 5 minutes? (Yes, I know that is much harder to do than to say).
If it prints, then perhaps crystal has a problem with the printer network.
Try exporting your crystal file to PDF first, then print that.
You say that you're using VB6. Are you controlling Crystal thru automation in any way when printing this?
This might be better handled at ServerFault.com (see links below). It's a sister site to this one that has the same interface.

Can you start Crystal Reports 10 in read only mode so users can't create or change a report?

I'm in an environment where I have created reports in CrystalReports 10 and only want my users to view the report from an external application. The application is already set up to open the report with crystal, but I don't want my users to be able create or change the report. I can't seem to find a command line option to do this. Is there a runtime only version of Crystal?
embed crviewer and craxdrt components in your app (delivered with CR developer's edition, free to distribute) so that you'll be able to view reports without modifying them. Basic manipulations (zoom, search, export to pdf, display/hide details or groups) can still be done.
If you must launch this viewer from a command line, I'd advise you to embed it in an office document/file and manage it through VBA. You could for example launch the runtime version of Access (free to distribute) that will contain one generic form for Crystal Reports display.
There are Crystal Reports viewer components which you can use in your projects. They are coming with the Crystal Reports Developer editions and you can use them in almost every programming language. There you can define the report as view only if you want.
Go to SAP.com and search for "Crystal Reports Viewer". It may or may not do what you want.
Also take a look at "Crystal Reports Server". CRS XI is a nice reporting portal with many useful server-side features. Schedule reports to run and auto-publish. Generate PDF or Excel output. Limit access to reports (or groups of reports) by specific users, etc. But for your application you can use HTTP access within your application to the published results. This is a good solution for example when you have a large number of users viewing the same reports.
What about marking the file as read-only? If the viewer opiton isn't open to you.