Question

How can I print a standard "back page" from a Crystal Report

Asked by: doug_stephens

We have a multi-page invoice style report which needs a "terms and conditions" page on the back of each invoice page. I've tried a lot of things, like alternating headers depending on mod of page#, but I can't seem to do it without supressing an actual detail line.

If not possible within Crystal, my other thought was to download the back page to the printers (mostly Xerox Workcenter models) and tell the printer to use that as a back page, like a watermark. I've tried to contact Xerox about this but they say not possible. Although I kind of suspect it is.

Currently we just pre-printing a bunch of back pages and putting them in Tray x, then print our report non-duplex specifying Tray x, which works but is a chore and requires user setup. It is a legal thing so we want to be absolutely sure it prints this way.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-09-03 at 11:09:04ID24705495
Tags

Crystal Report Duplex Xerox

Topic

Crystal Reports Software

Participating Experts
7
Points
500
Comments
21

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Duplex Printing
    We would like an Invoice printed in Crystal reports which has our terms and conditions printed on the back of every page. We have Duplex printers for double sided printing. Can anybody help?
  2. duplex printing a Crystal Reports subreport with VB6
    Is it possible to duplex-print a Crystal Reports subreport only (and have the rest of the main report print in simplex) using VB6? I realize I could set the entire report to print in duplex and then add blank pages after the sections I want to be in simplex (i.e. simulate sim...
  3. is there a way to print a crystal report in duplex mode?
    I have an application that is using the crystal reports api. when I print a report, I would like to print it double-sided. Is it possible to set the report to print in a duplex mode when using crystal reports 8 with vb 6? I looked at PEPrintOptions in the API, but it loo...
  4. Duplex Printing in Crystal Reports for .NET
    I'm using Crystal Reports for Visual Studio .NET (VB.NET) and need to have specific reports do the following (not all reports): 1. Print Duplex 2. Change to landscape How can this be done? I'm using the CrystalReportViewer on a windows form.
  5. Printing Duplex in Crystal Reports
    I am running a financial software that we are trying to print duplex reports from Crystal. The problem when we print duplex it cuts off the right forth section of the page on both sides. Printing one sided works fine. It happens on all the duplex printers in the building....
  6. Duplex Printing VB.NET (Crystal Reports)
    Hello, I wonder to know if somebody can help to get a duplex report using crystal reports and vb.net. I dont how to start my design in crystal. then How do I send to print my report using vb.net Maybe this question is easy for most of the vb developer but is my first tim...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: wykabryanPosted on 2009-09-03 at 13:07:19ID: 25254409

add another report footer section.

Report Footer A
Report Footer B

Then in Report Footer B add whatever you want.
Then go to Report>Section Expert. In Report Footer A section click the check box New Page After.

This will put Report Footer B always as the last page.

 

by: LinInDenverPosted on 2009-09-03 at 13:08:54ID: 25254422

If you are running multiple invoices in one run, I would enhance on wykabryan's recommendation and stick them in the group footer (report being grouped on invoice number or something similar).

 

by: doug_stephensPosted on 2009-09-03 at 13:20:24ID: 25254528

wykabryan: New Page Before / After are greyed out on the page footer sections. And it is has checked New Page After. I believe this is  standard for these sections.

One thing I tried was adding a second Detail section, then puting New Page Before but it does not seem to recognize this., i.e. it does not go to new page.

I'm using CRXI - Developer edition)

 

by: wykabryanPosted on 2009-09-03 at 13:22:11ID: 25254555

Doug.. You dont want to do this in the page footer. You want this in the Report Footer.

Go report>Section export. Click on Report Footer. Then at the top click on insert. You will now see two section. on Report Footer A click on New Page After.

 

by: doug_stephensPosted on 2009-09-03 at 13:22:39ID: 25254560

LinInDenver: That would not work if there were exactly 1 page per invoice group.

I need a back page on every page of the report. i.e. every alternate page does not have any details, just the text.

 

by: doug_stephensPosted on 2009-09-03 at 13:30:39ID: 25254633

wykabryan: Using Report footer would only put the text on the last page of the report. I need the text on every alternate page of the report.

LinInDenver: Correction ... I meant using group footer would NOT work if there were more than 1 page of invoice details.

 

by: LinInDenverPosted on 2009-09-03 at 17:25:57ID: 25256140

Hi Doug - if you are grouping on  INVOICE, having your standard footer in the group footer would force it for each invoice.

If you choose new page before and new page after on your group footer section, I think you will get the desired effect.

page one
invoice group header -- Invoice 100
invoice detail line -- blah blah blah blah
invoice detail line -- la la la la la

page two
invoice group footer -- disclaimer text

page three
invoice group header -- invoice 101
and so on..

good luck.

 

by: LinInDenverPosted on 2009-09-03 at 17:26:56ID: 25256146

Also - using a group footer should work if you have multiple invoice pages, so long as you are grouping by invoice.

group footers only display once you have reached the end of a grouping.
page footers display on all pages, and report footers display only on last page of the entire report.

 

by: mlmccPosted on 2009-09-03 at 18:09:46ID: 25256281

Try this idea

Add a second page header section
Put the page header for the ODD pages in PHa
Put the trems and conditions in PHb
Make PHb tall enough to fill a page.  You will have to play with this since it is controlled by the margins and the Page Footer size.  On a report I built with .25 margins and .25" Page footer the page header B was 7.75" tall

I had the paper set for landscape.

Right click the page header in the left margin
Click SECTION EXPERT
Click the SUPPRESS formula button  for Page Header A
PageNumber mod 2 = 0

Click the SUPPRESS formula button  for Page Header B
PageNumber mod 2 = 1

mlmcc

 

by: mlmccPosted on 2009-09-03 at 18:10:34ID: 25256285

When the PHb is too tall you will get an error that something is too big to fit on a page.

mlmcc

 

by: PCIIainPosted on 2009-09-04 at 02:00:07ID: 25257783

Okay, this is a little complex.

1. group by invoice (I presume already done).

2. Create a second group header section.

3. In BOTH the group header section b and the group footer, include the same subreport, make this subreport your back page, and ensure it's big enough to fill the page without allowing a details section on board.

4. In change group, set 'repeat group header on each page'.

5. In section expert, set formulas in the suppression, for group header a (inrepeatedgroupheader) and group header b (not inrepeatedgroupheader)

6. In the section expert, set 'new page after' for the group footer.

The downside is the difficulty of printing the invoice header on the second and third 'pages' (i.e. the 3rd and 5th page of the report).

You could try changing out the suppression in the group header sections to
pagenumber mod 2 = 0
and
pagenumber mod 2  = 1
respectively, and then setting 'reset page number' after in the group footer.

 

by: James0628Posted on 2009-09-04 at 02:11:13ID: 25257829

LinInDenver,

 I think you're missing his point.  He wants this printed on the back of every page, including every page of a multi-page invoice.  The invoice group footer would only put it on the back of the last page for each invoice.

 James

 

by: IdoMilletPosted on 2009-09-04 at 06:53:28ID: 25259664

A few years ago, I played with a proof of concept for handling exactly that type of scenario in my software and it works very nicely.  I already had the ability to automatically export to pdf and print the pdf. I added one more step in the middle where the code inserted a desired 1-page pdf file (in your case, it's the invoice back page) after each page in the original pdf export, before printing the resulting pdf.

If you can't find a solution within Crystal, you could approach the problem in the same way.

 

by: doug_stephensPosted on 2009-09-04 at 09:27:45ID: 25261163

PCIIain - that's an interesting idea but does not seem to work when there is more than one page of details for a group. On those pages, the subreport does not print - instead it seems to print the rest of the details in the header section of what should be the back page... At least, that what I thought until I tweaked the size of the subreport in minute ways. There is a magic size at which the subreport occupies the entirety of the back page and yet the details print properly in the next page.

Still testing but looks good. I don't think it is respecting the "New page after" in the headers and footers properly. I've done so many combos right now I have to verify what exactly works. Best so far is to have a big detail section in the subreport that is just the right size.

 

by: doug_stephensPosted on 2009-09-04 at 10:54:30ID: 25261881

IdoMillet - That's cool. What technology did you use to modify the PDF in this way? (I'm using Delphi)

 

by: PCIIainPosted on 2009-09-04 at 14:16:06ID: 25263407

No new page after in the headers. Just in the group footer. Remember to reset page number after group footer as well. (Lets you number the pages of the invoice...)

I did a limited test and it seemed to work O.K for me. You DO need to ensure that the detail section is the only usable section of the subreport, and that it's the same size as the printable area.

 

by: IdoMilletPosted on 2009-09-04 at 17:18:16ID: 25264342

Please don't give up on doing this just via Crystal.  However, in case that option doesn't work for you I just implemented the automated
[Crystal -> PDF Export -> Interweave with BackPage PDF -> Printer]
approach in my software (Visual CUT) and can confirm it works.  

If you decide to implement this approach in your own code, keep in mind that you can leverage the ability of pdf files to "clone" content, so speed and final pdf file size are optimized. In my code, I load the BackPage pdf into memory only once and then clone it multiple times into the back pages of the Crystal report pdf export. This makes the process very fast and it doesn't matter how many pages the Crystal export to pdf contains -- the size of the final pdf grows as if we add the BackPage only once...  :o)

 

by: mlmccPosted on 2009-09-04 at 17:34:39ID: 25264394

Did you try my idea of using the page header.

It seemed to work for me.

mlmcc

 

by: doug_stephensPosted on 2009-09-11 at 12:28:42ID: 25312724

mlmcc, I did try but I think I did not try hard enough to make the spacing fit exactly. I got it to work in the subreport approach from PCIIain. I suspect it will work both ways. Key thing is getting the space just right. I am splitting the points. Thanks to all

 

by: mlmccPosted on 2009-09-11 at 18:00:54ID: 25314603

You are correct on the spacing.  It took me a bit to get it just right.  A little too large or small and it does't work.

mlmcc

 

by: nosliwde99Posted on 2011-07-13 at 20:53:36ID: 36185675

PCIIain & Doug

Thanks.  I've been needing to print a report to employees of varying length and want to have a mailbox number on the back of the back page.  This subreport approach works nicely.  

To ease the path for anyone else doing this, especially if their new at this like I am, ...

For me I wound up in step 5 choosing:
5. In section expert, set formulas in the suppression, for group header a (inrepeatedgroupheader) and group header b (pagenumber mod 2  = 1)

Then, to get the page numbers to work out:
   I was wanting the Page N of M, yet it only showed every other page number, so where it gave me:
1 of 6,   2 of 6,     3 of 6,    4 of 6,    5 of 6,    6 of 6,     I was wanting:
1 of 3,   nothing,   2 of 3,   nothing,  3 of 3,   nothing,   etc,
so I created a new formula of:

'Page '+ ToText(Roundup (pagenumber / 2) ,0)
+ ' of ' +
ToText(Roundup (Val(Right (PageNofM, Length (PageNofM) - InStr(PageNofM, "of") - 2))/ 2),0)

and I applied a suppression based on "pagenumber mod 2  = 1"  (or = 0, I forget)  to both the page footer and page header.  This way the backs were just pure blank unless there was the mailbox #.

No doubt about getting the subreport just right on the size (with suppressed sub-report page headers and page footers).  I took the subreport view to 400% to tweak it.

I could put their mailbox number in the middle of the group footer subreport, and so it only printed once on the back of the very last page for that employee, helping to ensure that the folks doing the stapling get it right.

Overall it worked great for me.  Thanks again.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...