Very urgent !!!!!  printing on network printer using pl/sql

How can i automatically print the output on printer using pl/sql (procedures)

Hi,
Can you give some more details about your Network and hardware environment. Also give some more details about what Oracle products you are using.
Regards.
Yogesh D.

Similar Messages

  • My printers have become all of a sudden very slow over my network when used with my Macbook. What could this indicate ?

    My two printers on my network (HP 8500 All in one Officejet and Lexmark Pro 805)  have become very slow with processing and printing my documents. When printing, they have also made it not possible to do other applications on my Macbook until finished printing. WHat does ths point in the direction of ?

    Empty your print queue of excess print jobs that didn't go through.
    If you are within 1500 feet (500 meters) of someone who might connect wirelessly, make sure any wireless network you have is WPA2 encrypted, and not using 802.11b.  Reboot the printers, and any routers they may be connected to.

  • Very Urgent Unable to Launch Application using Web Start using JDK 1.4.2

    Hi all
    I am very serious issue i have ejb client swing application that uses
    RMI to contact a session bean deployed in JBoss now i want the client app to be installed in the client machine using web start . Also i understand i require security permission to access network resources. so i have signed all the JAR files with same certificate created using self certificate avialiable in JDK by default also in the JNLP file in have included the following tag
    <security>
    <all-permissions/>
    </security>
    Now when I launch my application using Web start it gives an error that " Unsigned application is trying to access local resources"
    I unable to understand what could be the problem . Please help me with the steps to be followed where in client should be able to RMI call to the server
    Thanks in Advance
    Naveen

    You may have tried this already, but you might have to sign the jars via command line, outside any export process from your IDE.
    $ jarsigner {filename}.jar {key from keystore}
    I also had problems using webstart and RMI through an RCP
    Ben

  • How to get the total numbers of pages have been printed using pl/sql

    Dear All ,
    I want to store the total number of physical pages printed into a database table,, how could I retrieve the value of the total number of pages .
    I am using Oracle Report 6i
    thnxxx in advance :)

    At the end of your report (i.e. after all the frames from your data model) place a dummy field. You can get the page number with srw.get_page_num in the format trigger of this field. Since this is the last field of your report, this is also the last page number.

  • Very Urgent - Problem in showing JPopupMenu using 1.4 plugin

    Hello ,
    I have a very different problem with JPopupMenu. I have developed a new PopupMenu extending the MetalComboPopup used by the MetalComboBoxUI. I have registered with the JPopupMenu for the callback methods popupMenuWillBecomeVisible && Invisible(). I have an applet which instantiates (3 instances) my JComboBox. When I run the applet using the JDK1.4 plugin, when I click the second JComboBox, the first and the second JComboBox's popups appear at the same time. I am unable to suppress the popup (i.e Only one popup should appear at a time).
    Can anybody help me out in this issue.
    If you have a solution you can email to me -> [email protected] /
    [email protected]
    Thankx in advance,
    SS

    Did you try changing the driver then?
    Please use Oracle's thin driver instead of the oci driver.
    There are many advantages of using the type 4 driver. the first and foremost being that it does not require oracle client side software on your machine. Therefore no enteries to be made in tnsnames.ora
    The thin driver is available in a jar called classes112.zip the class which implements the thin driver is oracle.jdbc.driver.OracleDriver
    the connection string is
    jdbc:oracle:thin:@<machine name>:1521:<sid>
    please try out with the thin driver and let me know.
    regards,
    Abhishek.

  • Printing using a SQL Command

    I am using the following code and it does not work neither does it goes to the "Catch ex As Exception" part.
    Please Help
    Try
             Dim ds As New DataSet()
             Dim MySql As String
             MySql = "Select JOBNO,CLNAME,ADD1,ADD2,TEL,CELL,TECH,REM1 FROM JOB WHERE JOBNO='" & strCode & "'"
             MyCn.Open()
             Dim Cmd2 As New OleDbDataAdapter(MySql, MyCn)
             Cmd2.Fill(ds, "JOB")
             Dim cryRpt As New ReportDocument
             cryRpt.Load("C:\NAC\Job2.rpt")
             cryRpt.SetDataSource(ds.Tables(1))
             CrystalReportViewer1.ReportSource = cryRpt
             CrystalReportViewer1.Refresh()
             CrystalReportViewer1.PrintReport()
             Cmd2.Dispose()
    Catch ex As Exception
             MessageBox.Show("Cannot open Job Card Files...")
    End Try
    Navin

    Hi Navin Balkissoon,
    According to your description, Your question is related to Crystal reports, It is not supported here.
    You could consider posting it in its official forum for supports. Thanks.
    http://scn.sap.com/community/crystal-reports/#
    Best regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • VERY URGENT!! How to Pass a "% " symbol from form to Report

    Hi
    I am using oracle 10g and passing a symbol "%" as a parameter to the report from a form. But it shows error as follows:
    REP-52006: Failed to decode the specified URL PARAMETER1=%.
    But it is working when it runs in the Report directly.
    Then Why we can't pass the symbol "%" to the report from form.
    Please reply me as soon as possible. IT IS VERY URGENT !!

    Hi,
    Try using a lexical parameter(&parm_1) for a string of values or a bind parameter(:parm_1) for a single value
    Thanks,
    Kimosabe

  • Very URGENT : BAPI_ROUTING_CREATE Component Allocation

    Hi All,
    I want to create a routing using BAPI. I tried using BAPI_ROUTING_CREATE, it is creating operations without any problem.
    But when I want to assign an Operation/Activity to a Component through New Assignment in Component Allocation through BAPI, it is not assigning.
    Please let me know what fields should be passed to the Component Allocation Table in the BAPI.
    Please help me as it is very URGENT.
    Reward Points for useful answers
    Thanks,
    Harish

    Hi,
    The componenet allocation will take automatically if you have the BOM created for the Material for which you are creating the Routing.
    It will not add the new components.
    i too tried but lot of problems with this BAPI.
    I prefered recording.
    Reward points if it is helpful.

  • Insp.plan(very urgent)

    hi experts,
    plz give reply for this thread it  is  very urgent
    My scenario:
    I am using 02 insp type.initially i want to post the material (w/o purchase order).
    I want to inspect the material(ROH) while issuing the production.for this what type of settings to do.in which stock type i have to post the roh.
    i  have created  insp.plan with 06  type for ROH.insp lots  are forming but without results recording and       ud i am able              to  do everything to that prodn.order.i need it should restrict .
    regards.
    plz clarify this i will reward u and close this thread

    Hi Prasad,
    I think you`ve done all the things needed. But one thing you need to remember is that 02 inspection is non-stock relevent similar to in-process inspection. It means you can do record results  and take ud, but you cannot do any stock posting. Hope you got it cleared.
    Keerthi

  • Huge memory leaks in using PL/SQL tables and collections

    I have faced a very interesting problem recently.
    I use PL/SQL tables ( Type TTab is table of ... index by binary_integer; ) and collections ( Type TTab is table of ...; ) in my packages very widely. And have noticed avery strange thing Oracle does. It seems to me that there are memory leaks in PGA when I use PL/SQL tables or collections. Let me a little example.
    CREATE OR REPLACE PACKAGE rds_mdt_test IS
    TYPE TNumberList IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;
    PROCEDURE test_plsql_table(cnt INTEGER);
    END rds_mdt_test;
    CREATE OR REPLACE PACKAGE BODY rds_mdt_test IS
    PROCEDURE test_plsql_table(cnt INTEGER) IS
    x TNumberList;
    BEGIN
    FOR indx IN 1 .. cnt LOOP
    x(indx) := indx;
    END LOOP;
    END;
    END rds_mdt_test;
    I run the following test code:
    BEGIN
    rds_mdt_test.test_plsql_table (1000000);
    END;
    and see that my session uses about 40M in PGA.
    If I repeat this example in the same session creating the PL/SQL table of smaller size, for instance:
    BEGIN
    rds_mdt_test.test_plsql_table (1);
    END;
    I see again that the size of used memory in PGA by my session was not decreased and still be the same.
    The same result I get if I use not PL/SQL tables, but collections or varrays.
    I have tried some techniques to make Oracle to free the memory, for instance to rewrite my procedure in the following ways:
    PROCEDURE test_plsql_table(cnt INTEGER) IS
    x TNumberList;
    BEGIN
    FOR indx IN 1 .. cnt LOOP
    x(indx) := indx;
    END LOOP;
    x.DELETE;
    END;
    or
    PROCEDURE test_plsql_table(cnt INTEGER) IS
    x TNumberList;
    BEGIN
    FOR indx IN 1 .. cnt LOOP
    x(indx) := indx;
    END LOOP;
    FOR indx in 1 .. cnt LOOP
    x.DELETE(indx);
    END LOOP;
    END;
    or
    PROCEDURE test_plsql_table(cnt INTEGER) IS
    x TNumberList;
    empty TNumberList;
    BEGIN
    FOR indx IN 1 .. cnt LOOP
    x(indx) := indx;
    END LOOP;
    x := empty;
    END;
    and so on, but result was the same.
    This is a huge problem for me as I have to manipulate collections and PL/SQL tables of very big size (from dozens of thousand of rows to millions or rows) and just a few sessions running my procedure may cause server's fall due to memory lack.
    I can not understand what Oracle reseveres such much memory for (I use local variables) -- is it a bug or a feature?
    I will be appreciated for any help.
    I use Oracle9.2.0.1.0 server under Windows2000.
    Thank you in advance.
    Dmitriy.

    Thank you, William!
    Your advice about using DBMS_SESSION.FREE_UNUSED_USER_MEMORY was very useful. Indeed it is the tool I was looking for.
    Now I write my code like this
    declare
    type TTab is table of ... index binary_integer;
    res TTab;
    empty_tab TTab;
    begin
    res(1) := ...;
    res := empty_tab;
    DBMS_SESSION.FREE_UNUSED_USER_MEMORY;
    end;
    I use construction "res := empty_tab;" to mark all memory allocated to PL/SQL table as unused according to Tom Kyte's advices. And I could live a hapy life if everything were so easy. Unfortunately, some tests I have done showed that there are some troubles in cleaning complex nested PL/SQL tables indexed by VARCHAR2 which I use in my current project.
    Let me another example.
    CREATE OR REPLACE PACKAGE rds_mdt_test IS
    TYPE TTab0 IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;
    TYPE TRec1 IS RECORD(
    NAME VARCHAR2(4000),
    rows TTab0);
    TYPE TTab1 IS TABLE OF TRec1 INDEX BY BINARY_INTEGER;
    TYPE TRec2 IS RECORD(
    NAME VARCHAR2(4000),
    rows TTab1);
    TYPE TTab2 IS TABLE OF TRec2 INDEX BY BINARY_INTEGER;
    TYPE TStrTab IS TABLE OF NUMBER INDEX BY VARCHAR2(256);
    PROCEDURE test_plsql_table(cnt INTEGER);
    PROCEDURE test_str_tab(cnt INTEGER);
    x TTab2;
    empty_tab2 TTab2;
    empty_tab1 TTab1;
    empty_tab0 TTab0;
    str_tab TStrTab;
    empty_str_tab TStrTab;
    END rds_mdt_test;
    CREATE OR REPLACE PACKAGE BODY rds_mdt_test IS
    PROCEDURE test_plsql_table(cnt INTEGER) IS
    BEGIN
    FOR indx1 IN 1 .. cnt LOOP
    FOR indx2 IN 1 .. cnt LOOP
    FOR indx3 IN 1 .. cnt LOOP
    x(indx1) .rows(indx2) .rows(indx3) := indx1;
    END LOOP;
    END LOOP;
    END LOOP;
    x := empty_tab2;
    dbms_session.free_unused_user_memory;
    END;
    PROCEDURE test_str_tab(cnt INTEGER) IS
    BEGIN
    FOR indx IN 1 .. cnt LOOP
    str_tab(indx) := indx;
    END LOOP;
    str_tab := empty_str_tab;
    dbms_session.free_unused_user_memory;
    END;
    END rds_mdt_test;
    1. Running the script
    BEGIN
    rds_mdt_test.test_plsql_table ( 100 );
    END;
    I see that usage of PGA memory in my session is close to zero. So, I can judge that nested PL/SQL table indexed by BINARY_INTEGER and the memory allocated to it were cleaned successfully.
    2. Running the script
    BEGIN
    rds_mdt_test.test_str_tab ( 1000000 );
    END;
    I can see that plain PL/SQL table indexed by VARCHAR2 and memory allocated to it were cleaned also.
    3. Changing the package's type
    TYPE TTab2 IS TABLE OF TRec2 INDEX BY VARCHAR2(256);
    and running the script
    BEGIN
    rds_mdt_test.test_plsql_table ( 100 );
    END;
    I see that my session uses about 62M in PGA. If I run this script twice, the memory usage is doubled and so on.
    The same result I get if I rewrite not highest, but middle PL/SQL type:
    TYPE TTab1 IS TABLE OF TRec1 INDEX BY VARCHAR2(256);
    And only if I change the third, most nested type:
    TYPE TTab0 IS TABLE OF NUMBER INDEX BY VARCHAR2(256);
    I get the desired result -- all memory was returned to OS.
    So, as far as I can judge, in some cases Oracle does not clean complex PL/SQL tables indexed by VARCHAR2.
    Is it true or not? Perhaps there are some features in using such way indexed tables?

  • MacBook Air defaults to "last printer used", not the printer that is on the available network

    Hello
    I have searched the forum and not found a discussion of a problem exactly like mine...which is not as frustrating as not being able to print, but slightly burdensome nonetheless. I have a MacBook Air with OSX 10.6.8. I use the machine in two different places, each with a wireless network, and each network has one printer connected to it. However, these are not and have not been set up as different "locations". In the past, when I printed a document the machine would correctly, and automatically, choose which printer to print to based on which network it was connected to. Now, it defaults to "last printer used" (the only choices are this, and the two printers, but none of these choices works in my setup as I go back and forth between the two different places almost daily). My machine does see both printers and if I manually change the printer when I move around, I can print so it is not an issue of the machine not connecting to the printer. Is there a way for my machine to automatically detect which printer it should print to, based on which network the machine is connected to? I am quite sure it used to do this before some update.
    Thank you very much

    LowLuster wrote:
    Mac's are no more reliable than any other PC on the market.
    What is your source for this for this statement?  All the surveys that I have seen show significant differences between manufacturers and put Macs at or near the top.
    Macs use the same hardware as all the others.
    There may be SOME common parts, but certainly not all, so your statement lacks accuracy.  In addition, the design and build are other factors that have to be taken into consideration when making comparisons.  Thus there are significant differences between ALL laptops.notebooks.
    Ciao.

  • Unable print scheduled report on network printer using BOEXI 3.0

    Hi,
    I'm unable to print a scheduled report on network printer using BOE XI 3.0. I get the following error
    Error Message: Error in File ~ce6a054be1a25b52.rpt: Request cancelled by the user. ]
    Has anyone encountered this kind of problem and know what the solution is?
    Thanks,

    Hey Falk,
    Thanks for the response.
    I can print on a network printer after I changed 'Crystal Reports Job Server' to run under a user account that has privileges to access the printer.
    To answer your questions regarding the problem:
    >Can you schedule the report successfully ?
    >>Yes I was able to schedule the report successfully
    >Can you print the report successfully?
    >>NO the scheduled task would fail with the error message as posted above.
    Thanks,

  • Very URGENT -- How to make keyboard print

    This is very urgent. How to make the keyboard print?

    Here is the code. It is supposed to make the keyboard type something.
    This is URGENT.
    public class KeyBoarder
         private int keyPressed;
         public KeyBoarder()
              System.out.println("Welcome to keyboard");
         private void print()
              System.out.println("Keyboarder has printed");
         public static void main(String args[])
              KeyBoarder board = new KeyBoarder();
              board.print();

  • Driver-less network printing using samba

    Hi, I recently re-installed arch on my laptop, which has no printer connected to it.  Before I had been able to print through a printer which i had connected to an ubuntu box on my home network.  All i did to get this working was to install the printer driver on ubuntu, then share the printer using samba.  After i had shared the printer on the ubuntu box, i was able to see it in the Printers section of KDE Control Centre in KDE 3.5.9.  I was then able to use the printer without installing any drivers.
    I've attemped to redo this setup, however i cannot seem to get it working.  If someone could tell me where to look for info on how to do this?
    Thanks

    Hi, I recently re-installed arch on my laptop, which has no printer connected to it.  Before I had been able to print through a printer which i had connected to an ubuntu box on my home network.  All i did to get this working was to install the printer driver on ubuntu, then share the printer using samba.  After i had shared the printer on the ubuntu box, i was able to see it in the Printers section of KDE Control Centre in KDE 3.5.9.  I was then able to use the printer without installing any drivers.
    I've attemped to redo this setup, however i cannot seem to get it working.  If someone could tell me where to look for info on how to do this?
    Thanks

  • HT2250 I have an Apple network utility that with the previous printer (Canon PIXMA iP 5000) found the printer on the Network for use on a wi fi system but a newish printer (Canon MG6150) does not show up as Bonjour.  Is that correct?

    I have an Apple network utility that with the previous printer (Canon PIXMA iP 5000) found the printer on the Network for use on a wi fi system but a newish printer (Canon MG6150) does not show up as Bonjour.  Is that correct?
    paul.kelly

    Hi Steve,
    No expert, but since nobody else has piped in...
    Did you setup the DNS Server IP?

Maybe you are looking for

  • WAMP and Flash Media Server

    I currently have WAMP(Windows, Apache,MySQL,PHP) installed as my primary server; I do not want to change this. What I would like to do is use Flash Media Server as my primary streaming server and be able to host media files on it. I have been informe

  • QT Image Degrades

    Good morning. I recently exported a sequence from FCP using the 'QuickTime Movie' option with 'current settings'. When I play this in FCP (default) all is clear and looks sharp. But when I play the exported sequence using QuickTime there is a very no

  • All music links are lost after installing windows 7!!! HELP!!!

    All music links are lost after installing windows 7!!! HELP!!! I upgraded my system to windows 7 ultimate from Vista and installed itunes 64px. but when I copy the old itunes folder into D://music and opened itunes, all my music cannot be played. eac

  • Member names from a formula

    It looks like this isn't possible, but maybe there is a trick to it. I want to supply SV with a member name using a formula. If I copy and paste special-values SV will pick the member up, but when it's a formula it looks like it just ignores it. Any

  • Clone stamp tool - my "brush" outline has disappeared. How do I get the outline back?

    I have been using the clone stamp tool for a few weeks without any problems, but a few days ago the outline of the brush disappeared.  I can still clone an area and replace the undesired area, however, I can't see the exact area that will be affected