How to Print preview from Form9i

I using forms & Report 9i i want to know that it is possible to print or print priview from form9i how, please help me

Thanks jeet
I received following error when i try to run report from form9i
FRM-41213 : Unable to connect to the Report server repserve
after starting report server by entering following command from Dos
rwserver server=repserver
report server repserver start
after i try to run report from form9i i received following
FRM-41214 : unable to run report
following code i enter in when button press trigger
DECLARE
Report_Id report_object;
hTimer timer;
vcFile varchar2(255);
vcResult varchar2(30);
BEGIN
/* Generate a pseudo-unique filename */
vcFile := get_application_property(USERNAME)||TO_CHAR(SYSDATE,'YYYYMMDDHHMISS');
/* We will be producing Postscript output in this case so add a .rrpp extension */
vcFile := vcFile||'.rrpp';
/* Find an existing Report Object and set parameters */
report_id:=FIND_REPORT_OBJECT('JUMREP');
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,FILE);
/* Format to Postscript */
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESFORMAT,'ps');
/*Desname to our generated filename
Note: <PhysicalDir> refers to a location on the
Webserver which we read from with SHOW_DOCUMENT() */
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESNAME,'D:'||vcFile);
/*Set the name of the Reports Server, again this would be softcoded */
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,'repserver');
/* Save the Report Handle to a global as well */
:GLOBAL.ReportHandle := RUN_REPORT_OBJECT(report_id);
/* Save the generated Filename away for use in the When-Timer-Expired */
:GLOBAL.PrintOutPut := vcFile;
/* Create a timer to monitor the Report,
This one is set to check 4 times a minute */
hTimer := CREATE_TIMER('PRINTER_QUEUE','15000',REPEAT);
END;

Similar Messages

  • How to print preview in a popup window?

    There are couple of websites that I use frequently and they open links up into popup windows that I would like to print using print preview so I don't waste paper. Is there a way to do print preview from a popup window or can I open popup windows in a new tab?
    Please Help,
    jpmtnman

    Thanck you for your answer.
    Unfortunatly, my plugin aim to help debug javascript code. So, it's not my code which directly open popup, it's the code I'm watching. I cannot give argument to window.open.
    Correct me if I did not understand something, but your second option consist in modifying the settings of the user browser. How could I do that from a plugin ?
    Also, I realized that when I open a popup without the plugin tester(cfx run), i.e. in opening firefox the usual way, popup windows have the menubar with plugin buttons. O.o
    Is anyone know why this difference ?

  • Program to Print Preview from Spool

    Hello gurus,
    I hope you guys could help me out...my requirement is to write an ABAP program that receives a spool number and displays its print preview to the user from there user can choose to print or delete the spool number
    Any advices ?:)

    Hi ..
    Call this FM to generate the Print preview from SPOOL
        CALL FUNCTION 'RSPO_OUTPUT_SPOOL_REQUEST'
          EXPORTING
            spool_request_id = hrqident
          EXCEPTIONS
            OTHERS           = 0.
    <b>REWARD IF HELPFUL</b>

  • How to print texts from iphone 4

    how to print text from iphone 4 without having to screenshot?

    An iOS cannot be downgraded or uninstalled...Apple has never supported doing this and removes the older iOS version files when a new iOS is released.

  • How to print photos from my iphone?

    I have the HP Photosmart C309a,(wireless) and would like to know how to print photos from my iphone 3G.
    I have the "app" "HP ePrint Home & Biz", but I don't know if it's compatible with my printer?

    The app is compatible with your printer IF it is connected to a network (not via USB to a printer).
    If it is not working restart your router by pulling its power plug momentarily.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • How to print information from my Apple I pad to my HP Photosmart D110 series printer

    How to print information from my Apple I Pad to my HP Photosmart D110 series printer ?

    Hello 518,
    Welcome to the HP Support Forums!
    It would appear that the HP Photosmart Plus 209B is not compatible with AirPrint. Without AirPrint you can only print via an App.
    I suggest the ePrint App. Getting Started with HP ePrint Mobile Apps<---
    Cheers,
    JERENDS
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • How to print labels from my Christmas card list?

    Does anyone know how to print labels from the Christmas card list in Contacts?
    I am new to computers and having managed to type in all my addresses I was hoping to print some labels!    Please can anyone help!

    Welcome to the Support Communities. What version of OS X is your Mac running? ...Click on the  menu at top left of your screen and choose About This Mac. Note the version in the form 10.n.n and then see this ASC tutorial:
    Update your product list
    Then see this Apple doc, which is for OS X 10.9 (Mavericks)...
    Contacts (Mavericks): Print contact information
    ...Found by searching here:
    http://support.apple.com/kb/index?page=search

  • How can I stop Firefox 4 from displaying "The document cannot change while Printing or in Print Preview" from appearing every time I click on File/Page Preview?

    Clicking on File/Page Preview in Firefox 4 brings up a warning dialog "The document cannot change while Printing or in Print Preview" every time. How can I stop this from happening? It is very annoying, and it is necessary to click "OK" on this dialog twice before it will go away. Thank you.

    Does it behave that way in [[Safe Mode]] ?
    If it doesn't, then one of your add-ons in the culprit.

  • How to activate print preview from BP master data

    Hello,
    Is there a way to activate the print preview function in Business One 8.8 from the Business Partner Master data in order to launch a crystal report.
    Today, in the Business Partner master data, the Pen icon (print layout designer) is greyed and the new 'Report and Layout Manager' does not show any option for the business partner'
    Thanks for your help
    Marc

    Hi Marc,
    it is not possible in SAPB1.
    which SAPB1 Version & Patch Level(PL) did you see the Business Parter Master Data PLD.
    Print Layout Designer not have on Business Partner Master Data and Item Master Data.
    both Master Data having only Window Print Preference.
    Regards,
    Madhan.

  • Data missing when Exporting or print preview from ALV report

    Hi
    I have a alv report which is showing fine but when i try to export it to say excel sheet or do print preview some of the data is missing. Can anyone tell me how to fix this. or at least point to some document that discuss this problem.
    Here is my ALV CODE
    *  CALL_ALV
    form call_alv.
    *  v_repid = sy-repid.
      perform build_field_catalog using field_tab[].
      perform build_eventtab      using events[].
      perform comment_build       using header_alv[].
      perform build_sorttab       using gt_sort[].
    *  perform build_layout.
    *  v_variant-variant = '/TEST3'.
    * Call ABAP List Viewer
      call function 'REUSE_ALV_GRID_DISPLAY'
        exporting
          i_callback_program      = v_repid
          i_callback_user_command = ''
          i_structure_name        = 'REC'
          it_fieldcat             = field_tab[]
          it_special_groups       = gt_sp_group[]
          it_sort                 = gt_sort[]
          i_save                  = v_save
          is_variant              = v_variant
          it_events               = events[]
    *      is_layout               = gd_layout
        tables
          t_outtab                 = REC
        exceptions
          program_error            = 1
          others                   = 2.
    endform.
    From my Catalog this data is missing
    * BUILD_FIELD_CATALOG
    form build_field_catalog USING pt_fieldcat type
                                   slis_t_fieldcat_alv.
      data:  ls_fieldcat type slis_fieldcat_alv.
      clear: fieldcat, pt_fieldcat[].
      ls_fieldcat-tabname        =                'REC'.
      ls_fieldcat-edit           =                ' '.
        ls_fieldcat-fieldname      =                'PERNR'.
        ls_fieldcat-seltext_s      =                'Employee #     '.
        ls_fieldcat-seltext_m      =                'Employee #           '.
        ls_fieldcat-seltext_l      =                'Employee #           '.
        ls_fieldcat-datatype       =                'C'.
        append ls_fieldcat to pt_fieldcat.
    There r coupole that's missing
    But there couple that show's up like this one
        ls_fieldcat-fieldname      =                'STIME'.
        ls_fieldcat-seltext_s      =                'ST   '.
        ls_fieldcat-seltext_m      =                'St Tm     '.
        ls_fieldcat-seltext_l      =                'Start Time          '.
        ls_fieldcat-datatype       =                'C'.
        append ls_fieldcat to pt_fieldcat.
        ls_fieldcat-fieldname      =                'ETIME'.
        ls_fieldcat-seltext_s      =                'ET      '.
        ls_fieldcat-seltext_m      =                'Et Tm           '.
        ls_fieldcat-seltext_l      =                'End Time             '.
        append ls_fieldcat to pt_fieldcat.
    I always reward points.
    Thanks

    hi Anwarul,
    Try the following code:
    *  CALL_ALV
    form call_alv.
    *  v_repid = sy-repid.
      perform build_field_catalog using field_tab[].
      perform build_eventtab      using events[].
      perform comment_build       using header_alv[].
      perform build_sorttab       using gt_sort[].
    *  perform build_layout.
    *  v_variant-variant = '/TEST3'.
    * Call ABAP List Viewer
      call function 'REUSE_ALV_GRID_DISPLAY'
        exporting
          i_callback_program      = v_repid
          i_callback_user_command = ''
          i_structure_name        = 'REC'
          it_fieldcat             = field_tab[]
          it_special_groups       = gt_sp_group[]
          it_sort                 = gt_sort[]
          i_save                  = v_save
          is_variant              = v_variant
          it_events               = events[]
    *      is_layout               = gd_layout
        tables
          t_outtab                 = REC
        exceptions
          program_error            = 1
          others                   = 2.
    endform.
    form build_field_catalog USING pt_fieldcat type
                                   slis_t_fieldcat_alv.
    call function 'REUSE_ALV_FIELDCATALOG_MERGE'
    exporting
    I_PROGRAM_NAME  = sy-repid
    I_STRUCTURE_NAME = 'REC'
    changing
    CT_FIELDCAT          = pt_fieldcat.
    When you export to excel, the character fields and numeric columns gets re-arranged, but all the fields will be displayed in this case.
    hope this helps.

  • Chinese Fonts are coming ZUNK when i do print preview from web UI

    Hello All,
    I have a smartform which includes a standard text which is maintained in Chinese language. This smartform would be called from web UI -> activities -> Fax -> print preview.
    when i do print preview of any activity, everything is coming correct except chinese text, it is coming as zunk characters.
    i have created a standard text ( through Tcode - SO10 ) in CHINESE When i call it in my Smartforms it is displaying like boxes ( garbage ) .
    But when seen in SO10 in Chinese login language the text is maintained properly in Chinese
    Please let me know wat is missed out or is there any settings which should be enabled.
    how would i do  Character set enabled for chinese language?
    Thank You...
    seema
    Edited by: seema rajjot on Sep 21, 2011 5:04 PM

    Hi Sagar,
    Yes that's a problem for Cyrillic fonts , I suppose you are using two action definitions : one for ES and one for EN print.
    For Spanish you have to use a smart style which supports the ISO Cyrillic characters and that will then open up correctly for Spanish users.
    Regards,
    Hasan Rafiq

  • How to print emails from my Ipad on a HP6500. Can print attachments

    I followed the instructions from the below post. I can print attachments fine but I can't print the text of emails. What do I do?
    Re: ePrint Support for Officejet 6500 E709n? Not easy to use!?
    Options 
    02-08-2012 06:46 AM
    I'm sorry I misunderstood the question, but thanks for the clarification.  I have a few steps here for printing the attachment directly from the email.
    1.  In the email message, tap the attachment to open it.
    2.  Tap the action icon in the top of the screen.
    3.  Select "Open in HP Home&Biz".
    4.  Press the print preview icon at the bottom of the screen.
    5.  Press the print button at the bottom of the print preview screen.
    This question was solved.
    View Solution.

    Hi,
    The HP ePrint Home & Biz app allow you to print Documents, Pictures and Web Pages only, it does not support email printing.
    In order to get the desired feature, I would suggest you to search the App Store for any 3rd party printing app who support email printing,
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Since latest upgrade I cannot "print" or show "print preview" from any web page. This is true of both of my printers and I have followed directions on plug-ins and have reinstalled Firefox etc. I am about ready to switch to Internet Explorer! w

    Since upgrading Firefox, it doesn't respond when I click on print and/or print preview while displaying web pages.. No error message, just no response. I tried using both my printers..a HP and a Canon and get no results with either. I have no problem printing from any other place (including "Print" instructions within web pages, usually). I have recently upgraded my desktop (Dell Vostro 220) to Windows 7 and it went smoothly. The Firefox upgrade came at about the same time, so I don't know if Windows 7 is part of the problem. I need be able to print from the screen of web pages!

    Hi jjoyceeric,
    Have you looked at the Knowledge Base article [[Firefox prints incorrectly]]? There is some good troubleshooting information in there. I would suggest that you try resetting your print settings.
    Hopefully this helps!

  • How to print report from JSP Page

    Hi Everybody,
    I am developing a simple project in JSP with MS Access. I hav some tables and reports for them. I hav a JSP page which gets inputs from user and save it in the table. Its working fine. But my problems are,
    1) I hav a button called "SAVE & PRINT" in that bottom of the page, if i click that button, the currently entered data has to save in the table and the same data has to print from the MS Access report. I dont know how to print this report from JSP page.
    2) Another button called "REPRINT". If i click that button, it has to ask a number to print the report page, that number is nothing but a field in that report.
    Could anyone help me to solve this problem.

    Hi Everybody,
    I am developing a simple project in JSP with MS Access. I hav some tables and reports for them. I hav a JSP page which gets inputs from user and save it in the table. Its working fine. But my problems are,
    1) I hav a button called "SAVE & PRINT" in that bottom of the page, if i click that button, the currently entered data has to save in the table and the same data has to print from the MS Access report. I dont know how to print this report from JSP page.
    2) Another button called "REPRINT". If i click that button, it has to ask a number to print the report page, that number is nothing but a field in that report.
    Could anyone help me to solve this problem.

  • Query on SRM Authorization for PO Print Preview from Web Browser

    Hi All,
    I would like to restrict PO Preview option in Web browser for users who has SAP_EC_BBP_EMPLOYEE Role only. Kindly let me know that how I can restrict the PO Preview option with popup message like 'Authorization is not given to see the PO Print Preview'.
    Thanks a lot in advance.
    Thanks,
    Sudarsan

    You can just revoke the authorization. This would remove the prining option for the user, rather than providing a message.
    I guess this should be
    Authorization Object - BBP_PD_PO
    Activity (ACTVT) - 04
    Note: The necesary object in the Object Class - BBP.
    Regards
    Kathirvel

Maybe you are looking for

  • How to automatically convert language of sites from one language to another

    Hello Everybody, I am working on creating a multilingual sites.i have my sites and all its pages in english, i want to create the same site in french. Now the scenario is like this. Ihave one page in the original website in which author can enter tex

  • HTTP Receiver adapter with post

    Hello, I have following scenario. XI (http receiver adapater) - > 3rd party web based application. The 3rd party application expects XI payload to be part of URL with POST Method. When HTTP receiver adapter sends request to 3rd party application, the

  • DVD Player not playing discs

    My DVD player won't play rental dvd's etc .. I get a message saying "Supported Disk Not Available" I have successfully played on 2 dvd's on this machine (it's only 2 weeks old) and each of those times i got a message asking my permission to change th

  • Hyperion 9 sending a email on a condition

    hi All. i dont know too much about hyperion..... we have hyperion 9.31 installed.... i have just been asked to look into how to get a hyperion report to send an email on a condition..... so we have this report and we want it to send the report in a e

  • Canon 5D Mark III - underexposes

    Hello, I've noticed that my Canon 5D Mark III underexposes somewhere between 2/3 stops and one stop. I've taken a test photo and I've attached the histogram and the exif. I photographed a white sheet of paper Is this behaviour normal or is there a pr