Cannot print to XPS when report contains sub-reports

I've got a simple .NET app that generates a Crystal Report based on data being pulled from a SQL database. The report itself contains 3 sub-reports.
I've found that I cannot print the complete report to the Microsoft XPS Documet Writer. Whenever I try, I get the following messages after clicking Save. Note that one message consistently occurs:
Crystal Report Windows Forms Viewer
The operation was canceled by user
OK
Further testing has uncovered that if i click on any of the sub-reports within the viewer I can print without issue.
Has anyone seen this before?

Don,
Thanks for your reply. They are not OnDemad sub-reports, and unfortunately I do not know how to set the log on for each report. However, I do believe I've found the cause of this issue...
The report I'm having problems with is a check report that uses a MICR font. If this particular font is displayed on the main report, either as an object on that main report or on a sub-report, the print to XPS will fail. What's interesting is that if the font is in the sub-report and I print just the sub-report itself, the print completes without error.
I'm not sure whether this is a Crystal error or an issue with the XPS driver. Either way, I believer we will be looking for another font to use. But, it would be helpful to know why this happens.
Thanks
Kyle

Similar Messages

  • Cannot print second or third report to printer, only to window

    Hi everybody,
    We have an app in VB6 and have just migrated from CRXI to CRXIR2 SP6.
    There is a form where the user can print a main report, and optionally other 2 reports that we call "attachments". They are all independent RPT files.
    When the user chooses to send the main report and the attachments to the window, the app calls the viewer and we can see the 3 or more windows, so we can print.
    But, when the user chooses to send all the rpt printings directly to the printer, the app passes through the 3 print calls (I could see via debug), but only the first is actually printed.
    This is the call:
                          rpt.PrintOut False
    My question: Is there something we have to do between the print calls?
    What I am doing is only setting the new RPT and its properties, like that:
                       Set rpt = applic.OpenReport(PathRPT + "SEFoto" + TipoRPT + ".rpt")
                       rpt.FormulaSyntax = crCrystalSyntaxFormula
                       rpt.FormulaFields.GetItemByName("Empresa").Text = "'" + Company + "'"
    etc...
    Note: The rpt object is defined on the module level:
    Public applic As New CRAXDRT.Application
    Public rpt As CRAXDRT.report
    Thanks for any help!
    Isis
    Brazil

    You won't believe what was the problem with my app...
    I tried all the suggestions Ludek gave, including making a sample app very simple with the 3 printout calls, and the result was the same, only the first report went to the printer...
    So, after many tests, I concluded that the problem must be in the RPTs, not in the app!
    Then I started to compare the 3 reports, checking everything that could be different and could cause this strange behavior.
    One difference that I found was the option "No Printer" in the "page setup" dialog box.
    The first report had the "No Printer" unselected, and the 2nd and 3rd report had the option "No Printer" selected!
    So I unselected the option, and the reports were printed!!! Halleluiaaa!!!!
    I remember that maybe this option was selected when I created these reports because I had some reports in the past that could never be printed directly to the printer, they were always directed to PDFCreator, that maybe was my default printer when I created the report. In these cases, setting the "No Printer" option solved this problem!
    But now, searching in the help file about this option, I get the explanation that is:
    "Select the No Printer check box when printing is not an option from a particular workstation"
    Is it correct?
    When we are on the Page Setup screen, what we read is No Printer (optimize for screen display).
    So we understand that it is a good option, that will optimize report view, I could never think that it would cause the report not to go to the printer...
    Anyway, thanks for all help and attention,
    Isis

  • Cannot print actual size when choosing several pages per paper

    I'm using Adobe Reader XI and trying to print a pdf (exported from InDesign)´where each page is in A5 format. I want to print two A5 pages for each A4 paper. However, when I click the button Several (or similar, I'm using Swedish version) there is a fixed 25 mm margin around each A5 page so that the pages are much reduced on the printout. I'd like to print actual size, and I think this was possible in a previous version. If I print one A5 per A4 paper I can print the actual size. I tried the button Print Format (equiv.) but the margins are fixed and cannot be changed. Awkward. Thanks for help or explanation why this is so.

    I have a little more information. I turned on "single hairline" border and as you can see, it's converting my square pages into "US Letter" pages BEFORE applying them two-to-a-page. So it's using my selection of "Paper Size" as both the source and destination paper size, rather than just the destination size, because my source is obviously 12x12 square (confirmed by looking at page properties in preview). Apple, please fix this

  • HP F2210 printer, wired LAN, cannot print from iMac when printer is installed on Windows XP.

    Let's try this again...
    I have a home network, and have installed my newly purchased HP F2210 printer on one of the PC's running Windows XP SP3.  I have fully installed & updated the drivers, and the printing functions work perfectly from the computer on which it's installed.
    I am also able to print without issue from any other PC running windows on my network.
    My wife has an iMac running Macintosh OS 10.4.11.  When connecting directly to the network via a wired connection, I am unable to locate the F2210 as an available printer on the network.
    Troubleshooting steps taken:
    *  I have tried disabling airport to ensure it's trying to find the printer through the wired connection rather than the wireless.
    *  I have attempted to install "additional drivers" on the PC the printer is connected to.  THIS FAILED, as I was unable to get windows to find the correct drivers on the install disk.
    *  I attempted to install the printer drivers directly on the iMac.  I was still unable to locate the printer after doing this.
    Any suggestions for other steps to try would be appreciated.

    Hi there, when you check the printer job history in your ePrintCenter account what do you see? Is there a record of the failed print jobs? Here's a link to a post with some troubleshooting steps for ePrint connectivity issues. Take a look at the suggestions here and try them in the order they are presented http://h30434.www3.hp.com/t5/ePrint-Print-Apps-Mobile/ePrint-Apps-Connectivity-Troubleshooting-Pleas...
    Hope this information helps to resolve your problem. Best of luck.
    If my reply helped you, feel free to click on the Kudos button (hover over the "thumbs up").
    If my reply solved your problem please click on the Accepted Solution button so other Forum users may benefit from viewing the post.
    I am an HP employee.

  • Cannot print a web page since recent update to Apple Snow Leopard

    After recent update to Mac OS 10.6.4 I cannot print any page when using Firefox. I tried using Apple Safari and there was no problem
    == This happened ==
    Every time Firefox opened
    == After recent update to Mac OS 10.6.4

    This is a Firefox printing issue that I just fixed for my 85 year old Mom (birthday present). Other people have the same problem so I'm posting the solution:
    Go to address bar in Firefox--
    Type in this:
    about:config'''
    Click I AGREE on the warning
    Find -- '''print.macosx.pagesetup-2'''
    '''RIGHT CLICK on your mouse'''
    and go to '''RESET'''

  • Cannot print banners in Illustrator

    I am using Illustrator CS6 and cannot for the life of me get the page setup right for the roll paper printing. I have an Epson Stylus Pro R3000, cannot print a banner when using the roll paper.
    Image size is 290mm x 583mm. Every paper selection, A3+ roll, A3+ roll banner, A3+ roll banner borderless etc all crop the print at 483mm - yes, it thinks the printer is cutting to a sheet size yet all the settings are set to banner. After using half a roll of semi gloss decided to ask for help. Cannot find anywhere in the CS6 Printer Dialogue box to change it so the media size changes.
    Please help, I'm going nuts.
    Regards
    Ron

    I am using Illustrator CS6 and cannot for the life of me get the page setup right for the roll paper printing. I have an Epson Stylus Pro R3000, cannot print a banner when using the roll paper.
    Image size is 290mm x 583mm. Every paper selection, A3+ roll, A3+ roll banner, A3+ roll banner borderless etc all crop the print at 483mm - yes, it thinks the printer is cutting to a sheet size yet all the settings are set to banner. After using half a roll of semi gloss decided to ask for help. Cannot find anywhere in the CS6 Printer Dialogue box to change it so the media size changes.
    Please help, I'm going nuts.
    Regards
    Ron

  • Cannot print even after complete troubleshooting

    Hello all,
    Long story short:  running 10.7.2, iMac 27" late 2009, with a canon mf4350d printer.  Everything was working fine, now I cannot print.
    What I have done: 
    reset the printing system, downloaded the latest drivers (v2.3) from Canon, installed the drivers and reinstalled the printer in the system preferences Print/Fax. I have done this a few times, with restarts and permission repairs in between, and with a restting PRAM etc, nothing works.
    Called Canon, we dug deep in the system deleting everything in the system files about Canon and started from scratch, still nothing.
    Plugged in my laptop to the printer with same cable, prints first try, so it is not the printer or the cable.
    Current Error when I try to print:  Cannot communicate with the printer, or the printer is not supported. If the printer is supported, check the printer connection and add it again. Then, if the Print dialog box has a [Printer Info] button, acquire the printer information.: 10322
    Is there something I can do? I am so stuck!
    Thanks everyone for reading and helping out

    Could you please explain ‘Everything was working fine, now I cannot print.’. When was fine? In Snow Leopard? In Lion prior to 10.7.2, e.g. 10.7.0 and 10.7.1? Did it abruptly refuse to work immediately after the 10.7.2 update?
    In Lion, when you conect a printer, the system detects it, and automatically downloads required driver. Did it happen to you too? Or the driver had been installed in SL, and you simply upgraded to Lion?
    Unfortunately printer drivers cannot be deleted, at least I do not know any simple and clear method.
    If possible, test with another mac, perhaps a friend may come to you for the test. Plug the printer, and let the system download the driver. Does it work? It should. If the printer has Lion support, there is no reason to not work, something got corrupt with your system.
    Or install a fresh Lion system unto an 8 GB USB flashdrive, boot into it, and make the test.
    I listed several test operations, try to use the printer with another mac, this would be relavant, or with a frsh system on another drive. This may take some time, but will show up the probable cause of your headache.

  • I cannot print from Websites or my college online course. Tries to save files to desktop as an .xps document but nothing happens and I get an error message that print command did not work. Have reinstalled firefox and adobe, no help. Any suggestions?

    Cannot print anything from internet using Firefox as browser. Please advise. I have to use Firefox for internet college courses, cannot print my assignments. I do not have this problem on Mac or using Internet Explorer. Only happens when using Firefox. When I select print a message comes up to save information to desktop as .xps file. Select save, sometimes it is on the desktop but I cannot open the file or it simply does not save file and get an error message that print command failed. What is happening?

    {Ctrl + P} and select your printer in the Printer - Name box near the top of that window.
    http://kb.mozillazine.org/Problems_printing_web_pages

  • Error when print out SAP Crystal Report in SAP B1

    Dear all,
    I have encountered the following message when I tried to print out SAP Crystal Report at client pc:
    Could not load file or assembly 'CrystalDecision.Windows.Forms, Version = 12.0.2000.0, Culture=neutral, Publickey Token=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
    On the other hand, there's no error when I print out the SAP Crystal Report on server.
    Can anyone advice on the error message as above?
    Thanks alot.

    Hi All,
    I have SAP 2007 B,Visual Studio 2008 and Crystal report 2008 Add-on.  I am facing the same problem,
    "Could not load file or assembly 'CrystalDecision.Windows.form,Version=12.0.2000.0, Culture=neutral,Publickey Token =692fbea5521e1304' or one of its dependencies. The system can not find the file specified."
    I have uninstalled SAP B1 and Crystal report 2008. Still I am getting the same Error message. Kindly give me your suggestions.
    Regards,
    Tom.

  • Problem when trying to print standart invoice crystal report for SAP

    Hi All, I have the following problem when trying to print a system invoice report in crystal reports for SAP
    I pass params and load the report using this code
    Private Sub DisplayThreadReportSeq()
    Dim oView As New frmViewReport
    Dim strReportPath As String = ""
    Dim strParamName As String = ""
    Try
    Dim CR As New ReportDocument
    CR.Load(oReport.CrstPath)
    ' Declare the parameter related objects.
    SetReportValues(CR)
    Dim crParameterDiscreteValue As ParameterDiscreteValue
    Dim crParameterFieldDefinitions As ParameterFieldDefinitions
    Dim crParameterFieldLocation As ParameterFieldDefinition
    Dim crParameterValues As ParameterValues
    ' Get the report's parameters collection.
    For Each oPar As cslParam In oReport.Params
    crParameterFieldDefinitions = CR.DataDefinition.ParameterFields
    crParameterFieldLocation = crParameterFieldDefinitions.Item(oPar.ParName)
    crParameterValues = crParameterFieldLocation.CurrentValues
    crParameterDiscreteValue = New CrystalDecisions.Shared.ParameterDiscreteValue
    crParameterDiscreteValue.Value = oPar.Value
    crParameterValues.Add(crParameterDiscreteValue)
    crParameterFieldLocation.ApplyCurrentValues(crParameterValues)
    Next
    If pPrint Then
    If oReport.Printer "" Then
    CR.PrintOptions.PrinterName = oReport.Printer
    End If
    CR.PrintToPrinter(IIf(oReport.Copies = "", 1, oReport.Copies), False, 0, 0)
    SBO_Application.StatusBar.SetText("Printed Document Successfully", SAPbouiCOM.BoMessageTime.bmt_Medium, SAPbouiCOM.BoStatusBarMessageType.smt_Success)
    Else
    oView.Text = pReport
    oView.TopMost = True
    oView.Viewer.ReportSource = CR
    oView.Hide()
    oView.ShowDialog()
    End If
    Catch ex As Exception
    Util_GenErrorLog("DisplayReport", ex)
    End Try
    End Sub
    This code works fine when the report invoke to print is developed in crystal reports version for .net 2008 or .net 2005
    when trying to print a report standart getting from SAP BO 8.8.1 using this code I getting the following error:
    Error in File C:UsersecombaAppDataLocalTemp5ARInvoiceStandartSap {300B9A68-DF05-4D7B-8F3B-1670A4493BEE}.rpt:
    Error in formula .
    'Shared numberVar SectionTotalMaxHeght;
    A number, currency amount, boolean, date, time, date-time, or string is expected here.
    This report is the standart report that SAP 8.8.1 includes and works fine on SAP.
    I referenced this dlls CrystalDecisions.CrystalReports.Engine.dll, CrystalDecisions.CrystalReports.Shared, version 10.2.3600
    How I can get these dll´s version for Crystal Report 2008 for SAP Business one or How I can solve this problem
    thanks in advance,
    Ezequiel.

    Hi Ezequiel,
    You can try to search in SAP Business One Reporting & Printing forum section or post there.
    nd.Q

  • Cannot print a pdf file when the pdf file is opened in another window

    Running FF8.0 I cannot print a pdf file when the file is contained in a separate window opened by the appl (not just another tab). Options -> options -> applications all point to Use Adobe Applications in Firefox. I've had this problem in 7.0, 6.0, etc but I believe I was finally able to print these external browser/adobe windows somehow. Printing a pdf file shouldn't be that tough. When I run into this situation, file can be printed from the external window by IE.

    Check the document properties (Security) for this file in Adobe Reader; perhaps printing is not allowed?

  • Cannot print the report on Window 7 64 bit

    Hi all,
    I try to print the report using Print icon on Crystal Report Viewer but it does not print out and no error display. Any idea how to fix it? Is it a bug when print on Window 7 64 bit OS? Thanks.

    I'd go with Don's suggestion:
    http://support.microsoft.com/kb/184291/en-us
    - Ludek

  • TS2634 I cannot print from my ipad. The wireless is connected, I have no trouble printing from my computer. When the ipad looks for the printer it comes back with the message. "Air printer not found" What can I do to correct this? P S Ipad2 is only 1 mont

    I cannot print from my ipad. It is connected to the wireless okay. I have only had this ipad for a month and while I am not sure I think it has been okay to print before 2 days ago, when I tried to print and I got the message "Airprinter not found" Has anyone experienced this and if so what did you do about it? I have no trouble printing from my computer.

    ... Has anyone experienced this and if so what did you do about it?
    I rebooted my Airport Extreme.
    Try rebooting your router. Make sure its firmware is updated.

  • I cannot print from firefox. I can print from open office. It seems to have something to do with when frames open because in IE, I can print a whole page, but when I try to use a print button embeded in a page or frame it does not work.

    Cannot print from firefox at all.
    In Internet Explorer, I was able to print by pushing the print button, but when opening a frame, like in mapquest, the embedded print button brings up an options window that has print frames options in it, but when hit OK in this box, a second error box comes up with a yellow exclamation point and nothing prints. I have a feeling that it is the same problem with both browsers, but would prefer using firefox. Can you help with this?

      Yes, I tried that.   The files were ordered by their original numbers as imported from the camera, but I batched them through Phocoshop to downsize all of them into a more manageable file size.   I opened that destination folder from quick time  from where it said select image sequence.   I clicked on the first one and opened it.   The result was a large image with an arrow indicating a movie was ready to go.   When I pressed the arrow, though, I realized it had only imported that one frame so there was no movie.   The files are Jpgs and are about 450 KB each. 
        To your knowledge are there any links to iMovie tutorials or quick time tutorials that may address this situation?  Maybe there will be one I haven't looked at yet. 
        Thanks

  • Second Printed Page of a Report Is Corrupted As Well the Report View When Focus Is Returned To It

    I am having a problem with a report in Access 2010. The report detail has a linked subreport in it. I build a query dynamically for both the report and subreport. There is a form that builds the queries and then displays the report in Report View. Everything
    is displayed correctly. In this view I have a command button that will print the report using “DoCmd.RunCommand acCmdPrint.”The printed report’s first page is correct. The second page has #error for all the fields for next record detail and that is it. At
    this point, there are still multiple records to print. When focus is returned to the Print View, it is corrupted and usually freezes.
    If after the Report View is displayed, I right click on the header and choose to display the Print Preview, all pages are displayed correctly. If I right click again, and select print, all pages are printed correctly, and the Report View is not corrupted.
    To see if I had corrupted the database, I imported everything into an empty database. After compiling the code, the behavior did not change at all.
    Once I place the database into production, everything will be driven by command buttons on the forms and reports so the left-click drop-down menus or any ribbons will not be available.
    Does anyone know what is happening?
    Thanks, in advance.

    Hi Ray,
    I failed to reproduce this issue in my test environment (Access 2013).
    Steps:
    #1 Create a table with the attachment field, add multiple records
    #2 Create a report with the table
    #3 Click Print Preview of the report, it worked correctly
    Can you also reproduce this issue in a newly created database, if no, I will suspect that issue is related to the specific database file (data issue or database is corrupted). You could use the link below to compact and repair the database.
    Compact and repair a database
    If the methods above do not work, it would be helpful if you could share us a simple demo to reproduce this issue. Due to privacy issues, I will also suggest you submitting a professional support incident to get the 1-1 support service so that Microsoft
    engineers can work closely with you to resolve this issue.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

Maybe you are looking for