Print a report from Application Express direct to a CUPS Printer

Hi all, I'm new to this technology, is it possible to print a report from Application Express directly to a CUPS Printer? Can someone tell me in laymans terms how to do it? I find the terminology and documentation less than helpful.

Jeremy,
BI Publisher handles submitting reports directly to a CUPS printer. However, the APEX integration doesn't currently integrate with that portion of BI Publisher.
Here's an options:
Use the Java API of BI Publisher to build a custom Java program that would do this for you. Delivering to CUPS is part of the Java API.
Bryan

Similar Messages

  • Problem using Interactive Report  in Application Express 3.2.1.00.11

    Hi All ,
    I am using Interactive Report in Application Express 3.2.1.00.11
    I have made report as editable by using following query
    Select ROWID,
    APEX_ITEM.CHECKBOX(1,IDSKILL,'UNCHECKED') "Mark",
    APEX_ITEM.TEXT(2,IDSKILL)"IDSKILL",
    APEX_ITEM.TEXT(3,SKILL) "SKILL",
    APEX_ITEM.SELECT_LIST_FROM_LOV(4,IDBEARBEITER,'DIR_LOV'),
    APEX_ITEM.TEXT(5,ÄNDERUNGSDATUM)"ÄNDERUNGSDATUM"
    from SKILLS
    Problem :-
    When I click FILTER option in Interactive Report , It is taking under Expression "<input type="text" name="f03" size="20" maxlength="2000" value="ARIS" />" and displaying in search filter as
    Skill = '<input type="text" name="f03" size="20" maxlength="2000" value="ARIS" />'
    Can I make display like Skill ="ARIS"
    Any suggestion is welcom ..
    Thanks in advance
    Cheers
    Sachin Srivastava

    Hi,
    As I know there is no fix/workaround for that.
    Disable filtering and other stuff is only. But I think you of course like have filters and other nice thing of interactive report. Other vice you have done classic report.
    It is better use classic report and build own custom filers.
    Br, Jari

  • Oracle Problem using Interactive Report in Application Express 4

    Hi All ,
    I am using Interactive Report in Application Express 3.2.1.00.11
    I have made report as editable by using following query
    Select ROWID,
    APEX_ITEM.CHECKBOX(1,IDSKILL,'UNCHECKED') "Mark",
    APEX_ITEM.TEXT(2,IDSKILL)"IDSKILL",
    APEX_ITEM.TEXT(3,SKILL) "SKILL",
    APEX_ITEM.SELECT_LIST_FROM_LOV(4,IDBEARBEITER,'DIR_LOV'),
    APEX_ITEM.TEXT(5,ÄNDERUNGSDATUM)"ÄNDERUNGSDATUM"
    from SKILLS
    Problem :-
    When I click FILTER option in Interactive Report , It is taking under Expression "<input type="text" name="f03" size="20" maxlength="2000" value="ARIS" />" and displaying in search filter as
    Skill = '<input type="text" name="f03" size="20" maxlength="2000" value="ARIS" />'
    Can I make display like Skill ="ARIS"
    Any suggestion is welcom ..

    Try making your column definition as "Remove HTML and escape special characters".
    I tried it and it make the column appear as editable as intended and also clicking on the column heading or on the filter in the IR bar behave properly.

  • REP - 300 Error while executing report from Application

    Hi,
    I have report in Report Builder & for the same report form is there in Form Builder in which parameter page is designed. From application where I am calling report is internally calling form & in form Procedure Run Report is there which is calling report from Report Builder. Both report from builder & form form Builder are compiled . Also query is executing fine in Toad without error. Also all query fields are present in database.
    But when I am trying to excute report from Application it is giving error as "REP - 300 Invalid Identifier " & it displays whole query.
    Note - Report & it's Form are in ORACLE - 10g. Also the user through which I am executing report from application is ADMIN user , so it has executing permission.

    looks like error in parameters. check out the value of variable that you are passing through to report from form. Put a messages to see variable values before execute report.

  • Calling Java Applet from application express demo

    Hi,
    i found many topics about calling java applets in/from application express,
    but I need a demo to learn how it works.
    Does anybody know a downloadable demo where I can learn to write a java applet, storing in my application an calling from a button?
    thx
    Gerhard

    .

  • Referencing custom folders within the EUL from Application Express

    Hello,
    Is there a way to reference custom SQL folders built and contained on the Discoverer EUL from Applications Express?
    Has anyone done this before?
    Regards,
    Jeff

    Got it...

  • How to print report From Oracle form directly on printer

    Hi,
    I am running report from form and output should be directly printed on printer.
    Database: 11g Release2
    Forms version : 11.1.2
    Report version : 11.1.2
    OS: windows 7 professional 32 Bit
    Written following code:
    declare
    pl_id ParamList;
    varno number;
    x VARCHAR2(150);
    y NUMBER;
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    begin                
    pl_id := Get_Parameter_List('tmpdata');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List( pl_id );
    END IF;
    repid := FIND_REPORT_OBJECT('SALEBILLNEW'); -- report object name
    pl_id := Create_Parameter_List('tmpdata');
    Add_Parameter(pl_id,'copies',TEXT_PARAMETER,'1');
    Add_Parameter(pl_id,'background',TEXT_PARAMETER,'Yes');
    Add_Parameter(pl_id,'mode',TEXT_PARAMETER,'Character');
    Add_Parameter(pl_id,'printjob',TEXT_PARAMETER,'YES');
    Add_Parameter(pl_id,'VCOMPANY',TEXT_PARAMETER,:block50.coname);
    Add_Parameter(pl_id,'VCOde',TEXT_PARAMETER,:block50.code);
    Add_Parameter(pl_id,'VOURBILLNO',TEXT_PARAMETER,:BLOCK50.FROMBILL);
    Add_Parameter(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');
    Add_Parameter(pl_id,'DESTYPE',TEXT_PARAMETER, 'PRINTER') ;
    Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER, 'OKI MICROLINE 391 TURBO (COPY1) on NILESH-PC') ; --default printer name
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,RUNTIME);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,PRINTER);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rep_adminserver_inorasrv-pc_asinst_3');
    y := LENGTH ('rep_adminserver_inorasrv-pc_asinst_3') + 2;
    x := RUN_REPORT_OBJECT (repid, pl_id);
    WEB.SHOW_DOCUMENT('http://inorasrv-pc:7001/reports/rwservlet/getjobid'||SUBSTR(x,y)||'?server=rep_adminserver_inorasrv-pc_asinst_3&userid=scott/tiger@winorasr');
    Destroy_parameter_list('tmpdata');
    end;
    Above code giving following error:
    REP-52251: The output of job ID 111 requested on Thu Oct 18 18:37:20 IST 2012 cannot be retrieved.<P>REP-51026: No output is generated for job 111.
    Need help..
    Thanks in advance.

    Hi,
    I have change the printer name to OKI
    Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER, '\\Nilesh-pc\OKI') ;
    Add_Parameter(pl_id,'DESFORMAT',TEXT_PARAMETER, 'dflt.prt');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,'\\Nilesh-pc\OKI');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'dflt.prt');
    code which i have posted above unable to reach at default printer and gives following error
    The report generated successfully but distribution to destinations failed.
    Modified above code to take default printer from registry.
    Added below code
    rtn_Registry := CLIENT_WIN_API_ENVIRONMENT.Read_Registry('HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows','Device');
    rtn_defaultPrinter := substr(rtn_Registry,1,instr(rtn_Registry,',',1)-1);
    Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER, 'rtn_defaultPrinter') ;
    It is giving error
    CLIENT_WIN_API_ENVIRONMENT.Read_Registry must be declare.
    Edited by: parapr on Oct 20, 2012 10:47 PM

  • Inserting values in a table from a view report in Application Express

    Hello.
    I have several tables with the sql bellow:
    Employee
    CREATE TABLE "Employee"
    (     "Employee_ID" NUMBER,
    "Name" VARCHAR2(12) CONSTRAINT "NAME_EMPLOYEE_NN" NOT NULL ENABLE,
    "Surname" VARCHAR2(10) CONSTRAINT "SURNAME_EMPLOYEE_NN" NOT NULL ENABLE,
    "Address" VARCHAR2(50) CONSTRAINT "ADDRESS_EMPLOYEE_NN" NOT NULL ENABLE,
    "Telephone" VARCHAR2(10),
    "Personal_ID_Number" VARCHAR2(13),
    "Date_of_Employment" VARCHAR2(10) CONSTRAINT "DATA_NN" NOT NULL ENABLE,
    "Salary" NUMBER(6,0),
    CONSTRAINT "Employee_ID_con" PRIMARY KEY ("Employee_ID") ENABLE,
    CONSTRAINT "Employee_CON" UNIQUE ("Personal_ID_Number", "Telephone") ENABLE
    Patient
    CREATE TABLE "PATIENT"
    (     "Patient_ID" NUMBER,
         "Name_Patient" VARCHAR2(13) CONSTRAINT "NAME_PAT_NN" NOT NULL ENABLE,
         "Surname_Patient" VARCHAR2(10) CONSTRAINT "SURNAME_PAT_NN" NOT NULL ENABLE,
         "ADSRESS_PATIENT" VARCHAR2(50),
         "TELEPHONE_PATIENT" VARCHAR2(10) CONSTRAINT "TEL_PAT_NN" NOT NULL ENABLE,
         "EMPLOYEE_ID" NUMBER CONSTRAINT "DENTIST_PAT_NN" NOT NULL DISABLE,
         CONSTRAINT "PK_PATIENT" PRIMARY KEY ("PATIENT_ID") ENABLE,
         CONSTRAINT "PACIENT_CON" UNIQUE ("TELEFON_PACIENT") ENABLE
    ALTER TABLE "PATIENT" ADD CONSTRAINT "PATIENT_CON3" FOREIGN KEY ("Employee_ID")
         REFERENCES "Dentist" ("Employee_ID") ON DELETE SET NULL ENABLE
    Appointment
    CREATE TABLE "Appointment"
    (     "Appointment_ID" NUMBER,
         "Employee_ID" NUMBER CONSTRAINT "NN_Dentist_Appointment" NOT NULL ENABLE,
         "Patient_ID" NUMBER CONSTRAINT "NN_PATIENT_Appointment" NOT NULL ENABLE,
         "Who_Made" NUMBER,
         "Who_Changed" NUMBER,
         "Who_Canceled" NUMBER,
         "Content" VARCHAR2(1000),
         "DATE" DATE,
         CONSTRAINT "PK_Appointment" PRIMARY KEY ("Appointment_ID") ENABLE
    ALTER TABLE "Appointment" ADD CONSTRAINT "Appointment_CON" FOREIGN KEY ("Patient_ID")
         REFERENCES "PATIENT" ("Patient_ID") ENABLE
    ALTER TABLE "Appointment" ADD FOREIGN KEY ("Employee_ID")
         REFERENCES "Dentist" ("Employee_ID") ENABLE
    ALTER TABLE "Appointment" ADD FOREIGN KEY ("Who_Made")
         REFERENCES "Employee" ("Employee_ID") ENABLE
    ALTER TABLE "Appointment" ADD FOREIGN KEY ("Who_Changed")
         REFERENCES "Employee" ("Employee_ID") ENABLE
    ALTER TABLE "Appointment" ADD FOREIGN KEY ("Who_Canceled")
         REFERENCES "Employee" ("Employee_ID") ENABLE
    Dentist
    CREATE TABLE "Dentist"
    (     "Employee_ID" NUMBER,
    "Qualifications" VARCHAR2(50),
    CONSTRAINT "RB_VRAB_STOMATOLOG_PK" PRIMARY KEY ("Employee_ID") ENABLE
    ALTER TABLE "Employee_ID" ADD CONSTRAINT "Dentist_CON" FOREIGN KEY ("Employee_ID")
    REFERENCES "Employee" ("Employee_ID") ON DELETE CASCADE ENABLE
    I'm trying to make an application in Oracle Application Express and I've tried making an SQL report using the following SQL query:
    CREATE OR REPLACE FORCE VIEW "Appointment_REPORT" ("DOCTOR", "PATIENT", "Content", "Date") AS
    select concat(concat(v.name,' '),v.surname) as doctor, concat(concat(pa.name_patient,' '),pa.surname_patient) as pactent, p.content, p.date
    from Appointment p, Amployee v, Patient pa
    where
    v.employee_id=p.employee_id
    and p.patient_id=pa.patient_id
    The SQL works fine and gives me lovely results in my report. However, I don't know how to link the SQL to my actual Appointment table. Deleting, updating or creating new appointments through this view is impossible because I get the following error Unexpected error, unable to find item name at application or page level.
    I understand how to make a form on the Appointment table but given how that table contains lots of primary keys (numbers) it's not preferable for the user to have to deal with that.
    Can I have some help with linking the two and making it functional?
    Thanks in advance.

    982909 wrote:
    Hello.
    I have several tables with the sql bellow:You are digging yourself a DEEP hole by using double quote marks & Mixed Case table & column names!
    >
    CREATE TABLE "Appointment"
    (     "Appointment_ID" NUMBER,
         "Employee_ID" NUMBER CONSTRAINT "NN_Dentist_Appointment" NOT NULL ENABLE,
         "Patient_ID" NUMBER CONSTRAINT "NN_PATIENT_Appointment" NOT NULL ENABLE,
         "Who_Made" NUMBER,
         "Who_Changed" NUMBER,
         "Who_Canceled" NUMBER,
         "Content" VARCHAR2(1000),
         "DATE" DATE,
    AVOID using Reserved Words like "DATE" as column or table names!
    >
    I'm trying to make an application in Oracle Application Express and I've tried making an SQL report using the following SQL query:
    CREATE OR REPLACE FORCE VIEW "Appointment_REPORT" ("DOCTOR", "PATIENT", "Content", "Date") AS
    select concat(concat(v.name,' '),v.surname) as doctor, concat(concat(pa.name_patient,' '),pa.surname_patient) as pactent, p.content, p.date
    from Appointment p, Amployee v, Patient pa
    where
    v.employee_id=p.employee_id
    and p.patient_id=pa.patient_id
    The SQL works fine and gives me lovely results in my report. However, I don't know how to link the SQL to my actual Appointment table. Deleting, updating or creating new appointments through this view is impossible because I get the following error Unexpected error, unable to find item name at application or page level.
    I understand how to make a form on the Appointment table but given how that table contains lots of primary keys (numbers) it's not preferable for the user to have to deal with that.
    Any table can have only ONE Primary Key.
    Can I have some help with linking the two and to which "two" do you refer?
    making it functional?Since you have told us what functionality is desired or expected,
    I don't know what might be a solution.

  • Code 128 Barcode printed from Application Express

    Hi,
    My colleague and I have written a procedure to generate Code128 Barcodes. These appear fine on the screen within Application Express 3. But when we export the file as an RTF or PDF document to our BI_Publisher server running under LINUX RedHat the Barcodes are greyed out and cannot be seen.
    Anyone any ideas on how to solve this? It is extremely irritating only to be able to offer our users the ability to print the Application Express page off rather than a proper document.
    Thanks

    Hi kcbemssr,
    I don't know weather you can see this reply, but i still want to say something about this.
    Did you used another type of code 128?
    you can try this. and here is a site i recommand you, it's all about barcode, you can get code 128
    [Content Removed]

  • Report in application express

    Hi all. I'm new in oracle application express; I came from oracle forms.
    I've got a question: can be a report or interactive report multidimensional??
    Thanks all for collaboration,
    Fabrizio

    Here is what i mean: if i have to plot my data on a Y-X diagram i have 2 dimensions (my universe is a plan); in the case of a X-Y-Z diagram i have 3 dimensions (a cube), and so on.... i would like to manage sets of data with a generic number of dimensions (axis).
    Thanks, Fabrizio

  • Error while running Crystal Reports from application

    Hi,
    I am getting the below error when I try to run Crystal Reports from my application.
    There are no Page Servers connected to the Cache Server or all connected Page Servers are disabled or all connected Page Servers are not part of the specified server group. Please try to reconnect later.
    I am able to preview the reports in CMC and Infoview, but when I try to run the same report via my application the above error pops up.
    Sometimes I get a different error:
    The Page Server you are trying to connect to is not accessible. Please contact your system administrator.
    Looks like some configuration settings are missing/ corrupted.
    I tried to look in a number of websites... tried few workarounds, but none seems to be working.
    Any help is highly appreciated.
    Meena
    Edited by: meenakshitikoo1 on Apr 19, 2011 12:46 PM

    Check the following SAP note
    https://service.sap.com/sap/support/notes/1032461
    Regards,
    Stratos

  • Cross tab reports in application express

    Hi,
    Can a cross tab report be generated with the help of Oracle Application Express?
    Lavina

    Lavina - you can cheat and create a very simple report like this:
    Use a PL/SQL dynamic region. Within your PL/SQL, query the database to get the data in rows rather than columns (which is normally much easier and allows the number of items to be dynamic) and set a cursor on the result.
    Start an HTML TABLE block, loop through the cursor once for each column of the resultset and output each row as a table column (i.e. 'sideways', with td tags rather than tr tags, or th tags for the first). You can also put in CSS formatting etc., then close off the table at the end. The idea here is that you build up an HTML table with your data in the cells, and pass it back to the browser using an htp.p() call.
    It's a bit crude, and you don't get any of the APEX stuff that goes with the report, but it's OK for very simple reports. We use this technique for creating reports that show the data that was used to generate charts.
    John.

  • Forms and reports on Application Express

    Hi:
    Is it possible to import regular forms and reports( .fmb and .rdf) into the application express and run in the database xe/application express environment?

    Hello,
    Not yet possible...
    What you could do is run the Form in an iframe, but if you talk about migrating the forms and reports, the APEX Dev team is working on that.
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://www.apex-evangelists.com/
    -- http://www.apexblogs.info/
    Message was edited by:
    Dimitri Gielis@AE

  • Is it possible to execute a stored procedure from application express?

    I have created a pl/sql application now I would like to give it a front end, I am new to application express.
    My application depends on running a couple of pl/sql procedures that modify data.
    What I need is my user to be able to execute the procedures from the application in a browser, is it possible to run a pl/sql procedure from an application express application in a browser?
    how would I go about doing this?
    thank you very much.
    Ramiro

    You sure can.
    If you want to run a PL/SQL procedure/package/function from the URL, create a specific DAD entry just for that (Oracle) user, and give that user EXECUTE permissions on the procedure. Then just use the new DAD with the procedure name, like http://myserver.somewhere.com/MyNewDAD/Schema_Owner.MyPackage.MyProcedure?InParameter=MyParameter)
    Of course, the above line will need heavy modification on your end, but I do this in my app, but I actaully pass it through a javascript attached to a button which then opens it in a new window.
    If instead, all you want to do is execute a procedure with ApEx as part of a validation or process or something, select the PL/SQL 'Region' (or process, whatever it is you want to do), and then write it as an anonymous block:
    begin
    MyProcedure;
    end;
    Bill Ferguson

  • Need to generate XML report  (when user clicks the button)from Application Express 4.0.0.00.46

    I am new to Apex so I invoke all the APEX GURUS to help me !!!
    Here are details.
    When the user hits a button from APEX page he can download an XML report
    here is the parameterized SQL query:

    Duplicate thread: https://community.oracle.com/message/11325665

Maybe you are looking for

  • N90 video clips failure?

    Hi everybody! I'm new here, just registered. I have a problem and here it is: I tried to transfer some of my favourite video clips on the phone, but I encountered a problem, I can't watch them. Has anybody an idea how can I make it work? On my laptop

  • Data Manager not running scripts

    Dear Experts, I've followed one of the "How to pass parameters to BPC scripts" guide and created a Process Chain to run scripts. The whole thing didn't go as smooth as expected and I'm not sure which part went wrong. As I'm having trouble validating

  • HT1414 NO SERVICE PROBLEM IN MY IPHONE

    my iphone network is show no service (so that my iphone not support any service provider  sim)

  • My clock is getting slower...

    I noticed during the last month that the system clock is getting behind right now all the time about 4 minutes. Shouldn't this be updated through the internet correctly?

  • Error while installing CE 7.1 - Cannot determine parameter SAPGLOBALHOST

    Hello All, I am currently installing preview version on CE 7.1 and got the following error. "Cannot determine parameter SAPGLOBALHOST from default profile C:\usr\sap\CE1\SYS\profile\DEFAULT.PFL. SOLUTION: Add the parameter to the default profile." An