How Can I Launch CR To Print A Report Then Close

I use report_viewer to run CR .rpt files from a Progress Application.  When launched CR presents the report on the screen for the user to view/print.  Can I run this report in a way that just goes directly to a printer and does not display on the screen?  I just want to print the report and then have the CR session close.  All this without the user ever seen CR.   Don

Kudek,  Thank you for the reply!  I wasn't able to find a solution in your response as I am presently doing what you suggested.
Below is the code (Progress 4GL) that I'm using to launch the report.  It brings the report to the user screen and automatically directs the printout to the appropriate printer.  I'm trying to get it to go to the printer without displaying anything on the screen.
The last call, is the one that is presenting it to the CRT.  I must have to replace the "ReportViewer:ViewReport()" with a different call to bypass the display step and go directly to the printer, but I don't know what to use.
Again, any help is very much appreciates.
      chReport= chApplication:OpenReport("c:\dcam\reports\pack_list.rpt").
       chCtrlFrame:CrystalActiveXReportViewer:EnableExportButton  = TRUE.
       chCtrlFrame:CrystalActiveXReportViewer:EnableSearchControl = FALSE.
       chCtrlFrame:CrystalActiveXReportViewer:EnableGroupTree     = FALSE.
       /* Clear Report Parameter */
       chReport:ParameterFields:ITEM(1):ClearCurrentValueAndRange().
       /* Set Report Parameter */
       chReport:ParameterFields:ITEM(1):SetCurrentValue(rep-lid-no).
       chReport:SelectPrinter("", rep-printer, "").
       chReport:PrintOut(FALSE).
       /* Set the report name */
       chCtrlFrame:CrystalActiveXReportViewer:ReportSource=chReport.
       /* View Report */
       chCtrlFrame:CrystalActiveXReportViewer:ViewReport().

Similar Messages

  • How can i order a new printer head for my photoshop 7250e

    How can i order a new printer head for my photoshop 7250e  Is there a number i can ring to speak to someone or email address i can use or a web page where i can order one
    or a list of agents i can use to get it from
    Finding simple information seems impossible, no where does it mention spares or replacements 
    I have tried a lot of fault finding am convinced this is the problem  

    Hello NigelH1, 
    The Print Head for the Photosmart 7250  is not available outside HP.
    Please call HP Tech Support for further assistance.
    If you are in US , the toll free # is 1-800-474-6836 .
    If you are not in US , then log on to www.hp.com , at bottom-left corner there is a world map icon, click on it and then select the region you belong to, which would then provide support options for you for that region.
    Regards,
    Jabzi
    Give Kudos to say "thanks" by clicking on the "thumps Up icon" .
    Click "Accept as Solution" if it solved your problem, so others can find it.
    Although I am an HP employee, I am speaking for myself and not for HP.

  • How can I replace my old print driver with my new printer driver on 13

    how can I replace my old print driver with my new print driver on photo elements 13

    The print driver is not installed in PSE.
    Check with the manufacturer of your printer.

  • How can I Launch a Java application that I have written using an icon

    I have just finished writing a Messaging system like Ms Outlook written completey in Java. To run my application , I would normaly type: java and then the class containing the main method eg java LogonFrame.
    How can I launch my application by just clicking on an icon ?.
    How can I also package and install this application the way most conventional application are packaged and installed. Do we have a sort of "java Installer" ?.
    Thank you.

    Just make a .bat file. Open notepad, type something like
    @echo off
    javaw -classpath %~d0%~p0 Package.MainClass %1
    Now make a shortcut to this file. Rightclick the shortcut and select start in "minimized". Thats it...
    Nille

  • How can I set Firefox to print to PDF, the only otions I have are (1) My Canon printer, (2) Fax or (3) Microsoft XPS document writer. There is no option for PDF

    A couple of weeks ago, from the file menu, in my print options was to print a web page to PDF, that facility is no longer there. does anyone know how can I set Firefox to print to PDF.
    The only options I have are (1) My Canon printer, (2) Fax or (3) Microsoft XPS document writer. There is no option for PDF

    Firefox generally displays the printers in Windows' Printers folder (Start orb > Devices and Printers). If it is missing one of the printers listed there, could you indicate which one it is, for example, Adobe Distiller, PrimoPDF, CutePDF Writer, etc.?
    If you previously had an add-on which added print-to-PDF functionality just to Firefox, perhaps it got disabled. You could check here:
    orange Firefox button ''or'' classic Tools menu > Add-ons > Extensions
    Also, are you really running Firefox 8.0.1? That version from last November is no longer secure and has been superseded by Firefox 11. If you browse the web widely, you should update for your security.

  • When I try to print sth I can´t choose my printer. Adobe Reader only shows a printer I used years ago.I aleady deleted and reinstalled the Reader and deleted all other printers from the computer.How can I add a new printer to Adobe Reader?Thanks for help!

    When I try to print sth I can´t choose my printer. Adobe Reader only shows a printer I used years ago.I aleady deleted and reinstalled the Reader and deleted all other printers from the computer.How can I add a new printer to Adobe Reader?Thanks for help!

    Hi,
    I would suggest you to uninstall Adobe Reader using the cleaner tool and then re-install the latest version.
    Adobe Cleaner Tool:- Download Adobe Reader and Acrobat Cleaner Tool - Adobe Labs.
    Latest version of Adobe Reader:- http://get.adobe.com/reader/
    If you still experience the same issue, please share the following information:-
    - Screenshot of Adobe Reader showing printer options
    - Screenshot of Microsoft Word showing printer options
    - Screenshot of control panel- Control Panel\All Control Panel Items\Devices and Printers
    Regards,
    Nakul 

  • Downloaded iTunes 11.0.2.26,the print CD jewel case does not print right,all the songs listed are printed in about a 1/2in. space,how can I get it to print right

    Downloaded iTunes 11.0.2.26,the print CD jewel case does not print right,all the songs listed are printed in about a 1/2in. space,how can I get it to print right

    I recently upgraded to itunes 11.0.1.12 and that fixed the CD Jewel Case Insert song titles problem. Thanks itunes. It's working great!!.

  • How can i add a wireless printer HP officejet 6310 all in one? is it possible

    How can i add a wireless printer HP officejet 6310 all in one? is it possible..?

    Hi @millep 
    To answer your question, no the Officejet 2620 is not a wireless printer;
     - Source: Printer specifications
    As for the USB cable, personally, I believe the intention is to bring down the cost of the printer by selling the USB cable separately. Many people already have printer USB cables kicking around the house, so instead of paying more for the printer and having an extra cable I believe the theory is reduce the cost and sell the USB separately for those who need to purchase one.
    I hope this answers your inquiry.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • How can I add header on printing with Numbers

    How can I add header on printing with Numbers? The previous version use to have it and I cannot find it in the new one ...

    Hi Tanya,
    Glad to hear that you found how to edit page headers and footers in Numbers 3.2. I agree that Help in Numbers 3 is woeful. No searchable PDF to download and use offline. All is online (one page at a time) and we need to know the terms we are looking for before we look.
    The first HelpDesk:
    http://www.youtube.com/watch?v=pQHX-SjgQvQ
    For printing to paper where layout is important, I use Numbers '09 (Numbers 2.3) with its Print View. But it is orphanware. As the name suggests, there has not been a major overhaul since 2009. With that in mind, it is a useful version to hang onto while we hope and wait (and provide feedback to Apple) for something in future versions of Numbers 3.x to provide better layout capability.
    Indeed, each new update of Numbers 3.x has restored more of the old features while adding new features that are enhancements over Numbers '09. Many of the Numbers 3 enhancements reflect long-awaited wishes through this forum, and were passed on by Numbers Feedback to Apple. So it seems that Apple does take heed of feedback.
    In the meantime, I enjoy the charm of Numbers '09 whilst exploring the new features of Numbers 3.
    What has been GAINED in Numbers 3 is here:
    https://discussions.apple.com/thread/5473882?start=75&tstart=0
    (Very long thread because it started with Numbers 3.0, and enhancements have continued through Numbers 3.2).
    Hints on workarounds in Numbers 3 is here:
    https://discussions.apple.com/message/23622372#23622372
    Some workarounds are no longer needed, but what amazes me is how many Numbers '09 features (the so-called "lost" features) were not lost; the settings have simply been moved. Moreover, many features such as margin settings carry over with a Numbers '09 document or template into Numbers 3.
    Hints for layout on screen before printing to paper:
    Try Alignment Guides and Rulers as suggested here:
    Print View workarounds
    Use a layout guide:
    Layout Guide for Numbers
    Regards,
    Ian.

  • I have installed the iAS 9i,but how can I launch the Portal?I can't found it,but I ..

    I have installed the iAS 9i,but how can I launch the Portal?I can't found it,but I have selected that component when installing...?

    Which version of 9ias have u installed
    if it is rel 2 u have to install first 9ias infrastructur and then portal.
    portal can be access at http://hostname.port/pls/portal
    where hostname and port is where u have installed the portal and the port number where apache listens
    good luck
    [email protected]

  • How can I set the default print settings of my document as color.  I want the default print setting to be color when someone opens a document.  similar to duplex print preset is there a color print preset?

    How can I set the default print settings of my document as color.  I want the default print setting to be color when someone opens a document.  similar to duplex print preset is there a color print preset?

    Hi,
    Try saving your settings as a Preset by clicking the Preset drop down and then select Save Current Settings as a Preset.
    Next try changing the settings by selecting the saved preset.
    That allow saving the settings for a specific printer, I assume it may also allow selecting these settings for another printer.

  • How can I start my Kodak printer with this iPad?

    How can I connect iPad to printer? Could you please help me.

    Look on Kodak's site. They have several options with Google Docs to enable you to print. The exact capabilities vary from model to model.
    Also, you can use third party apps. I have print n share and it works just fine with my Kodak printer, but there's also printopia and print central and more I'm sure.

  • How can I get it to print output of inputstream?

    Please forgive me for running two similar thread but the other thread ahs strayed from primal concern of coding.
    Some help with the code please???
    I have set up an inputstream and outputstream to the "ftp process" of java.lang.Runtime I have sent the command "dir" to ftp.
    But How can I get it to print all the files etc of the "dir" sent to ftp process?
    Also I have just read that it is perhaps better to buffer the STREAMS.
    How do I do this for outputsteam? I think I have some clue to do for inputstream with bufferedreader?
    import java.lang.*;
    import java.io.*;
    public class RuntimeFTP{
    public static void main(String[] arg){
    Runtime rt = Runtime.getRuntime();
    String[] callAndArgs = { "ftp.exe", "jaguar.wmin.ac.uk" };
    Process process = null;
    OutputStream os = null;
    InputStream is = null;
    String login = "w0109699";
    String password = "11041976";
    String dircommand = "dir";
    byte[] barraylogin = login.getBytes();
    byte[] barraypassword = password.getBytes();
    byte[] barraydircommand = dircommand.getBytes();
    try
    process = rt.exec(callAndArgs);
    process.waitFor();
    System.out.println("Process exit code is: " + process.exitValue() );
    catch(IOException e)
    System.err.println("IOException starting process!");
    catch(InterruptedException e)
    System.out.println("Interrupted waiting for process!");
    try
    os = process.getOutputStream();
    os.write(barraylogin);
    os.write(barraypassword);
    os.write(barraydircommand);
    catch(IOException io)
    System.out.println("io exception write to outputstream");
    try
    is = process.getInputStream();
    while (is.read() != -1)
    How can I print the data to the user
    i.e all the data obtained from the "dir" command sent to ftp?????????
    catch(IOException io)
    System.out.println("io exception read fron inputstream");

    the above code does not work so I have abondaned it.
    I want to integrate an ftp program into a program I am working on. I have scoured the net for reuse able code and come across a "t or Linlyn ftp program" which claims is easily integrate able into larger applications.
    The problem is did does not seem to work and gives me errors. I would be grateful if someone could tell me why I am getting the error, here is the error:
    C:\My_DL_Dap\ftp in java>appletviewer t.java
    Warning: <applet> tag requires width attribute.
    java.security.AccessControlException: access denied (java.net.SocketPermission j
    aguar.wmin.ac.uk resolve)
    at java.security.AccessControlContext.checkPermission(AccessControlConte
    xt.java:270)
    at java.security.AccessController.checkPermission(AccessController.java:
    401)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
    at java.lang.SecurityManager.checkConnect(SecurityManager.java:1042)
    at java.net.InetAddress.getAllByName0(InetAddress.java:909)
    at java.net.InetAddress.getAllByName0(InetAddress.java:890)
    at java.net.InetAddress.getAllByName(InetAddress.java:884)
    at java.net.InetAddress.getByName(InetAddress.java:814)
    at java.net.InetSocketAddress.<init>(InetSocketAddress.java:109)
    at java.net.Socket.<init>(Socket.java:118)
    at Linlyn.ftpConnect(t.java:326)
    at Linlyn.<init>(t.java:236)
    at t.init(t.java:83)
    at sun.applet.AppletPanel.run(AppletPanel.java:341)
    at java.lang.Thread.run(Thread.java:536)
    I would also be grateful if someone could try out the program and tell me if it works for them, then I could determine if it is because ftp clients are being blocked by my server. The ftp program is very small, here is the url:
    http://www.afu.com/jdownload.html
    1) compile the code
    2) fill in everywhere it requests "your-server" "username" and "password"
    3) to run appletviewer t.java

  • PDF's print two sided.  How can I get them to print on single pages?

    PDF's print two sided.  There is no option shown.  How can I get thelm to print on single pages?

    1: Go into iTunes.
    2: Right click on the song and choose 'Get Info' (or press cmd+i on a Mac).
    3: In 'Info' change the album name to the one you want it to go into, when you start typeing it should automatically come up.
    4: Check that the disk number and track number is correct.  It should be automatic.
    4: Press OK.
    You should see it go into the album now.

  • ?How can I install a postscript printer in order to export to pdf?

    How can I install a postscript printer in order to export to pdf?

    I presume you mean that pop-ups are disabled. If you're using Safari, that setting is in the Safari Security preferences. For other web browsers, consult their documentation.
    Regards.

Maybe you are looking for

  • Movie Clips in sequence

    Hello everyone, Question, If you want to play serval movie clips in a row how do you set that up on the time line? Do you use one frame for each movie clip or do you need the same number of frams in the main timeline as there is in the movie clip. Wh

  • What are the steps to publish Captivate 6 project for use on an iPhone?

    I found this URL: http://blogs.adobe.com/captivate/2010/09/publish-to-iphone-from-captivate-5-and-elearning- suite-2.html But this seems dated. Here's what I just tried: - Hit Publish - Checked the SWF AND the HTML5 boxes in teh Output Format Options

  • Viewing Size while composing messages

    How do I change the appearance size of fonts while composing emails- not change font size of message itself

  • Messy Image when scrolling something

    the problem is very annoying.. basically everytime I scroll down or up a webpage, emesene contacts.. whatever.. everything I scroll I get a messy image, because part of it gets 'cuted'.. I'll leave a printscreen so you can understand what I'm saying.

  • About anti glare screen?

    is that true when you see the top anti-glare screen is clearer and when you're down is dark?.  so you have to be right in front of the screen to see it very well? can you get my point? sorry, i dont speak a lot of english i mean when your sitting in