/etc/prtconf command in Linux?

Hi;
I have the command /etc/prtconf(/usr/sbin/prtconf) in Solaris 10.5 , which gives all information about my OS and machine.
i am trying to find the equivalent command (/etc/prtconf) of in Linux OS.
thanks for your collaboration
Regards;
Fafa

On some Linux variants, lshw will provide similar information.

Similar Messages

  • How to schedule jar command on linux in /etc/crontab

    hello ,
    i am facing a problem in scheduling java -jar myjarfilename.jar in crontab in linux .i have tried by giving the command directly in the /etc/crontab entry and running it as a script from the crontab but in vain.please give me some ideas how to schedule this jar command on linux in /etc/crontab.
    thanx

    Stuff the above accept for the STARs read about them;
    This a REAL BASIC senerio. ASSUMING you are paulb the user
    To add a cron job it is BEST to use "crontab"
    1) MAKE SURE YOU CAN USE CRONTAB
    check "/etc/cron.d/cron.deny " does not exist and it does not have your username in it
    If it does, you will have to remove your name somehow or just delete the file.
    2) MAKE YOUR SCRIPT
    using your fav editor like "joe" or "pico" or err "vi" make a textfile called "home/paulb/hiscript.sh"
    This script is just saying hi in sh and then printing a date when it said hi in the dumbhi.log
    --------start of hiscript.sh----------------
    #!/bin/sh
    echo "hi at";date > /home/paulb/dumhi.log;
    --------end of hiscript.sh----------------3) MAKE SCRIPT EXECUTABLE
    run the command
    "chmod +x /home/paulb/hiscript.sh"4) MAKE A CRONTAB FILE FOR YOURSELF
    using your fav editor like "joe" or "pico" or err "vi" make a textfile called "home/paulb/paulb.ct"
    This is EVERY 1 min run that script. See u need to know the commands
    -----start of paulb.ct-------------------------
    1  *  *  *  *   home/paulb/hiscript.sh
    -----end of paulb.ct-------------------------5) ADD THE CRON JOB
    run the command
    "crontab /home/paulb/paulb.ct"All done

  • Apple Remote Desktop - sending SSH commands to linux clients

    Has anyone been able to configure ARD to send SSH commands to linux clients?
    The VNC part works, but not sure how to configure the UNIX commands.
    We are trying to be able to send rpm, df, etc commands to multiple centos clients at one time...
    thanks.

    not sure how to configure the UNIX commands.
    You can't. That's not a feature of ARD.

  • Tr command in Linux

    Hi All,
    I searched internet for the usage of tr command, honestly it is very powerfull when process flat files,
    take text replacement for example
    cat file1.txt | tr "abc" "xyz"
    the output will be that 'a' change to 'X', 'b' to 'Y', 'c' to 'Z'
    but does it support function that can replace "abc" to "xyz", not change them individually?
    Please advise which kind of option should I use for tr or any other command in Linux?
    thanks
    Henry

    How about find and replace with SED, e.g.:
    $ sed -i 's/orig_text/new_text/g' /home/oracle/test.txt
    sed edits "-i" /home/oracle/test.txt in place and replaces "orig_text" with "new_text"
    You can find many examples and tutorials about SED in google e.g.
    http://tldp.org/LDP/Bash-Beginners-Guide/html/chap_05.html

  • Grep Command in Linux

    Hi all,
    I having problem getting the output of grep command in Linux (Red Hat 9.0).
    At the same time, I am able to get the output of cat command.
    Using the output of cat command, I am writing it to a text file and then in another process using grep I am extracting particular line from the text file.
    To get the Process Output I am using a code from http://hacks.oreilly.com/pub/h/1092#thread.
    Below is my code.
    public void getUSBInfo() {     
           try{
                  String catCommand =  "cat /proc/bus/usb/devices";
                  System.out.println("catCommand is : "+catCommand);
                  Process p = Runtime.getRuntime().exec(catCommand);
                  usbInfoBuffer = new StringBuffer("");
                  InputStream inStream = p.getInputStream();
                  new InputStreamHandler( usbInfoBuffer, inStream ); 
                                  // InputStreamHandler is the class used to read the console output.
                  StringBuffer errBuffer = new StringBuffer();
                  InputStream errStream = p.getErrorStream();
                  new InputStreamHandler( errBuffer , errStream );
                  p.waitFor();
                  catCommandOutput = usbInfoBuffer.toString();
                  System.out.println("USB Info : " +catCommandOutput);
                  String fileCat ="/EthicsPoint/usbInfo.txt";
                  File catCommandOutputFile =  new File(fileCat);
                  boolean filesuccess = catCommandOutputFile.createNewFile();
                  setContents(catCommandOutputFile,catCommandOutput);
                  extractUSBInfo();
                  }catch(Exception e) {
                 JOptionPane.showMessageDialog(null," Exception occured executing Native Method..catCommand.."                                         ,epname,JOptionPane.ERROR_MESSAGE);                                    System.out.println("File Exception No 6" +e);
    public void extractUSBInfo() {
         try {
              String filename = " /EthicsPoint/usbInfo.txt";
              String grepCommand = "grep \"P:\\|S:\""+filename ;
               //String[] grepCommand = new String[]{"grep", "\"P:\\|S:\"", "/EthicsPoint/usbInfo.txt"};
              Process p = Runtime.getRuntime().exec(grepCommand);
              usbExtractedInfoBuffer = new StringBuffer("");
              InputStream inStream = p.getInputStream();
              new InputStreamHandler( usbExtractedInfoBuffer, inStream );
              StringBuffer errBuffer = new StringBuffer();
              InputStream errStream = p.getErrorStream();
              new InputStreamHandler( errBuffer , errStream );
              p.waitFor();
              String Output = usbExtractedInfoBuffer.toString();
              System.out.println("grepCommand is    : " +grepCommand);
              System.out.println("Searched USB Info : " +Output);
          }catch(Exception e) {
         JOptionPane.showMessageDialog(null," Exception occured executing Native Method..grepCommand..."                               ,epname,JOptionPane.ERROR_MESSAGE);                                    System.out.println("File Exception No 7" +e);
          }I am not getting any IOException. The output of System.out.println("Searched USB Info : " +Output); is blank.
    If I try shell> grep "P:\|S:" /EthicsPoint/usbInfo.txt, I get the desired output.
    What could be the reason ? While using cat command I am getting the output , but grep command is
    returning blank. I even tried String array[] for exec() command, but still get blank.
    Where and what I am doing wrong ?
    Thanks in advance.
    Regards,
    Jay.

    Hi asjf,
    Thanks a lot... The problem is finally solved.
    String exeCommand = "grep P:\\|S: "+filename; I removed the quotes and it worked. But if I
    remove backslash for the pipe symbol nothing happens..as I get return value of 1.
    Output after removing quotes :
    exeCommand is : grep P:\|S:  /EthicsPoint/usbInfo.txt
    Exit Value is : 0
    USB Info : P:  Vendor=0000 ProdID=0000 Rev= 0.00
    S:  Product=USB OHCI Root Hub
    S:  SerialNumber=ce84b000
    P:  Vendor=0000 ProdID=0000 Rev= 0.00
    S:  Product=USB OHCI Root Hub
    S:  SerialNumber=ce849000But I have noticed another problem. If I execute the aplication number of times, eventhough
    the exit value is 0, USB Info : is blank. This happens sometimes. Sometimes I get the correct output.
    What could be the reason ?
    Thanks to you and all who have replied to my queries....Thanks a lot.....Really appreciate the time and effort.
    Regards,
    Jay.

  • Print command from linux PC on to Windows Environment

    Hi Experts,
    We have SAP on Windows and the network printer is also on Windows, the PC with Linux is integrated with network printer i.e when the print command from Linux is given the output is available from the printer (Windows). But when the print command is given through SAP there is no output from Printer (Windows).
    When same user logs into Windows the printer command is successful.

    hi hari,
    Printing SAP documents using Linux client is a little bit tricky if you want to get good printing result just as when you print from your Windows client.
    If you want to use G printing method (on Linux client), you can't use SAPWIN on device type since SAPWIN is relying printing method. You must use exact printer driver. For example when you're using Dot Matrix printer Epson LX300+, you can use EPESCP2
    I am using different method to cheat this and it's completely work.
    ardhian
    http://ardhian.kioslinux.com
    http://sapbasis.wordpress.com

  • Executing windows batch commands from linux

    Hi,
    Kindly shed some light on executing the MSwindows batch commands from linux machine.
    Thanks
    RKA

    hi RKA
    What about using a virtual windows machine ? Or use a DOSemu (DOS Emulator) is a program that lets you run many of your favorite DOS applications under Linux.
    Why do you need to execute MSwindows batch commands ?
    Please explain.
    Edited by: Hub on Nov 12, 2008 1:56 PM

  • Spaces and commands in Linux

    Hello,
    I have a String command, representing a command in Linux. There are some filenames which have spaces. So what I do is I replace them with "\ " (the linux escape character).
    But when I try to run the command with
    Runtime.getRuntime().exec(command)/code]
    Nothing happens. In the terminal the same command works ok.
    What is wrong?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    When using a String[] it gives back an IOException, saying it cannot find the file.
    I have tried all ways I can think of, even paths without a single space, but it doesn't work.
    2 examples, one using String[] and one using String:
    First one
    String[] command = new String[1];
    command[0] = "/usr/bin/oggenc /home/raven/1.wav"
    Runtime.getRuntime().exec(command[0]);Gives an IOException.
    Second one:
    String command;
    command = "/usr/bin/oggenc /home/raven/1.wav"
    Runtime.getRuntime().exec(command);Works as long as there are no spaces in the path of the wav file...
    Any suggestions?

  • Query on Linux 'top' command in Linux for oracle user

    This is the output of 'top' command in one of my linux server hosting One Oracle instance with 600MB SGA and 400MB PGA. One one instance is up in this server.
    top - 14:36:37 up 4:26, 3 users, load average: 0.05, 0.11, 0.28
    Tasks: 124 total, 1 running, 123 sleeping, 0 stopped, 0 zombie
    Cpu(s): 0.2% us, 0.1% sy, 0.0% ni, 66.6% id, 33.1% wa, 0.0% hi, 0.0% si
    Mem: 12299332k total, *2569836k* used, 9729496k free, 61288k buffers
    Swap: 20972816k total, 0k used, 20972816k free, 2274852k cached
    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    6345 oracle 16 0 37132 1752 1172 S 0.0 0.0 0:00.08 sshd
    6346 oracle 16 0 54004 1536 1208 S 0.0 0.0 0:00.02 bash
    6423 oracle 16 0 45376 10m 6228 S 0.0 0.1 0:00.25 tnslsnr
    6471 oracle 16 0 740m 17m 13m S 0.0 0.1 0:00.02 oracle
    6473 oracle 16 0 739m 15m 12m S 0.0 0.1 0:00.01 oracle
    6475 oracle 16 0 739m 32m 29m S 0.0 0.3 0:00.07 oracle
    6477 oracle 16 0 742m 50m 44m S 0.0 0.4 0:00.27 oracle
    6479 oracle 16 0 754m 23m 19m S 0.0 0.2 0:00.43 oracle
    6481 oracle 16 0 739m 24m 20m S 0.0 0.2 0:00.61 oracle
    6483 oracle 16 0 740m 88m 83m S 0.0 0.7 0:00.71 oracle
    6485 oracle 16 0 739m 22m 19m S 0.0 0.2 0:00.01 oracle
    6487 oracle 16 0 740m 30m 25m S 0.0 0.3 0:00.15 oracle
    6489 oracle 16 0 741m 55m 48m S 0.0 0.5 0:00.29 oracle
    6491 oracle 16 0 739m 24m 20m S 0.0 0.2 0:00.01 oracle
    6493 oracle 16 0 739m 15m 11m S 0.0 0.1 0:00.01 oracle
    6495 oracle 16 0 739m 14m 11m S 0.0 0.1 0:00.00 oracle
    6622 oracle 16 0 739m 16m 13m S 0.0 0.1 0:00.00 oracle
    6626 oracle 16 0 740m 79m 74m S 0.0 0.7 0:01.95 oracle
    6636 oracle 16 0 740m 28m 23m S 0.0 0.2 0:00.06 oracle
    6638 oracle 16 0 739m 16m 12m S 0.0 0.1 0:00.01 oracle
    6846 oracle 16 0 739m 19m 16m S 0.0 0.2 0:00.02 oracle
    6848 oracle 16 0 739m 24m 21m S 0.0 0.2 0:00.04 oracle
    6850 oracle 16 0 739m 19m 16m S 0.0 0.2 0:00.02 oracle
    6852 oracle 16 0 739m 19m 16m S 0.0 0.2 0:00.01 oracle
    6854 oracle 16 0 739m 30m 26m S 0.0 0.3 0:00.12 oracle
    6856 oracle 15 0 739m 28m 24m S 0.0 0.2 0:00.18 oracle
    6858 oracle 15 0 740m 40m 35m S 0.0 0.3 0:06.39 oracle
    6862 oracle 16 0 739m 32m 28m S 0.0 0.3 0:02.25 oracle
    6864 oracle 16 0 739m 19m 16m S 0.0 0.2 0:00.02 oracle
    6866 oracle 16 0 739m 19m 16m S 0.0 0.2 0:00.03 oracle
    6868 oracle 16 0 739m 19m 16m S 0.0 0.2 0:00.02 oracle
    7480 oracle 15 0 37264 1668 1092 S 0.0 0.0 0:00.15 sshd
    7481 oracle 15 0 54004 1528 1196 S 0.0 0.0 0:00.05 bash
    10333 oracle 16 0 739m 20m 16m S 0.0 0.2 0:00.00 oracle
    10337 oracle 15 0 6168 1080 768 R 0.0 0.0 0:00.00 top
    Total RAM as seen from top command is 12G.
    *2569836* - Total RAM which is being used currently .
    How can I see the total RAM used by all Oracle Processes running in this server. The server is Linux X86 64 Bit. Can I sum up the values under 'VIRT' column of 'top' command to see the total RAM used ?
    Is there a way to see the total RAM and CPU used by Oracle from top ?
    'VIRT' is the virtual memory - In what way is this related to the figure above, which is the physical memory (RAM) ?
    Thanks in Advance
    SSN
    Edited by: SSNair on Oct 21, 2010 2:39 AM

    Oracle used shared memory to implement the SGA, which constituted the largest memory consumption of the Oracle instance. The problem is that in many modern OS, including linux, it is hard to define the actual memory usage fo a software. This is because the memory used by a process is actually composed of shared (e.g., shared memory, shared library, executable code) and private (e.g., the heap, the stack) components. Utilities like top, ps, etc reports all memory visible by a process, disregarding whether it is shared or not. As a result, the total of VIRT etc will be inflated by the shared components. For a more accurate figure of memory usage, shared memory / library / code should be counted once.
    Before 11g, Oracle used System V ipc, and the amount of memory allocated can be checked using ipcs. In 11g, Oracle switched to /dev/shm, use df to check the memory allocation. (Thanks user11150436)
    The "Mem used" figure in top is the actual usage of the memory: shared memory and library are not multi-counted. However, Linux will always cache (read before actually requested) and buffer (write after signalling completion) disk I/O. Therefore, "Mem used" is almost always very close to the amount of physical memory. "Mem used" - "buffers" - "cached" reflects the memory actually used by the OS and all programs more accuately.
    And you can use the pmap utility to check the memory map. Then you classify the sharable and unsharable memory usage to calculate a more accurate result suiting your need. You need OS knowledge to understand the output.

  • Execute command of Linux

    Dear All,
    I want to execute command below but I don't know the step. Could anyone help me on this. I try to enter using root password & type this command but no output appeared. Please advice;
    1. File permission of 1) /etc/passwd and 2) /etc/shadow file by executing either one of the command below:
    /usr/bin/cat/ls -l /etc/passwd
    or cat ls -l /etc/passwd
    /usr/bin/cat/ls -l /etc/shadow
    or cat ls -l /etc/shadow
    2. Password configuration setting of Linux by excuting the all 3 commands
    below:
    a) /usr/bin/ls -l /var/log/ >var_log.txt
    /bin/cat/etc/pam.d/login > etc_pamd_login.txt
    b) /bin/cat/etc/login.defs > etc_logindefs.txt
    /bin/cat/etc/pam.d/system-auth > etc_pamd_systemauth.txt
    c) /bin/cat/etc/pam.d/system-auth > etc_pamd_systemauth.txt
    /bin/ls-l/etc/security/opasswd > etc_security_opasswd.txt

    The no ip rcmd rsh-enable command does not prohibit a local user of the router from executing a command on other routers and UNIX hosts on the network using rsh. The no form of this command only disables remote access to rsh on the router.
    For more information on rsh please click following link:
    http://www.cisco.com/en/US/products/sw/iosswrel/ps1831/products_command_reference_chapter09186a00800d9833.html#1018286

  • [SOLVED] Mac OS X-like 'view' CLI command for Linux?

    On the Mac, you can type 'view example.doc' to have OpenOffice open it, or 'view image.png' to have the image viewer open it, etc.
    Is there something similar on Linux?
    (I've searched but can't find anything.)
    Last edited by chrispoole (2009-05-13 11:52:19)

    Aprz wrote:
    Agent69 wrote:
    chimeric wrote:
    In case you're using zsh as your shell of choice you could also use alias -s style aliases:
    alias -s doc=openoffice
    alias -s cpp=gvim
    Typing the filename and hitting enter should then open it in the defined application.
    Damn that's slick. I've always stuck with Bash but I might have to reconsider (unless Bash 4 has this feature).
    It does except without the "-s". :s By default, in your ~/.bashrc, it already has "alias ls='ls --color=auto'".
    Read it again.  These aren't ordinary aliases.  I interpret chimeric as saying that  in zsh the -s option allows you to associate file extensions with commands, not simple text replacement like your example.

  • Zero padding the LUN using dd command in Linux

    Grid Infrstructure: 11.2.0.3
    OS : Oracle Enterprise Linux 6.3
    When we were installing RAC in solaris, we used to zero pad all LUNs meant for ASM . We used to do like below
    dd if=/dev/zero of=/dev/rdsk/c0t600A0B8008A4CA005ACd0s0 bs=1024k count=2000Now we are going to install RAC in Oracle Linux v6 . When I googled Linux related stuff for RAC , I didn't come across documents in which zero padding is done on LUNs meant for ASM Disk groups.
    Question1. Is zero padding using dd necessary in Linux platform ?
    Question2. If dd command has to be run in the LUN, shouldn't that be done before we create the partition table ?

    Question1. Is zero padding using dd necessary in Linux platform ?No, never did that, not even on Solaris.
    Question2. If dd command has to be run in the LUN, shouldn't that be done before we create the partition table ?Of course it should.
    What would be the point of creating the partition table and after that overwriting it with 0-s :)
    Do you use a NAS for ASM disks?
    Solaris: http://docs.oracle.com/cd/E11882_01/install.112/e24616/storage.htm#CACDHHJJ
    Linux: http://docs.oracle.com/cd/E11882_01/install.112/e22489/storage.htm#CFACJAGB

  • Mv command in Linux

    OS: Oracle Enterprise Linux 5.4
    It is not the first time I used the mv command in Unix systems, but recently noticed some strange outcome in Linux.
    That's why I though I would do some test, and now I wonder about the result. Is there something new or strange about the mv command in Enterprise Linux?
    Test 1: mv renamed the file to * *.txt*. Does this mean wildcard operations are not possible anymore?
    Test 2: Instead of overwriting the test directory, it moved test_test directory inside the existing test. Is this correct?
    # unalias mv
    # mkdir test; cd test
    # mkdir test test_test
    # touch test.lst
    # ll
    total 8
    drwxr-xr-x 2 root root 4096 Sep 21 00:50 test
    -rw-r--r-- 1 root root    0 Sep 21 00:50 test.lst
    drwxr-xr-x 2 root root 4096 Sep 21 00:50 test_test
    TEST 1:
    # mv test.lst *.txt
    # ll
    total 8
    drwxr-xr-x 2 root root 4096 Sep 21 00:50 test
    drwxr-xr-x 2 root root 4096 Sep 21 00:50 test_test
    -rw-r--r-- 1 root root    0 Sep 21 00:50 *.txt
    TEST 2:
    # mv test_test test
    # ll
    total 4
    drwxr-xr-x 3 root root 4096 Sep 21 00:52 test
    -rw-r--r-- 1 root root    0 Sep 21 00:50 *.txt
    # ll test
    total 4
    drwxr-xr-x 2 root root 4096 Sep 21 00:50 test_testThanks,
    Markus

    Markus Waldorf wrote:
    Test 1: mv renamed the file to * *.txt*. Does this mean wildcard operations are not possible anymore? Never renamed while moving - feels "+unsafe+". Like talking on a mobile while driving. :-)
    Test 2: Instead of overwriting the test directory, it moved test_test directory inside the existing test. Is this correct?Think so. You need to qualify using "scope" to move the contents of a directory as oppose to the directory itself. So instead of moving "<i>dirname</i>" itself, specify it as "<i>dirname/*</i>" instead.
    E.g.
    /home/billy> mkdir test
    /home/billy> touch test/file1
    /home/billy> ll test
    total 0
    -rw-r--r-- 1 billy billy 0 2010-09-21 11:51 file1
    /home/billy>
    /home/billy> mkdir test2
    /home/billy>
    /home/billy> mv test/* test2
    /home/billy> ll test2
    total 0
    -rw-r--r-- 1 billy billy 0 2010-09-21 11:51 file1
    /home/billy>

  • Execution of a command in Linux

    Hi expert,
    I wrote this java class, that it's working in Windows, but not in Linux.
    Seems not executing the code have you any idea why?
    1) you provide a userlogin
    2) check if the userlogin file exists
    3) if not it create a file where name and content should be the userlogin.
    for exampe, you provide "John" and it will create /home/oracle/JOHN that contains the string "JOHN".
    thank you
    import java.io.*;
    public class RemoteScript {
         static String mDirectoryPath = "/home/oracle/";
         static String mCompleted = "COMPLETED";
         static String mError = "ERROR";
         private static boolean checkFile(String pFileName) {
              File f = new File(pFileName);
              return (f.exists() ? true : false);
         private static boolean execute(String pInstruction) {
              boolean oResult=false;
              int exitVal = -1;
              try {
                   Runtime rt = Runtime.getRuntime();
                   Process proc = rt.exec(pInstruction);
                   BufferedReader br = new BufferedReader(new InputStreamReader(proc.getErrorStream()));
                   String line;
                   while ((line = br.readLine()) != null) {
                        System.out.println(line);
                   exitVal = proc.waitFor();
                   if(exitVal==0)
                        oResult=true;
                   } catch (Throwable t) {
                        t.printStackTrace();
              return oResult;
         public static String createUser(String pLogin) {
              String oFileName = mDirectoryPath + pLogin.toUpperCase();
              if (!checkFile(oFileName)) {
                   String oInstruction = "/bin/echo " + pLogin.toUpperCase() + " > "+ oFileName;
                   execute(oInstruction);
                   if (checkFile(oFileName)){
                        return mCompleted;
                   else{
                        return mError + ".NT";
              } else
                   return mError + ".EX";
         public static void main(String[] args) {
              createUser("SAMPLEUSER");
    }Edited by: sabre150 on Feb 21, 2012 5:06 PM
    Moderator action : { code } tags added

    I don't understand how that code can be working under windows but ...
    You have a fundamental misunderstanding. Under Linux the ">" operator has to be interpreted by a shell. This means you need use the array version of Runtime.exec() and make your command
               String[] oInstruction = {"bash", "-c","/bin/echo " + pLogin.toUpperCase() + " > " + oFileName};and change your execute() method to have signature
       private static boolean execute(String[] pInstruction)You are also not handling the Process 'stderr' stream at all. You should read http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html and implement ALL the recommendations. Failure to do so may cause you significant hair loss.
    P.S. I have used 'bash' but you are free to use any shell you want but make sure you read the appropriate shell man page.
    Edited by: sabre150 on Feb 21, 2012 5:23 PM

  • 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

Maybe you are looking for

  • IMac white screen of death

    When I start up my iMac, I hear the start-up sound and see the white screen, followed by two beeps, then three beeps repeatedly. It will not respond to anything. Any suggestions? Thanks.

  • How to save Gradient in Swatches Panel

    Hi! I want to save a gradient in swatches panel. I dont find any option there. What to do?

  • Customer/Vendor Trading Partner

    Hi, I´ve to add in all the Customer / Vendor of my company the corresponding Trading Partner. You know if exits a collective transaction in order to make it instead of used XK03 and XD03? KR Jorge.

  • Holder name not comming in ORG model

    Hi Experts, When i am assigning Holder to a position ,in the basic data am not getting the name.Instead of the name of BP am getting some number which is not the BP ID too in the basic data tab. Please provide your ideas to overcome this issue. Thank

  • Pixel accuracy in AE CS6

    Hi there, is it possible that AE CS6 works less accurat than former version when it comes to tiny resolutions? I'm designing on very small resolutions and right now i need a ramp over 14 pixels height. But i get only seven color shades instead of 14