Printing directly to a printer in Oracle 10g

Friends,
I don't have any experience in SQL writing out to a printer, but this is what I need to do and I was hoping someone could direct me.
I need to generate literal text for a label, otherwise, straight from forms. The label is small, (4" x 2.5") and the text will look like this:
VDP BLEND BLEND STATION
Blend#: (Data from database) (DATE)
Segments: ABC (USERNAME)
Grade: (Data from database)
Analysis: (Data from database)
Sample ID: (Data from database)
BAR CODE
BAR CODE
The Hardcoded or literal part of the label would be anything not from the database. I can use Reports to generate the label, but I would need to send it to the printer automatically. I'm use to a language called VGL which uses "Literal" Commands to print text from the code. Can Oracle do that, and if so, How?
Thank you so much for your help.

I tried this but nothing prints:
DATA: PARAMS LIKE PRI_PARAMS,
      VALID  TYPE C.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
  IMPORTING OUT_PARAMETERS = PARAMS
            VALID          = VALID.
IF VALID <> SPACE.
  NEW-PAGE PRINT ON PARAMETERS PARAMS NO-DIALOG.
  WRITE / MY_LABEL.
  NEW-PAGE PRINT OFF.
ENDIF.

Similar Messages

  • Print directly to the printer from Oracle 9I

    Please it is possible to print directly to the printer from Oracle 9i without having to show the report on the web.

    Please it is possible to print directly to the printer from Oracle 9i without having to show the report on the web.

  • Report Print Directly to Client Printer in Linux

    Hi,
    I m doing migration of Forms and Reports from 6i to 10g.
    In this 6i form contain the Direct Report Print to Client Printer.
    But in 10g, How to achive this,
    I don't want to show the report in screen, i want directly report goes to Client Default Printer for Printing Purpose.
    Can any one tel me if you have any solution.
    Thanks
    Gany

    Thanks For you reply,
    I already tried this, But I don't Know ,how to create Java Bean.
    So Any Other Method is there.
    If Any one know any other Solution for Print Directly to Client Printer.
    Thanks,
    Gany

  • Print directly to the printer

    Hi Guys
    Could anyone correct me how can I print directly to the printer from this program ,I am getting short dump error when I select the radio button printer and execute it.
    Rgds
    PE

    oops sorry here it is below
    REPORT  Z_ESLP_ZTCODE LINE-SIZE 132 .
    *TABLES
    TABLES : AGR_TCODES,
    AGR_USERS,
    TSTCT,
    T16FW,
    T16FD.
    type-pools: slis.                                 "ALV Declarations
    CONSTANTS MARK VALUE 'X'.
    TYPES: BEGIN OF  T_DISP,
    AGR_TCODES TYPE AGR_TCODES-TCODE ,             " Transaction code A
    AGR_NAME   TYPE AGR_TCODES-AGR_NAME,           " Role Name B
    AGR_UNAME  TYPE AGR_USERS-UNAME,               " Short User Name B
    TTEXT      TYPE TSTCT-TTEXT,                   " Description Name C
    TEXTC      TYPE USER_ADDR-NAME_TEXTC,          " Long User Name
    SPRSL      TYPE TSTCT-SPRSL ,                  " Language c
    TEL_EXTENS  TYPE USER_ADDR-TEL_EXTENS ,          " Extension
    DEPARTMENT  TYPE USER_ADDR-DEPARTMENT  ,         " Department Name B
    FRGGR      TYPE T16FW-FRGGR,
    FRGCO      TYPE T16FD-FRGCO,
    OBJID      TYPE T16FW-OBJID,
    FRGCT      TYPE T16FD-FRGCT,
    SPRAS      TYPE T16FD-SPRAS,
    END OF t_disp.
    DATA: it_disp TYPE STANDARD TABLE OF t_disp INITIAL SIZE 0,
          wa_disp TYPE t_disp.
    DATA: params like pri_params,
        days(1) type n value 2,
        count(3) type n value 1,
        valid type c.
    *ALV data declarations
    data: fieldcatalog type slis_t_fieldcat_alv with header line,
          gd_tab_group type slis_t_sp_group_alv,
          gd_layout    type slis_layout_alv,
          gd_repid     like sy-repid,
          gt_events     type slis_t_event,
          gd_prntparams type slis_print_alv.
    parameter: p_trigr type c default space.
    SELECTION PARAMETER CRITERIA
    SELECTION-SCREEN BEGIN OF BLOCK BLK WITH FRAME.
    SELECTION-SCREEN BEGIN OF BLOCK BLK1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS:
    P_TCODE FOR AGR_TCODES-TCODE  , "OBLIGATORY, "no-extension no intervals,
    U_NAME FOR AGR_USERS-UNAME,
    R_NAME FOR AGR_USERS-AGR_NAME .
    SELECTION-SCREEN END OF BLOCK BLK1.
    SELECTION-SCREEN BEGIN OF BLOCK BLK2 WITH FRAME TITLE TEXT-002.
    SELECTION-SCREEN END OF BLOCK BLK2.
    SELECTION-SCREEN END OF BLOCK BLK.
    SELECTION-SCREEN BEGIN OF BLOCK radio WITH FRAME.
      PARAMETERS :
      scr   RADIOBUTTON GROUP rbg1 ,
                  Pr   RADIOBUTTON GROUP rbg1 .
      SELECTION-SCREEN END OF BLOCK radio.
    *Start-of-selection.
    START-OF-SELECTION.
    perform data_retrieval.
    perform build_fieldcatalog.
    perform build_layout.
    perform build_events.
    perform build_print_params.
    perform display_alv_report.
    *&      Form  BUILD_FIELDCATALOG
          Build Fieldcatalog for ALV Report
    form build_fieldcatalog.
      fieldcatalog-fieldname   = 'AGR_UNAME'.
      fieldcatalog-seltext_m   = 'User'.
      fieldcatalog-col_pos     = 0.
      fieldcatalog-outputlen   = 10.
      fieldcatalog-emphasize   = 'X'.
      fieldcatalog-key         = 'X'.
    fieldcatalog-do_sum      = 'X'.
    fieldcatalog-no_zero     = 'X'.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'TEXTC'.
      fieldcatalog-seltext_m   = 'Name'.
      fieldcatalog-outputlen   = 60.
      fieldcatalog-col_pos     = 1.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'AGR_NAME'.
      fieldcatalog-seltext_m   = 'Role Name'.
      fieldcatalog-outputlen   = 15.
      fieldcatalog-col_pos     = 2.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'AGR_TCODES'.
      fieldcatalog-seltext_m   = 'Trans Code'.
      fieldcatalog-col_pos     = 3.
      fieldcatalog-outputlen   = 20.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'TTEXT'.
      fieldcatalog-seltext_m   = 'Description'.
      fieldcatalog-outputlen   = 70.
      fieldcatalog-col_pos     = 4.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
    endform.                    " BUILD_FIELDCATALOG
    *&      Form  BUILD_LAYOUT  PRINTER SETUP
          PRINTER SETUP
    form printer_setup.
      DATA:L_PARAMS TYPE PRI_PARAMS,
           L_VALID TYPE C.
        CALL FUNCTION 'GET_PRINT_PARAMETERS'
           EXPORTING
             IMMEDIATELY                  = ' '
           LINE_SIZE                    = 220
           RELEASE                      = 'X'
             MODE                         = 'CURRENT'
             NO_DIALOG                    = ' '
           IMPORTING
        OUT_ARCHIVE_PARAMETERS       =
             OUT_PARAMETERS               = L_PARAMS
             VALID                        = L_VALID
           EXCEPTIONS
             ARCHIVE_INFO_NOT_FOUND       = 1
             INVALID_PRINT_PARAMS         = 2
             INVALID_ARCHIVE_PARAMS       = 3
             OTHERS                       = 4.
          IF SY-SUBRC  eq 0.
          ENDIF.
    "But it will take default printer from user settings
          NEW-PAGE PRINT ON   PARAMETERS L_PARAMS NO DIALOG.
           write : 'print is on'.
          NEW-PAGE PRINT OFF.
        DATA: PARAMS   LIKE PRI_PARAMS,
             ARPARAMS LIKE ARC_PARAMS,
             DAYS(1)  TYPE N VALUE 2,
             COUNT(3) TYPE N VALUE 1,
             VALID    TYPE C.
       CALL FUNCTION 'GET_PRINT_PARAMETERS'
             EXPORTING DESTINATION = 'LOCL'
                   COPIES                 = COUNT
                   LIST_NAME              = 'Z_ESLP_ZTCODE'
                   LIST_TEXT              = 'SUBMIT ... TO SAP-SPOOL'
                   IMMEDIATELY            = 'X'
                   RELEASE                = 'X'
                   NEW_LIST_ID            = 'X'
                   EXPIRATION             = DAYS
                   LINE_SIZE              = 79
                   LINE_COUNT             = 120
                   LAYOUT                 = 'X_44_120'
                   SAP_COVER_PAGE         = 'X'
                   COVER_PAGE             = 'X'
                   RECEIVER               = 'SAP*'
                   DEPARTMENT             = 'System'
                   SAP_OBJECT             = 'RS'
                   AR_OBJECT              = 'TEST'
                   ARCHIVE_ID             = 'XX'
                   ARCHIVE_INFO           = 'III'
                   ARCHIVE_TEXT           = 'Description'
                   NO_DIALOG              = ' '
         IMPORTING OUT_PARAMETERS         = PARAMS
                   OUT_ARCHIVE_PARAMETERS = ARPARAMS
                   VALID                  = VALID.
       IF VALID <> SPACE.
         SUBMIT RSTEST00 TO SAP-SPOOL
           SPOOL PARAMETERS PARAMS
           ARCHIVE PARAMETERS ARPARAMS
           WITHOUT SPOOL DYNPRO.
       ENDIF.
    endform.                    " BUILD_LAYOUT
    *&      Form  BUILD_LAYOUT
          Build layout for ALV grid report
    form build_layout.
      gd_layout-no_input          = 'X'.
      gd_layout-colwidth_optimize = 'X'.
      gd_layout-totals_text       = 'Totals'(201).
    gd_layout-totals_only        = 'X'.
    gd_layout-f2code            = 'DISP'.  "Sets fcode for when double
                                            "click(press f2)
    gd_layout-zebra             = 'X'.
    gd_layout-group_change_edit = 'X'.
    gd_layout-header_text       = 'helllllo'.
    endform.                    " BUILD_LAYOUT
    *&      Form  DISPLAY_ALV_REPORT
          Display report using ALV grid
    form display_alv_report.
      gd_repid = sy-repid.
      call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                i_callback_program      = gd_repid
                i_callback_top_of_page   = 'TOP-OF-PAGE'  "see FORM
                i_callback_user_command = 'USER_COMMAND'
               i_grid_title           = outtext
                is_layout               = gd_layout
                it_fieldcat             = fieldcatalog[]
               it_special_groups       = gd_tabgroup
                it_events               = gt_events
                is_print                = gd_prntparams
                i_save                  = 'X'
               is_variant              = z_template
           tables
                t_outtab                = it_disp
           exceptions
                program_error           = 1
                others                  = 2.
      if sy-subrc  EQ 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    endform.                    " DISPLAY_ALV_REPORT
    *&      Form  DATA_RETRIEVAL
          Retrieve data form lfa1 table and populate itab it_lfa1
    form data_retrieval.
    CASE MARK.
         WHEN scr.
       SELECT AGR_TCODESTCODE AGR_TCODESAGR_NAME AGR_USERSUNAME TSTCTTTEXT USER_ADDR~NAME_TEXTC
      INTO TABLE IT_DISP
      FROM AGR_TCODES
      INNER JOIN AGR_USERS
      ON  AGR_TCODESAGR_NAME = AGR_USERSAGR_NAME
      INNER JOIN USER_ADDR
      ON AGR_USERSUNAME = USER_ADDRBNAME
      INNER JOIN TSTCT
      ON AGR_TCODESTCODE = TSTCTTCODE
      where
      agr_tcodes~tcode in p_tcode
      and
      agr_users~uname in u_name
      and
      agr_tcodes~agr_name in r_name
      and
      TSTCT~SPRSL EQ 'E'.
      WHEN pr.
    perform printer_setup.
    ENDCASE.
    *lifnr
    *between '0000100001' AND '0000150000'.
    endform.                    " DATA_RETRIEVAL
    Release memory no longer required.
    free: it_lfa1 .
    Form  TOP-OF-PAGE                                                 *
    ALV Report Header                                                 *
    Form top-of-page.
    *ALV Header declarations
    data: t_header type slis_t_listheader,
          wa_header type slis_listheader,
          t_line like wa_header-info,
          ld_lines type i,
          ld_linesc(10) type c.
    Title
      wa_header-typ  = 'H'.
      wa_header-info = 'Transaction codes by User and Role Name ' .
      append wa_header to t_header.
      clear wa_header.
    Date
      wa_header-typ  = 'S'.
      wa_header-key = 'Date: '.
      CONCATENATE  sy-datum+6(2) '.'
                   sy-datum+4(2) '.'
                   sy-datum(4) INTO wa_header-info.   "todays date
      append wa_header to t_header.
      clear: wa_header.
    Total No. of Records Selected
      describe table it_disp lines ld_lines.
      ld_linesc = ld_lines.
      concatenate 'Total No. of Transaction Records Selected: ' ld_linesc
                        into t_line separated by space.
      wa_header-typ  = 'A'.
      wa_header-info = t_line.
      append wa_header to t_header.
      clear: wa_header, t_line.
      call function 'REUSE_ALV_COMMENTARY_WRITE'
           exporting
                it_list_commentary = t_header.
               i_logo             = 'Z_LOGO'.
    endform.
          FORM USER_COMMAND                                          *
          --> R_UCOMM                                                *
          --> RS_SELFIELD                                            *
    FORM user_command USING r_ucomm LIKE sy-ucomm
                      rs_selfield TYPE slis_selfield.
    Check function code
      CASE r_ucomm.
        WHEN '&IC1'.
      Check field clicked on within ALVgrid report
        IF rs_selfield-fieldname = 'TCODES'.
        Read data table, using index of row user clicked on
          READ TABLE it_disp INTO wa_disp INDEX rs_selfield-tabindex.
        Set parameter ID for transaction screen field
         SET PARAMETER ID 'BES' FIELD wa_disp-tcode.
        Sxecute transaction zven, and skip initial data entry screen
         CALL TRANSACTION 'Z' AND SKIP FIRST SCREEN.
        ENDIF.
      ENDCASE.
    ENDFORM.
    *&      Form  BUILD_EVENTS
          Build events table
    form build_events.
      data: ls_event type slis_alv_event.
      call function 'REUSE_ALV_EVENTS_GET'
           exporting
                i_list_type = 0
           importing
                et_events   = gt_events[].
      read table gt_events with key name =  slis_ev_end_of_page
                               into ls_event.
      if sy-subrc = 0.
        move 'END_OF_PAGE' to ls_event-form.
        append ls_event to gt_events.
      endif.
        read table gt_events with key name =  slis_ev_end_of_list
                               into ls_event.
      if sy-subrc = 0.
        move 'END_OF_LIST' to ls_event-form.
        append ls_event to gt_events.
      endif.
    endform.                    " BUILD_EVENTS
    *&      Form  BUILD_PRINT_PARAMS
          Setup print parameters
    form build_print_params.
      gd_prntparams-reserve_lines = '3'.   "Lines reserved for footer
      gd_prntparams-no_coverpage = 'X'.
    endform.                    " BUILD_PRINT_PARAMS
    *&      Form  END_OF_PAGE
    form END_OF_PAGE.
      data: listwidth type i,
            ld_pagepos(10) type c,
            ld_page(10)    type c.
      write: sy-uline(50).
      skip.
      write:/40 'Page:', sy-pagno .
    endform.

  • Print directly to the printer option in the Windows registry

    I need to find the location for the option to "Print directly to the printer" in the Windows registry.  I am trying to create a GPO to enable this option at login and I can't find the location for it.  Is this possible to do?  If not, is there another way to enable this at startup for all users?  We are running Adobe Acrobat X on Windows 7 Enterprise 32-bit.
    Thanks

    I guess that those of use responding don't know enough about the process you are trying to implement to be of help. Printing to network drives has been an issue for folks for a long time and a lot seems to depend on the network. That is probably of zero help and all I can suggest is just to hang on for someone who hopefully has an idea. If we can get a better handle on what you are trying to do, we might be able to make suggestions. However, I think our answers are not going to be there for the registry issue.

  • Server created print ques printing directly to the printer

    I'm trying to enforce quotas as well as push out a global set of printers (i.e. not setup locally) I can do this no problem, but my managed macs always print directly to the printer, not via my server.
    I'm installing the printers locally on my server (printing directly to the I.P of the printer, then the corresponding ques appear automatically in the print service under server admin. I assumed that print jobs would be automatically parsed via the print service ques, and thus be able to enforce quotas.

    I'm attempting to setup the very same thing. I haven't gotten to try pushing the print ques to the managed clients via wgm yet, as I can't even seem to get the quota system working at all.
    I can get the que setup on the server, then add the printer to the client. When i pause the que on the server, the client print jobs are being held correctly, but there is no evidence that the quota system is even starting up or functioning correctly.
    I can find alot of people complaining about the quota system being broken in 10.3 and 10.4, but I can't find anyone talking about 10.5's printer quota system at all.

  • PDF + Print directly to the printer

    I need to have the print directly to the printer option enabled for a legacy app to print properly. However
    with this option on PDF's will not print. Even when enabling the print as image option, it still fails. Does anyone have a solution?
    *after testing, acrobat reader X seems to fix the issue. But i still don't know whats wrong. Does anyone know where i can find a changelog of the new version?

    Please check that when you print to PDF, the Save as dialog might goes in background. Watch for blinking icon in the taskbar at the bottom. Click the icon and give output PDF name.
    If this is the case then this is known problem at MS end. See http://support.microsoft.com/kb/2567869
    This problem comes when printing from 32bit apps on 64bit OS.

  • Show parameter form and then print directly to client printer

    I have few reports that show parameter form for user entry. After the user enters the parameter and hits Submit query, the report should automatically get printed on the client's default printer. I tried to use ORARRP but I could get that to work only for reports do not open parameter form before going directly to the printer. Can someone please guide me how to achieve this?
    Thanks!

    I would like it to go to the client PCs default printer. Can you please tell me how do I do that?

  • Printing directly on SAP-printer or via preview on windows printer

    Hi all,
    I'm having a serious print problem: The result of printing directly on a SAP printer or printing via preview on a windows printer is a wide difference!
    In the beginning I was working only with the preview of the LiveCycle Designer to check the design of my forms. Later on I was checking them in preview mode in SAP-transactions or saved them onto my local disk. Printing was no problem because I printed the created forms on a window printer.
    One day there was a big surprise when printing a form directly from SAP on a local SAP-printer (HP printer). The output looked a bit different. Somehow the form was like streched. The left and right margins were not on the sheet anymore. Even the lowest part of the footer was not visilble anymore. It looked like the layout was centerd and aligned on top of the page.
    The SAP printer is installed with a PCL driver (standard for HP). Even adjustments relative to the SAP-hint 1444342
    (device independent printing) were regarded.
    My question now is: how to install SAP-printers that the print output is the same no matter what print method is chosen?
    I appreciate any help, hints and good advices which leads to a solution of my problem.
    Thanks & regards,
    Phil
    PS: I'm creating a Form with LiveCycle Designer 9.0.1 (SAP GUI 720, Patch-level 4).

    Hi Prathamesh,
    Follow this approach.
    Get NAST entry corresponding to invoice number(invoice number = objky).
    insert this piece of code :
         gwa_nast-vstat = 1.
         gwa_nast-erdat = sy-datum.
         gwa_nast-eruhr = sy-uzeit.
         gwa_nast-usnam = sy-uname.
         gwa_nast-manue = 'X'.
         gwa_nast-vstat = 0.
         gwa_nast-LDEST = P_printername_from_selection_screen.
         CLEAR gwa_nast-datvr.
         CLEAR gwa_nast-uhrvr.
         CLEAR gwa_nast-cmfpnr.
       MOVE gwa_nast TO nast.
       PERFORM einzelnachricht_dialog IN PROGRAM rsnast00 USING sy-subrc.
       IF sy-subrc NE 0.
         PERFORM objekt_entsperren IN PROGRAM rsnast00.
         IF sy-subrc EQ 9.
           RAISE print_error_dial.
         ELSE.
           RAISE print_error.
         ENDIF.
       ENDIF.
       SET SCREEN 0.
       PERFORM objekt_entsperren IN PROGRAM rsnast00.
       COMMIT WORK AND WAIT.
    the above will generate a spool.
    Thanks,
    Anil

  • Unable to print directly to PDF Printer Driver on Windows Vista

    I'm having problems printing directly to my PDF printer drivers - neither "Adobe PDF" nor "Adobe PDF Converter" seems to work. The printer either gives me an error or when it asks me to save it to a folder, it seems to send the file into the atmosphere! I have Acrobat 8 Professional (Adobe CS3) on a Windows Vista Premium operating system. I tried downloading the Adobe distiller file "Winsteng.exe" but got an error when I tried to install it. Any advice or tips would be greatly appreciated, as this is really frustrating! Thanks in advance.

    What kind of file are you trying to print? Is this a recent issue or was it happening earlier as well? Repairing your Acrobat installation will definitely help you.
    Also Can you share your screen shot of the following dailogs:
    1) Printers and Faxes
    2) Printing Preferences... (Go to Printers and Faxes->Right click on Adobe PDF Printer->Printing Preferences...)
    3) Advanced Options (Go to Printers and Faxes->Right click on Adobe PDF Printer->Printing Preferences...->Paper/Quality->Advanced...)
    4) Advanced Properties (Go to Printers and Faxes->Right click on Adobe PDF Printer->Properties->Advanced Tab)
    5) Advanced Properties (Go to Printers and Faxes->Right click on Adobe PDF Printer->Properties->Ports Tab)

  • 10g report printing - directly to default printer

    I basically want to know how you can set or retrieve the clients default printer and assign it to des_name on the forms side. Thanks.

    for windows only try this using webutil : it will pick up users default printer
    -- use client_win_api_environment to select printer into local variable
    v_printer_name := CLIENT_WIN_API_ENVIRONMENT.Read_Registry
    ('HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows', 'Device', true);
    p_printer_name := (substr(v_printer_name, 1, instr(v_printer_name, ',' , 1)-1 ));
    :control.printer_name := substr(p_printer_name, instr(p_printer_name, '\' , 3)+1);

  • I bypassed my server and print directly to my printer via TC/IP but for some pages I get printing that looks like Greek. If I go to print preview first it is okay. I did not have this problem before.

    The above is the best I can do.

    There is an unresolved Bug in Firefox that can cause that to occur. If it doesn't happen when you print from the Print Preview window, you'll have to print from the Preview window every time you print from Firefox - until that Bug is fixed. That is a regression that appeared when Firefox 3 was being developed - and was reported almost 3 years ago - the developers haven't come up with a fix for it yet.

  • Utility for printing direct to default printer via adobe reader.

    I just posted this in the Forms forum, but felt it was appropriate to mention here, too. If you feel the need to comment, please do it in the Forms forum so all comments will be in one place. Thanks.
    See it here:
    http://forums.oracle.com/forums/thread.jspa?threadID=361763
    Gary

    No, Adobe stopped that happening many releases ago, for reasons that I don't understand but they will not change.

  • Sending reports directly to a printer (commands) 10g Linux

    Hi,
    Quick question. I am trying to confirm what I need to pass to Oracle Reports Server in order to print directly to the printer (bypassing any Preview or PDF version of the report in Oracle 10g. I am using Linux. We just installed the printer on the server. I modified to the uiprint.txt file under the ORACLE_HOME/tk/admin to point to the new PPD that we copied for that printer to ORACLE_HOME/guicommon/tk/admin/PPD.
    Below is the report call I am making. I just want to verify that what I did was correct. I am currently receiving a FRM-41214: Unable to run Report. When I run the same report via the PDF option that displays in a separate browser window, it brings the same report up correctly.
    SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_FILENAME, LOWER(:MODULE.MODULE_NAME)||'.rep');
    SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_SERVER, 'rep_inpp37_gt');
    SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_OTHER, V_OTHER);
    -- V_OTHER is my parameters that I pass, such as PARAMFORM=NO, READONLY=yes, PAGESIZE, ORIENTATION, DELIMITER=NONE, and parameters which in this case there are none.
    SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_DESTYPE, PRINTER);
    SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_DESNAME, 'gt-ybs-p'); - this is my printer name
    V_REP := RUN_REPORT_OBJECT('GENERICREPORT');
    When it runs the V_REP line, that's when I get the FRM-41214 error. Just was wanting to verify if what I had passed for the printer commands is correct.
    Chris

    I forgot one important piece which is why I am asking the question. I am running the report within an Oracle 10g form. I pass all the parameters across to the Reports Server, as seen above. When I run via the PDF option, I just change the DesType to Cache and DesFormat =PDF. When I run with this, it works and displays the report in a new browser window.
    I just want to run the report with the exact same parameters but instead of generating a PDF, I want to run the report and send it directly to the printer without previewing it.
    Chris

  • How to print directly to printer using USB and Bluetooth from Java (J2ME) app.

    I write mobile phone apps in Java (J2ME). I want to print directly to a printer via USB and via Bluetooth. I cannot use a print job with the Java available to me. Once upon a time you could just send text and print control characters to a printer. I would like to be able to do that again. Alternatively could you provide a 'skeleton' data stream into which I could insert my code to produce what is sent to the printer when a print job is used with Java on a laptop or PC. I just want to sent simple text with a little formatting. 

    Hi,
    As far as printing to devices not all devices support Bluetooth. Many devices support Bonjour protocal, IPP. The main print port is 9100. Additionally you can see what IO protocols are supported on a product by looking at the EWS (Embedded WebServer) there should be a networking page with that information.  Port 9100 is your basic print port and different devices will support different formats (PDF, JPEG, PCL5, PCL6). If there is an API you can find (i am not familiar with J2ME availible calls, then you can use those and send the data to port 9100. Again that is the basic path most printers will accept. not all devices support bonjour not all device support bluetooth etc... Hope that helps and good luck.
    I am an HP Employee.

Maybe you are looking for

  • Interface frozen with images loaded with Loader()

    Hi all, I am trying to create a web app that allows the user to load an image from a local folder and process it with some image processing. I was able to do that with FileReference and Loader. I am using an asynchronous shader to process the image a

  • Eliminating extra spacing around small charts

    Hello. I want to create a bunch of very small, SVG charts on my page. Preferred chart size will be 100x100. When I attempt to accomplish this, all the space is taken up by the 'extras' around the chart (i.e. header, x axis, y axis, etc) and their cor

  • Mac Mini into TV

    is it possible to buy a new mac mini and use my tv as display, it only has scart, composite video and s-video connections? I wanted to use it as a media centre but im not sure if i can as my tv doesnt have great connections. any help is greatly appre

  • Adobe Flash Player Settings

    When I go to a site that has a video to accompany the story, the Adobe Flash Player Settings window pop up, as depicted in the print screen image below.  See below the image to learn of my problem and question. I don't know how to stop this from popp

  • Changing row height

    Hi, In an AdvancedDataGrid, is it possibe for the user to increase or decrease the row height by dragging/pulling the separations/dividers between the rows with mouse? This is similar to what we can do in an Excel sheet. If it is possible, can anyone