Printing Crystal Report decreasing font Size in web.

Printer reduces font:
when we use crystal report`s print button to print report, It reduces original font size....
I am using Crystal report viewer to preview and print the report in which print mode is "pdf". I tried with "ActiveX" mode but its generate error...
I using Crystal Report 13.0 in asp.net2010.

Make sure you are on SP1:
SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads [original link is broken]
See KB [1218753|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313338333733353333%7D.do]
Next time, don't forget to search these forums and use the search box in the top right corner of this web page to get KBs, wikis, blogs, etc., etc.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

Similar Messages

  • Unable to print crystal report over web using ActiveX Control

    Post Author: jimmyp
    CA Forum: General
    We have a problem with printing crystal report over web using ActiveX Control.  When clicking print button, it only shows a blank dialog web crystal viewer page without any error.  The page just simply hangs.  We installed the PrintControl DLL and enable all the security setting for ActiveX Control for IE.  It still does not print.  Does anyone know why?  
    Environment.
    Bundle Crystal Report v10
    Asp.net 2.0
    IE 6.0 or higher.
    Appreciate for your help.
    Jimmy

    Post Author: Ian Kulmatycki
    CA Forum: General
    A team member here found this, I haven't read it, I'm not sure if our problems are related to this, but hopefully it helps someone:
    -ian
    When Secure Sockets Layer (SSL) is enabled, using the ActiveX control to print reports from a Crystal 10 DHTML viewer results in the following error message:
    "A communication error occurred, printing will be stopped."
    How can this error message be resolved?
    Resolution
    This is a known issue with Crystal Reports 10 and Crystal Enterprise 10 viewers and has been tracked. The Track ID is ADAPT00282199.
    This error occurs due to the receiving application performing a case-sensitive check for the HTTPS request header value "ON". When a sender application sends the value as "on" in lower case, the error occurs. The update below changes the receiving application to be case-insensitive.
    Hot Fixes or Service Packs address this issue as indicated below. With the updates, this issue is resolved.
    Unless indicated otherwise, Weekly Hot Fix updates from our FTP site have only been tested with English versions of products.
    For Crystal Reports 10 and Crystal Enterprise 10, the update for this issue is included in the Crystal 10 Viewers Weekly Hot Fix (WHF). This is available in English only at the following location:
    ftp://ftp.crystaldecisions.com/outgoing/EHF/viewers10win_en.zip
    This issue is addressed in the following components (and later versions):
    PageObjectModel.dll, version 10.0.5.785, dated 8/25/2004
    ReportRenderer.dll, version 10.0.5.785, dated 8/25/2004
    WebReporting.dll, version 10.0.5.785, dated 8/25/2004

  • Crystal report of label size is not printing correctly

    Hi,
    we have interated  crystal report CR4E version with our application and facing 2 issue when i am generating crystal reports from application.
    we are  having a crystal report designed for label size. 
    1.
    While generate the report from application with output as a pdf browser and print to label printer (DYMO Label Writer 400) all the records(for example:7) are getting printed in a single label .
    when the same report is generated from crystal report software and print to label printer (DYMO prinetr 400) all the records (For example:7 records) it is printing  each record per page (for example :7 pages).
    2.
    When i am generating crystal report of label size from my application and  getting the binary data . When  i am sending this binary data to a label printer(DYMO Label writer 400) i am getting an exception "printer's imageable width is too small".
    i am using CR4E crystal report version and java 1.5 verison.The paper size of the label printer (DYMO label Writer 400)" 30252 Address"
    can any one please help me on this issues.
    Advacne thanks
    Rajesh

    Hi Aasavari Bhave,
    Thanks for your Quick Reply.
    <<Also, when you see the report exported as PDF in the browser, are you seeing all records\labels on 1 page or are they separated across several pages just like in CR Designer>>
    when i export the report all the records are seperated across several pages. i am using adobe print to print the report.
    <<How are you printing the report, using Adpbe print or printoutputcontroller.printreport?>>
    I am printing the report using  in 2 different ways.
    1. Using adobe print
    I have designed the label report for 1.1 height and 3.5 width  in crystal report designer. but when i generate the report with pdf browser as output the report height and width are 11.0 height and 8.50 width.
    2. Using printoutputcontroller
    I am printing the report directly from the application using printoutput controller . when i print using print output controller i am getting an exception "printer's imageable width is too small".
    My application is developed in java. Please help me to display this report in my application as per the page size I mentioned and also how can i avoid the exception  "printer's imageable width is too small".

  • Problem with decreased font size in exported PDF.

    We have a web site running on a Windows 2008R2 server.
    The site was developed with Visual Studio 2010 using  .NET 4.0.and is running in 32bit. The associated application pool uses a specific local user.
    We have some reports that include a barcode font. The font is installed on the server and the reports are rendered in PDF on the server side to avoid the need to have the barcode font installed on all clients. The PDF renders correctly but we are facing the decreased font size problem
    We followed the instructions included in this post:
    Unfortunately the part regarding VS 2010 does not seem to work.
    If we add the specified Key on the HKLM section of the registry, it doesnu2019t have any effect.
    If we add it on the HKCU section while logged in with the same user assigned to the application pool, everything seems to work fine. But as soon as the user is logged out, the reports stop working.
    Have anybody figured out how to configure correctly those keys with this configuration?

    Try putting it under the HKU/.default path.  You can also use process monitor to see where the application is looking.

  • Print crystal report in A5 paper tray

    Dear Experts,
    I am using VB.NET
    We have different printers like "Lexmark Optra T612_DB", "HP Universal Printing PCL 5 (v4.7)", etc., in the network, there will be 2 or more trays for each printer. One of the tray has A5 paper in it. While printing Crystal report,
    1. How to find in which tray A5 paper is present?
    2. How to select A5 paper tray for printing?
    If the above 2 are not possible with crystal report object:
    1. How to print crystal report using PrintDocument object?
    2. How to find in which tray A5 paper is present using PrintDocument object?
    3. How to select A5 paper tray for printing? using PrintDocument object?
    Currently with the following lines of .NET code, it is always printing in Tray 2
    report.PrintOptions.PaperSize = PaperSize.PaperA5;
    report.PrintOptions.PaperOrientation = PaperOrientation.Landscape;
    Regards,
    Eswar

    Unfortunately, it will be up to you to find out what tray the correct paper size is in, then set that to the report. The CR APIs do not look up these values, they just expect you to know these and set them.
    Ludek

  • Problem in printing Crystal Report from SAP Business One - the printing cut in it width margins

    Hi
    i'm trying to print crystal report layout from sap b1. when i preview the report as pdf file, i have the option to choose Fit in size option and then the layout print O.k with out any margins that been cut.
    The problem start when i'm trying to print the layout directly from sap b1 (printer button) which cause the page to be cut in it width margins.
    How can i control the printing of crystal layout when i'm printing it directly from sap b1? do i have the option to chose 'Fit page size' from sap system?

    Hi,
    Please check SAP note:
    1820939 - Page settings of Crystal Reports not transferred
    correctly
    Thanks & Regards,
    Nagarajan

  • Print crystal report without preview

    Dear All,
    i want print crystal report without preview.
    when i click print button i want show printer list install in that computer.
    so user can choose which printer that use to print. I means like if we printing document from office, we can choose the printer.
    how that i can do that?
    please help.
    best regards,
    Surbakti

    Since this issue has little to do with sql server, I suggest you post your question to a forum for CR
    SAP CR community

  • Print Module - Set Explicit Font Sizes

    In the Print Module Identity Plate can Lightroom set font size explicitly instead of using only a % scale factor?
    The scale factor is a great idea but it would be a lot more convenient at times to set the font size explicitly to 10 or 12 or whatever so it could carry over to other titles if you want all your titles to print in a specific font size (e.g. 12 points). That's already possible with Vibrance, Recovery and a host of other settings (including the Identity Plate scale factor itself!) and it's very valuable to be able to have those exacting controls.
    Thanks,
    Robert

    Ian,
    I'd be very pleased if I'm doing something wrong. From what I see the Identity Plate supports only one font size, and only for the most recent photo. When I choose Edit and type in a new title of a different length Lightroom changes the size of the font (the longer the title, the smaller the font and vice versa). Try this:
    1) Open Identity Plate and title the picture "Hello".
    2) Change the title to "I just love Adobe Lightroom so very much!"
    The title will be smaller. Lightroom seems to disregard the Identity Plate font size.
    I just tried your recommendation and no matter how I changed the Identity Plate font size in the Print module (e.g. from 38pt to 8pt) the photo's title text size barely changes, I have to use the Scaling slider every time. That font sizing functionality only works for me in the Library module when I'm creating my actual Identity Plate.
    Every time I change pictures I have to re-do this step. The way I'm dealing with this is changing the scaling factor (or with your recommendation, the font size) every time for every different-length title and/or enlarging/shrinking the title box for each photo.
    As I explained in my other reply to your other post, this is very time-consuming when you're printing 50-100 titled photos in a single day/weekend (not to mention the fact that it's physically impossible to set every scaling factor so all titles print exactly the same size font).
    It would be a lot better for Lightroom to automatically save all the print parameters the way it saves all other of the picture's metadata.
    If you could share an easy way to make that much faster I'd be quite grateful.
    Robert

  • Error message when trying to view/print Crystal reports in B1

    I get the following Error message when trying to view/print crystal reports in SAP B1/Crystal Reports Integration Tool for SAP Business One:   
    " Could not load file or assembly 'Crystal Decisions Windows Forms, version=12.0.2000.0, Culture=neutral, Public Key Token=692fbea551e1304'  or one of its dependencies.  The system cannot find the file specified.  ????

    Hi
    Common issues for this :
    1. Once you install crystall add on ,you need to go to Crystal report Administration >Account setup .
    Put on the user name and password and click on creating ext tables
    Try then running the report .
    If not the case ,
    make sure you install runtime .
    You need :
    1.Crystal report basic from SAP download -(Not necessary if you want only report viewer >
    2.You need to have crystal integration addon (I think service pack is SP1)
    3.Make sure you have runtime install
    When you are installing ,make sure you restart your PC before you do or remove temporary file s
    Hope this solves your issue
    Bishal

  • Printing Crystal reports via Great Plains 10

    Hi,
    I am unable to print (to printer) crystal reports in Great Plains 10. I can preview the report, export and print the exported file but the Print button does not respond when I click it (no errors, nothing) in the Crystal preview screen. We are using Crystal XI, Developers Kit.
    I have set the report to 'No Printer', verified that I can print other files from the server, verified the default printer and I have spokes to GP (Microsoft), nothing has helped with this issue.
    OS:
    MS Windows Server 2003
    Standard Edition
    SP1
    Thanks,

    Hi Carolyn,
    Great Plains is an OEM partner of ours and they MUST resolve this issue for you. If they can not figure out what the problem is they can create a case on line to get help from Support to help you.
    Not sure if you have Crystal Reports Designer or not but if you do can you print from the Designer? If you can then it's an issue in Great Plains software.
    Thank you
    Don

  • Text that responds to the Increase/Decrease font size buttons

    How do I create text that responds to the Increase/Decrease Font Size buttons in the browser? None of the pages respond to these buttons.

    I'm not sure iWeb produces text that responds to the size change buttons. I check some of my pages and none respond. And these are text boxes that have not been converted to images.
    Message was edited by: Old Toad

  • Web printing crystal report hangs on report.PrintOptions.PrinterName

    Hello,
    I have a report web page that displays a crystal report.  I have added a modal popup to allow them to select their printers.  When I go to print the report is hangs on the line of rpt.PrintOptions.PrinterName = li.Text.  The printer names are added to the list box using a Java applet.
    Here is the Sub it is running.
        Public Sub PrintReports()
            rpt = CType(Session("rpt"), ReportDocument)
            For Each li As ListItem In Me.lbPrinters.Items
                If li.Selected AndAlso li.Text <> "" Then
                    rpt.PrintOptions.PrinterName = li.Text
                    rpt.PrintOptions.PrinterDuplex = CType(Me.cboDuplex.SelectedItem.Value, CrystalDecisions.Shared.PrinterDuplex)
                    rpt.PrintToPrinter(CInt(Me.txtNumOfCopies.Text), True, CInt(Me.txtPageStartRange.Text), CInt(Me.txtPageRangeEnd.Text))
                End If
            Next
            Me.mpePrint.Hide()
        End Sub
    Any help would be greatly appreciated.
    Thanks,
    Patrick

    Sounds like you're trying to implement server side printing in your app. Which is fine, except the CR ActiveX print is client side printing. Just in case you're interested, the way to enable activeX print is to go to the property of the CR viewer and find "PrintMode". It will more than likely be defaulted to PDF. Change that to ActiveX.
    Now, back to the issue. This may still be a matter of permissions - essentially what Adam was after. Probably the easiest way to determine that is to use the [Process Monitor|http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx] utility. Once you have the log, search it for "Access Denied" messages.
    Ludek

  • Printing Crystal report from web

    I am using crystal report 8.5 and Coldfusion MX 6.1
    I open my report in a blank page. Everything show up
    properly.
    However, in my report, I have 12 pages. When I print it it
    only show up as 1-2 pages. I notice that on screen, when I click
    next ( to go to the next page of the report ), the url show up as
    whatever my path is and the word "report" + the page -1 + htm
    eg. If I am on page 2 of the report, my url would be
    \\localhost\mywebfolder\report1.htm
    Anyone have the same problem? Any solution?
    * I am thinking of taking off the grouping in the report, see
    if that make any different!

    Hiya,
    It isn't clear how you are calling the report (cfreport,
    location, etc.,).
    With 8.5 professional and higher, there is report server; 8.5
    enforces the five instance connection license that the 8.0 version
    implied and the 7.0 version didn't have at all. This methodology
    allows for using the Crystal web report engine which supports the
    use of an ActiveX viewer or Java Viewer.
    I have an annoyance where an application that has run for
    more than five years using the ActiveX viewer used to run without
    prompting for database credentials but now does.
    Take a look here for some hints
    http://www.vordesigns.com/Portal/phpBB2/viewtopic.php?t=154
    I can send you the page cfm pages I use but it references a
    table of report names, you will have to do a little of your own
    debugging to get it to work in your enviroment.
    There is also a topic post in March from me
    http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=3&threadid=1137866 &forumid=1
    ... or is it one of my pseudonyms?

  • Print Crystal Report directly from C# without using Report Viewer

    Hello All,
    I need to print a crystal report directly to the printer without using ReportViewer in C#. I've a CrystalReport2(belowCode) which requires a query (Select * from JobHeader where JobNumber='J012345') to display all the data. I'm stuck with database connection
    and putting all the data to DataAdapter in C# (Below Code). I also have 8 subreports in my CrystalReport2. Can somebody please give me hand on this? I'm struggling with it. Thanks.
    Regards
    using CrystalDecisions.CrystalReports.Engine;
    using System;
    using System.Drawing;
    using System.Collections;
    using System.ComponentModel;
    using System.Windows.Forms;
    using System.Data;
    using System.Data.SqlClient;
    namespace csharp_win_printtoprinter
    /// <summary>
    /// Summary description for Form1
    /// </summary>
    public class Form1 : System.Windows.Forms.Form
    //CR Variables
    ReportDocument crReportDocument;
    private System.Windows.Forms.Button button1;
    private System.Windows.Forms.PrintDialog printDialog1;
    private System.Windows.Forms.Button button2;
    private System.Drawing.Printing.PrintDocument printDocument1;
    private CrystalDecisions.Windows.Forms.CrystalReportViewer crystalReportViewer1;
    private CrystalReport1 CrystalReport11;
    private Chart Chart1;
    /// <summary>
    /// Required designer variable
    /// </summary>
    private System.ComponentModel.Container components = null;
    public Form1()
    // Required for Windows Form Designer support
    InitializeComponent();
    // TODO: Add any constructor code after InitializeComponent call
    /// <summary>
    /// Clean up any resources being used
    /// </summary>
    protected override void Dispose( bool disposing )
    if( disposing )
    if (components != null)
    components.Dispose();
    base.Dispose( disposing );
    #region Windows Form Designer generated code
    /// <summary>
    /// Required method for Designer support - do not modify
    /// the contents of this method with the code editor
    /// </summary>
    private void InitializeComponent()
    this.button1 = new System.Windows.Forms.Button();
    this.printDialog1 = new System.Windows.Forms.PrintDialog();
    this.button2 = new System.Windows.Forms.Button();
    this.printDocument1 = new System.Drawing.Printing.PrintDocument();
    this.crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
    this.Chart1 = new csharp_win_printtoprinter.Chart();
    this.CrystalReport11 = new csharp_win_printtoprinter.CrystalReport1();
    this.SuspendLayout();
    // button1
    this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
    this.button1.Location = new System.Drawing.Point(32, 56);
    this.button1.Name = "button1";
    this.button1.Size = new System.Drawing.Size(160, 104);
    this.button1.TabIndex = 0;
    this.button1.Text = "Print Report No Choose Printer";
    this.button1.Click += new System.EventHandler(this.button1_Click);
    // button2
    this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
    this.button2.Location = new System.Drawing.Point(272, 56);
    this.button2.Name = "button2";
    this.button2.Size = new System.Drawing.Size(160, 104);
    this.button2.TabIndex = 1;
    this.button2.Text = "Choose Printer";
    this.button2.Click += new System.EventHandler(this.button2_Click);
    // crystalReportViewer1
    this.crystalReportViewer1.ActiveViewIndex = 0;
    this.crystalReportViewer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
    this.crystalReportViewer1.Cursor = System.Windows.Forms.Cursors.Default;
    this.crystalReportViewer1.Location = new System.Drawing.Point(47, 188);
    this.crystalReportViewer1.Name = "crystalReportViewer1";
    this.crystalReportViewer1.ReportSource = this.CrystalReport11;
    this.crystalReportViewer1.Size = new System.Drawing.Size(903, 296);
    this.crystalReportViewer1.TabIndex = 2;
    // Form1
    this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
    this.ClientSize = new System.Drawing.Size(1164, 505);
    this.Controls.Add(this.crystalReportViewer1);
    this.Controls.Add(this.button2);
    this.Controls.Add(this.button1);
    this.Name = "Form1";
    this.Text = "Form1";
    this.Load += new System.EventHandler(this.Form1_Load);
    this.ResumeLayout(false);
    #endregion
    /// <summary>
    /// The main entry point for the application
    /// </summary>
    [STAThread]
    static void Main()
    Application.Run(new Form1());
    private void button1_Click(object sender, System.EventArgs e)
    crReportDocument = new ReportDocument();
    //Create an instance of a report
    crReportDocument = new CrystalReport2();
    //Use error handling in case an error occurs
    try
    //Set the printer name to print the report to. By default the sample
    //report does not have a defult printer specified. This will tell the
    //engine to use the specified printer to print the report. Print out
    //a test page (from Printer properties) to get the correct value.
    System.Drawing.Printing.PrintDocument printDocument = new System.Drawing.Printing.PrintDocument();
    crReportDocument.PrintOptions.PrinterName = printDocument.PrinterSettings.PrinterName;
    //Start the printing process. Provide details of the print job
    //using the arguments.
    crReportDocument.PrintToPrinter(0 ,true , 1, 1);
    //Let the user know that the print job is completed
    MessageBox.Show("Report finished printing!");
    catch(Exception err)
    MessageBox.Show(err.ToString(), "Unexpected exception");
    private void Form1_Load(object sender, System.EventArgs e)
    private void button2_Click(object sender, System.EventArgs e)
    //Open the PrintDialog
    this.printDialog1.Document = this.printDocument1;
    DialogResult dr = this.printDialog1.ShowDialog();
    if(dr == DialogResult.OK)
    //Get the Copy times
    int nCopy = this.printDocument1.PrinterSettings.Copies;
    //Get the number of Start Page
    int sPage = this.printDocument1.PrinterSettings.FromPage;
    //Get the number of End Page
    int ePage = this.printDocument1.PrinterSettings.ToPage;
    string PrinterName = this.printDocument1.PrinterSettings.PrinterName;
    crReportDocument = new ReportDocument();
    //Create an instance of a report
    crReportDocument = new Chart();
    try
    //Set the printer name to print the report to. By default the sample
    //report does not have a defult printer specified. This will tell the
    //engine to use the specified printer to print the report. Print out
    //a test page (from Printer properties) to get the correct value.
    crReportDocument.PrintOptions.PrinterName = PrinterName;
    //Start the printing process. Provide details of the print job
    //using the arguments.
    crReportDocument.PrintToPrinter(nCopy, false, sPage, ePage);
    //Let the user know that the print job is completed
    MessageBox.Show("Report finished printing!");
    catch(Exception err)
    MessageBox.Show(err.ToString());

    1. This is a VB.Net forum not a Visual C# forum. For Visual C# questions try this forum.
    Visual C#
    2. Crystal Reports are not supported by Microsoft. Therefore, unless somebody responding in the Visual C# forum has experience with whichever version of Crystal Reports you are using, you will probably not receive an answer in the Visual C# forum. SAP has
    their own assistance for Crystal Reports using Visual Studio. You can try to find an appropriate forum to ask questions in at SAP in the below link.
    SAP Community Network
    La vida loca

  • Fields missing while printing crystal reports !!

    Hello everyone
    I have a crystal report application in VB.NET 2005, which gets the values of a field from the database and supports printing of the report in the following formats
    1. pdf
    2. directly to a printer - printout
    When i export the report using reportdocument to pdf , all the fields are getting printed : Normal - As expected
    But when i print the report directly using PrintToPrinter method,i am not able to print some of the fields. i.e some of the entries are missing in that report printout
    Can someone guess what could be the problem ???
    Are there any limitations / preconfigurations that needs to be done apart from setting page size,margin before using the PrintToPrinter method
    Regards
    Srivatsa

    OK, a few incongruencies here:
    I'm using the version of the Crystal Reports that ships along with the Visual Studio.NET 2005.
    - that would make is CR 10.2
    We have also tried applying the latest service packs crxir2_sp4_full_build
    - So SP 4 for CR XI release 2 would not do you much good as per above (if you are indeed using CR 10.2(?))
    - How did you get to the crxir2_sp4_full_build? This is in a gated section of the SAP website. The only publically available SP 4 for CR XI r2 is "incremental... If you did apply crxir2_sp4_full_build, then you are working with CR XI r2 now...
    The behavior is seen in the web application and the behavior is seen both in the dev and deployment system.
    - So this does not work anywhere? If so, why bother going to deployment?
    Also i tried exporting to pdf soon before / after printing. But the fields are present in the pdf and not on the printouts
    - Confirm that you do see the fields on an exported PDF and when you print the PDF you get a blank printout?
    More clarification needed:
    We need to be absolutely clear on what version of Crystal Reports you are using. Open your .NET project, go to your references and look for CrystalDecisions.Crystalreports.Engine.dll. What version is this assembly?
    Also, please answer the rest of the questions above.
    Ludek

Maybe you are looking for