Picture quality decrease if auto export to PDF

Hi,
I am using crystal report 8.5 developer version and MS Access (2003).  I have created a report with a JPG company logo inserted.  If I manually export the report to PDF. No problem and the picture looks good.  However when I run VB code from Access 2003 to auto export to PDF, the picture quality for the logo decrease badly.  Is there anyone who could give me some advice?
Thanks in advance.  I here also attached part of the VB code below for your easy reference
    ReportName = Source
    'Using the .OpenReport method from the Application object to set your Report object to a RPT file
    Set crxReport = crxApplication.OpenReport(ReportName)
    crxReport.ParameterFields.Item(1).AddCurrentValue (CustDB!CustNum)
    OutName = Destination + CStr(CustDB!CustNum) + ".pdf"
    crxReport.ReadRecords
    'Defines report's format type
    crxReport.ExportOptions.FormatType = crEFTPortableDocFormat
    'Defines report's destination type
    crxReport.ExportOptions.DestinationType = crEDTDiskFile
    'Defines report's file name
    crxReport.ExportOptions.DiskFileName = OutName
    'exports without calling the exporting dialog window
    crxReport.Export False

Thank you for your suggestion.  I immediately check for the 'retain color depth option' under 'report options' but unable to find any (I am using CR 8.5).  The options that are available under report options are as shown below.  May be it is somewhere else?
Convert Date-Time Field
Preview Pages Start With
Convert NULL Field to Default
Translate DOS Strings
Translate DOS Memos
Save Data with Report
Save Summaries with Report
Cartesian Product
Suppress Printing If No Records
Show All Headers on Drill Down
Always Sort Locally
Use Indexes Or Server for Speed
Perform Grouping On Server
More Report Engine Error Messages
Case Insensitive SQL Data
Select Distinct Records
Select Distinct Data for Browsing
Perform Query Asynchronously
Create Group Tree
Display Alerts on Refresh

Similar Messages

  • How can I auto export a PDF File using the "Smallest File Size" preset and set the Exported File Name based on information from an Imported PDF?

    Greetings all,
    I am trying to create a script to automate a PDF export process for my company for inDesign. I’m fairly new to inDesign itself and have no previous experience with javascript, although I did take C++ in high school and have found it helpful in putting this code together.
    We have an inDesign template file and then use the Multi-page PDF importer script to import PDF files. We then have to export two version of each file that we import, then delete the imported file and all of the pages to reset the template. This has to be done for nearly 1000 pdf files each month and is quite tedious. I’m working on automating the process as much as possible. I’ve managed to piece together code that will cleanup the file much quicker and am now trying to automate the PDF exports themselves.
    The files are sent to us as “TRUGLY#####_Client” and need to be exported as “POP#####_Client_Date-Range_North/South.pdf”
    For example, TRUGLY12345_Client needs to be exported as POP12345_Client_Mar01-Mar31_North and POP12345_Client_Mar01-Mar31_South.
    There are two templates built into the template file for the north and south file that are toggled easily via layer visibility switches. I need to get a code that can ideally read the #s from the imported Trugly file as well as the Client and input those into variables to use when exporting. The date range is found in the same place in the top right of each pdf file. I am not sure if this can be read somehow or if it will have to be input manually. I can put North or South into the file name based on which template layer is visible.
    I am not sure how to go about doing this. I did find the following code for exporting to PDF with preset but it requires me to select a preset and then type the full file name. How can I set it to automatically use the “Smallest File Size” preset without prompting me to choose and then automatically input some or preferably all of the file name automatically? (If the entire filename is possible then I don’t even want a prompt to appear so it will be fully automated!)
    PDF Export Code (Originally from here: Simple PDF Export with Preset selection | IndiSnip [InDesign® Snippets]):
    var myPresets = app.pdfExportPresets.everyItem().name;
    myPresets.unshift("- Select Preset -");
    var myWin = new Window('dialog', 'PDF Export Presets');
    myWin.orientation = 'row';
    with(myWin){
        myWin.sText = add('statictext', undefined, 'Select PDF Export preset:');
        myWin.myPDFExport = add('dropdownlist',undefined,undefined,{items:myPresets});
        myWin.myPDFExport.selection = 0;
        myWin.btnOK = add('button', undefined, 'OK');
    myWin.center();
    var myWindow = myWin.show();
    if(myWindow == true && myWin.myPDFExport.selection.index != 0){
        var myPreset = app.pdfExportPresets.item(String(myWin.myPDFExport.selection));
        myFile = File(File.saveDialog("Save file with preset: " + myPreset.name,"PDF files: *.pdf"));
        if(myFile != null){
            app.activeDocument.exportFile(ExportFormat.PDF_TYPE, myFile, false, myPreset);
        }else{
            alert("No File selected");
    }else{
        alert("No PDF Preset selected");
    So far my code does the following:
    1) Runs the Multi-Page PDF Import Script
    2) Runs PDF Export Script Above
    3) Toggles the Template
    4) Runs #2 Again
    5) Deletes the imported PDF and all pages and toggles template again.
    It’s close and much better than the original process which was almost 100% manual but I’d like to remove the Preset prompt from the PDF script and have it automatically select the “Smallest File Size” preset. and then if there’s a way to have it auto-fill in the file name so no user input is required at all other than selecting each file to import. (If there’s a way to setup a batch action for the multi-import script that would be even better!)
    Thanks in advance and if there’s anything else I can provide that would help please let me know! Even a nudge in the right direction will be a big help!

    If you hold down the option key, it will typically show the location. Or you can often hit option-return on the file and it will reveal the file in the Finder, instead of opening it.
    Final option is to open it, and just option-click the filename in the toolbar of Preview and it should show you the location.
    It's probably an attachment to an email you've received. If you have Mail set to cache emails and their attachments it'll be stashed in a subdirectory of ~/Library/Mail. Which is fine.

  • Picture quality drop out after export

    Ok so i just finished my first project in FCP. I need the project to be exported as a windows media player compatable format. That was no problem. the problem is that after i export the project, when i replay the project in quicktime to check it, the picture quality is utterly horrid. in FCP's preview window it looks fine, but in quicktime the picture is grainy, and pixelated, the video seems to leave a trail behind any motion, and also the video looks like it was smudged. Unfortunatly i only have a week to fix this because i am entering the video in a contest. if anyone can help i appreciate it greatly.

    well, I'm making an AMV. Anyone who doesn't know what an AMV is it's a music video made from Anime shows. i know that's kinda below the programs capabilities, but it's a good starting project. Anyways. the video files i am using are AVI files. i generated the WMV files by using the export with quicktime converter function. as far as sequence settings i'm not sure how to check those. I don't have to use WMV format for the final video, but any format that it compatable with the windows media player program. As I said in my last post, I'm entering the video in a contest and one of the rules is that it has to be windows compatable.

  • Reporting Services Auto Export to PDF on a shared location with dynamic filename

    Hi Guys,
    I have this ERP system that is calling a url with the Document No parameter, the link automatically converts to a PDF but comes up with the OPEN/SAVE/CANCEL box however i want to automatically save to a default location...is this possible?
    Secondly i need the filename to be saved as the Paramter Name and the date.pdf in the format DocumentNo- Datetime.pdf is this also possible?
    Thank you in Advance

    Hi Dan,
    According to your description, you want to export a report to PDF using URL access. And trying to export the report with specify name automatically without prompting the OPEN/SAVE/CANCEL box. The file name should come from the parameters of the report.
    For security reasons, it is not allowed to write files on a client computer (Shared folder), except for a few pieces of information in cookies.
    While using URL access to export a report, the exporting process will save the file with the report’s name automatically.
    In order to export the report to a specify folder with a specify name, we can send a request to the Report Server in custom application, and then receive the data from the Report Server. In the custom application, save the data to the specify folder with the specify name in server side.
    Please follow these steps to archive the target:
    1.       Create a C# Web application.
    2.       In the page_load event of a page, embed the following code:
    string URL = "http://localhost/Reportserver?/AdventureWorks Sample Reports/Employee Sales Summary";
                string Command = "Render";
                string Format = "PDF";
                //We can get values of these parameters from Request object.
                string paramReportMonth = "12";
                string paramReportYear = "2003";
                string paramEmpID = "288";
                URL = URL + "&rs:Command=" + Command + "&rs:Format=" + Format + "&ReportMonth=" + paramReportMonth + "&ReportYear=" + paramReportYear +"&EmpID=" + paramEmpID;
                System.Net.HttpWebRequest Req = (System.Net.HttpWebRequest) System.Net.WebRequest.Create(URL);
                Req.Credentials = System.Net.CredentialCache.DefaultCredentials;
                Req.Method = "GET";
                //Specify the path for saving.
                string path = @"C:\" + paramEmpID + "-" + paramReportYear + "-" + paramReportMonth + @".pdf";
                System.Net.WebResponse objResponse = Req.GetResponse();
                System.IO.FileStream fs = new System.IO.FileStream(path, System.IO.FileMode.Create);
                System.IO.Stream stream = objResponse.GetResponseStream();
                byte[] buf = new byte[1024];
                int len = stream.Read(buf, 0, 1024);
                while (len > 0)
                    fs.Write(buf, 0, len);
                    len = stream.Read(buf, 0, 1024);
                stream.Close();
                fs.Close();
    3.       Use the URL of the above page with parameters to export a report to the specify folder with specify filename.
    E.g. http://<server>/custom application/export.aspx?parameterReportYear=2003&parametermonth=12&EmpId=288
    Of course, we can pass other parameters with the URL such as Format.
    Please feel free to ask, if you have any more questions.
    Thanks,
    Jin Chen
    Jin Chen - MSFT

  • Pictures quality

    It is strage but I can not obtain very good pictures quality after iMovie slideshow export. It is codecs independent. Bad quality is visible in dark parts of photo for example water surface in shadow. There are colour spots instead of soft shadings. It makes iMovie useless for semiprofessional presentations. It looks that pictures are simplified before they are transferred to codec.
    Have you got any ideas about it?

    I did a lot of experiments about that.
    My final conclusion is that there is impossible to obtain good quality slideshow made of camera images with iMovie (even HD resolution), really surprising !!!
    It looks like iMovie imports pictures and at the same time simplifies them to have real time speed edition and playback possibilities. Unfortunately export option does not take original pictures to make rendered movie but takes this simplified version and I think that is the reason why final movie slideshow has terrible spots visible in dark parts of pictures (regardless of the sorce picture format, codecs, resolution options, bitstream etc.). In my opinion it is software bug.
    Am I wrong?

  • Why a difference between picture quality in InDesign and PDF output

    We are comparing the CS5 pdf output of our book with the ID version. The images are MUCH clearer and the colors are better when we view a page inside of ID side by side with the PDF. The pictures actually look blurry in the PDF, even though we are outputting at 600dpi.When we export to PDF in cs6, the clarity is much better but the color is still a little off. Is this normal?

    The X-1a exporting from CS5 looks much better than the normal output, and better than the CS6 output. What would cause that?
    If you export a CMYK PDF with no profiles and open it in AcrobatPro, Acrobat's Color Management's Working CMYK space handles the preview. So here's the difference between two very different profiles Fogra Coated and SNAP Newsprint:
    When you export PDF/X-1a an output intent profile is included (usually your document's CMYK profile) and that is used in Acrobat for previewing CMYK instead of the current CMYK working space.

  • InDesignCC. How to keep image quality with exporting Interactive PDF?

    Hello everyone, I'm using InDesign CC, I'm exporting a PDF that has PNG images, the problem is that I'm loosing the sharpness and the pureness in the images after exporting the file into PDF Interactive... the Settings I'm using for Image Handling are Compression: Automatic , JPEG Quality: Maximum, Resolution PPI: 300..
    The file size is "Letter" with web Intent (792px x 612px) the images I'm using are big and have great quality, can anyone tell me how I export into PDF interactive without loosig images quality? I want to keep this pureness and sharpness in the images
    Thanks in advance

    It depends on the image. Best way for us to advise you is to open your image, then go to Image > Image Size and upload a screen capture of the Image Size box with the readings.
    What you might have working against you is not enough pixels. Upsampling may just make it blurred. But we will see.
    300 ppi is also not carved in stone, you may get away with 200 ppi depending on where you are sending it for printing.
    And lastly, if you are paying a commercial printer to do this, it's best to consult with them and see what they can do.

  • Any ideas on keeping images on master pages consistently high quality display when exporting to pdf?

    Any ideas on keeping images on master pages consistently high quality display when exporting to pdf?

    Set up the Preflight panel so it checks image resolution. Ask your printer what the appropriate resolution is for your printing process, and set that in Preflight.

  • When exporting to PDF, the pictures are not the same size I "placed" them

    I am "placing" pics that are 653 x 983 pixels, 300 DPI, using CS4.  However, my issue is when exporting to PDF, the PDF doesn't look like the same size I "placed" the pic until I blow it up to about 350%.  I do not have a printer set up to my computer so I can't do the print/pdf option.  Am I doing something wrong here?  I can't figure it out.  Your help is appreciated.  Thanks!

    Well, right when I open the PDF, it's just way too small, imagine it being the size of a business card.  I have to keep zooming in until it gets to the size I originally intended it to be.  When I create a new document am I suppose to make it the same size as the picture?

  • Using Premiere Pro CS3 When exporting as flash file poor picture quality

    I'm using Premiere Pro CS3. I shoot green screen in HDV and work in 1440 x 1080. I have been capturing files in Premiere and sending them to Serious Magic Ulta 2. I use this program for keying and adding virtual backgrounds. I save these files as avi. with a resolution of 1440 X 1080. I then bring them back into Premiere Pro for final edit. When I export these video's encoded as mpeg2 theyplay very clear. I am now trying to export as flv. with alpha channel background and the resolution is poor. I working on the transparent background with walk on spokespersons that overlay the HTML page. When In try to play them on my computer the adobe media player is what comes up. I have downloaded flash player but it doesn't select it to play the video. I'm running windows Vista Business platform. What am I doing wrong.

    Thanks for the reply.
    The capture and editing have already been done in 1440 X 1080. Should I use this resolution rather than trying to bump it up to 1920 X 1080.
    Thanks
    Bill Bennett
    Date: Fri, 2 Sep 2011 07:33:04 -0600
    From: [email protected]
    To: [email protected]
    Subject: Using Premiere Pro CS3 When exporting as flash file poor picture quality
    Computer playback generally prefers square pixels.  Make sure to set your output resolution to 1920 x 1080 using a Pixel Aspect Ratio (PAR) of 1.0 or Square.
    See if that helps.
    >

  • [JS CS3 Win] Export to PDF then auto-print PDF from Acrobat

    Hello!
    I am working on the script that is exporting pages to PDF, and would like to automatically send exported PDF to print from Acrobat.
    I get the scripting part for exporting to PDF, and it's working very well, but I have trouble on the part of the script that tells Acrobat to open the PDF and send it to printer. Script is run from InDesign, so I thought this is right forum to ask.
    The following part of the script is working OK on one computer, but on other two computers with similar configuration (CS3. Windows, Acrobat 8) it doesn't work at all and I can't figure out where is the problem:
    var printFile = "/c/temp/test.pdf";
    var remoteScript = "printFile = decodeURI('"+printFile+"');\n";
    remoteScript += "var doc = app.openDoc({cPath: printFile});\n";
    remoteScript += "var pp = doc.getPrintParams();\n";
    remoteScript += "pp.pageHandling = pp.constants.handling.shrink;\n";
    remoteScript += "pp.NumCopies = 2;\n";
    remoteScript += "pp.interactive = pp.constants.interactionLevel.silent;\n";
    remoteScript += "pp.printerName = '\\\\hrhqzgw23prn01\\\hr300019ps';\n";
    remoteScript += "doc.print(pp);\n";
    remoteScript += "doc.closeDoc(true);";
    acrobat.executeScript(remoteScript);
    I would appreciate any help. thank you.

    Hi Mark,
    Here is a sample script. It exports the active InDesign document to pdf file, using its base name, to the root of C drive. Then opens the exported file in Acrobat, prints it to the default printer and silently closes it.
    Tested on InDesign 5.0.3, Acrobat 8.0.0, Windows XP SP3.
    #target indesign
    var myIndesignDoc = app.activeDocument;
    var myBaseName = GetFileNameOnly(myIndesignDoc.name);
    var myFile = new File( "/C/" + myBaseName + ".pdf" );
    myIndesignDoc.exportFile( ExportFormat.pdfType, myFile, false );
    var myScript = 'var myAcrobatDoc = app.openDoc( "/C/' + myBaseName + '.pdf" );\n';
    myScript += 'myAcrobatDoc.print( {bUI: false, bSilent: true} );\n';
    myScript += 'myAcrobatDoc.closeDoc( true );';
    var bt = new BridgeTalk;
    bt.target = "acrobat";
    bt.body = myScript;
    bt.send();
    function GetFileNameOnly(myFileName) {
        var myString = "";
        var myResult = myFileName.lastIndexOf(".");
        if (myResult == -1) {
            myString = myFileName;
        else {
            myString = myFileName.substr(0, myResult);
        return myString;
    Short explanation of the acrobat script:
    1. Open the pdf file, just exported from InDesign
    var myAcrobatDoc = app.openDoc( "/C/' + myBaseName + '.pdf" );
    2. To print the document silently I use the doc object’s print method and set the following parameters:
    bUI -- Determines whether to present a user interface to the user
    bSilent -- Suppresses the Cancel dialog box while the document is printed
    myAcrobatDoc.print( {bUI: false, bSilent: true} );
    3. Close the document without notifying the user:
    myAcrobatDoc.closeDoc( true );
    Regards,
    Kasyan

  • Set the compression quality for individual images for exporting a PDF?

    When are export a PDF in ID, you are given an option to downsample and compress images. My problem is, I want to compress some images more than others. For example, a photo in the document could be downsampled much more than a png logo. Of course I could go and pre-downsample each image to the right size in photoshop, but that can get kind of involved. Is there a way I could at least exclude one particular image from the compression process?

    Well, I didn't find any way to do this in ID, but I do believe its a useful thing to do. In Fact, by doing some careful image-dependent compression, I was able to reduce the size of my pdf by half and have the result still look better than a standard uniform compression. What I did was:
    first place all the images in the ID file, size and position them as they should be
    then, looking at the rulers, note the horizontal size, in inches, of each image in the document
    begin with the first image, open it in photoshop. If you want this image at 200dpi, for example, multiply the horizontal size (from ID) by 200. Change the image size in photoshop to this number.
    save the image in photoshop as a jpg and compress as appropriate for the image type
    go back to ID, open up the links window, select the image you just changed, and click the update link button
    do this with all your images
    when you go to export a pdf, don't do any compression or downsampling on the images.. they're already optimised
    So as you can see you have to have some idea of the ideal target DPI and compression of each image in your document, and it may require some experimenting. But if you know that some images can be lowered much more than others, I recommend this method. As I said, in my case I was able to reduce the file size by half without negatively effecting the pdf appearance.

  • I get poor picture quality when I export my slides from keynote as jpeg and print them as a photo, any help?

    I made a slide of multiple pics and objects, I am trying to export it to an 8x10 photo, the shop I am using only allows jpeg.  The quality is so poor when I print it, is there a way to get better quality as I export it?  I used keynote because I could set up a custom slide size (8x10) and then added the pics and other graphics in hope I could export as a jpeg and get a good quality photo?  The photo images and slides are good quality it is the exporting where I am loosing clarity.
    Ugh any help?

    I made a slide of multiple pics and objects, I am trying to export it to an 8x10 photo, the shop I am using only allows jpeg.  The quality is so poor when I print it, is there a way to get better quality as I export it?  I used keynote because I could set up a custom slide size (8x10) and then added the pics and other graphics in hope I could export as a jpeg and get a good quality photo?  The photo images and slides are good quality it is the exporting where I am loosing clarity.
    Ugh any help?

  • Why does my high res photoshop image appear blurry when placed in InDesign and Exported as PDF?

    Hi there,
    I have a problem I've been trying to solve for days but just can't find the answer anywhere on the internet.
    I have a large, good quality photoshop file (2268 x 979 pixels, resolution 300 pixels per inch). When I place it into InDesign, the image appears OK (I've changed my display settings to HIGH) - I then resize it in InDesign to 10% and the file still looks great! Then, when I export it as PDF (high quality print) it looks blurry.
    Does anybody know why? The strangest thing is, I've placed other photoshop images in the same InDesign file and they look crystal clear. It is just this one I am having trouble with. I've saved it in the same folder as the other pictures, I've tried placing it as psd. , jpg. , photoshop pdf, png. everything...
    The image looks great in both photoshop and indesign, only when exported as pdf it looks awful.
    Any help will be greatly appreciated,
    Many thanks in advance!
    Weronika

    It's probably the extreme reduction -- you're throwing away 90% of the image pixels and interpolating, and then using jpeg compression on top.

  • Export for PDF and items disapear from the page...

    Hello Big Masters,
    please give me a solution to the fact that:
    I lose some items (a text box and a graphic) at the export from Indesign to PDF.
    -The file is 6 pages long. Simple. Some text and small pictures.
    -The missing items are close to the right bottom of the page. It is allways on the same page. In my case on the last page.
    -The missing item is exactly the same like some others. (it is like an object I could put on master page, but I wanted only to COPY/ PASTE IN PLACE)
    -I tried countless solutions, but no one passed successfully. I tried to ungroup/regroup (it is an object made of letters and outlined letters), I tried to outline all of the object, I tried recopy the object, I tried to put the page in a different order (thinking that the bug always came on the last page), I closed down indesign, I tried different PDF quality options, I tried renaming and overwriting, I checked all the layers (they are all printable). NOTHING worked.
    I start worring about the quality of Indesign, that I thought being the perfect software for multipage layouts, but I experienced this bug that wasted me 2 hours. In the researches for solutions I also found out that more problems are ahead in big ePubs or when you bring old big files, with Masterpages, it seems that is a real mess what comes out.
    Do you experience these troubles with Bermuda-effect in Indesign (dissapearing items surprisingly unexpected...)???

    The answer for you is YES.
    But Still didn't get the bug solved.
    The first pic as you see, is from ID before I export to PDF
    and the last image is the crazy pdf file, I am getting.
    If the adobe guys need my file for investigation, I can send it to them somehow.
    But then again, I got a compromise solution by putting the "missing" object on a separate masterpage.

Maybe you are looking for

  • Dúvida no cancelamento de uma NFe Rejeitada

    Boa tarde a todos, Estou com uma dúvida quanto ao processo de cancelamento de uma NFe rejeitada e agradeço antecipadamente a colaboração dos colegas aqui do forum que possam ter passado por situação semelhante. Temos o seguinte cenário: implementação

  • Unable to do UPDATE in Oracle Form 10.1.2

    Hi, I am using an LOV to query data from a master-type table. -- WHEN-BUTTON-PRESSED in button Retrieve declare   l_number number;   a_value_chosen boolean; begin   a_value_chosen := Show_LOV('LOV_CUSTOMER');   if not a_value_chosen then     message(

  • What version of Shockwave is on download page?

    It only says 12. I've already downloaded and deployed 12.0.3.133 and 12.0.4.144. On the Reader and Acrobat pages it's very easy to determine which version you are downloading. No indicators on the Shockwave page. Help! http://www.adobe.com/products/s

  • Looking suitable CRM data source for Marketing Plan & Campaign

    Hi Experts, I'm a BI guy & looking suitable CRM data source for Marketing Plan & Campaign. and the related base tables from where it picks the data. I saw two DS, 0CRM_MKTPL_CAUSAL                 Extraction of MDF Causal Data 0CRM_MKTPL_VO_TRANS    

  • Re: service pack 2 and WLS 5.1

    This is a test