Printing blank lines using plsql

Hi,
I am trying to print a blank line using plsql can anyone help me on this
eg
Employee Report
(a blank line here)
I am not able to print a blank line where I have written (a blank line).
Chiranjib

dbms_output is trimming blanks, therefore you need to use some other non-visible character, e.g.
SQL> begin
  2  dbms_output.put_line('Employee Report');
  3  dbms_output.put_line('***************************');
  4  dbms_output.put_line(chr(255));
  5  dbms_output.put_line('*****************************');
  6  end;
  7  /
Employee Report
PL/SQL procedure successfully completed.
SQL>

Similar Messages

  • Office 2010 Don't print blank lines when data fields are empty

    How do you do this in office 2010?  Where do we go now?
    This used to be under the Tools menu in previous versions:
    On the Tools menu, click Mail Merge.
    In the Mail Merge Helper dialog box, click Merge.
    NOTE: You must select the main document and data source for the merge before doing step 2.
    In the Merge dialog box, under When Merging Records, click either:
    Don't print blank lines when data fields are empty.
    -or-
    Print blank lines when data fields are empty.
    Click Close in the Merge dialog box, and then click
    Close in the Mail Merge Helper.
    NOTE: If you made no changes in the Merge dialog box, the
    Close button is not available. Click Cancel instead.
    Back to the top

    Hi,
    In Word 2007 or Word 2010, you can add
    Mail Merge Helper to the Quick Access bar, and perform the steps then.
    To add the
    Mail Merge Helper command in the Quick Access Toolbar in Word 2007, follow these steps:
    a.                 
    In Word 2007, click the
    Microsoft Office Button, and then click Word Options >
    Customize.
    In Word 2010, click File > Options > Customize Ribbon.
    b.                 
    Click
    All Commands in the Choose commands from, and then click
    Mail Merger Helper in the Choose commands from list.
    c.                  
    Click
    Add, and then OK.
    Best Regards,
    Sally Tang

  • Printing blank lines in IE 8, 9, 10 and 11 differs

    We have Credit Reports that are put in Iframe (and hidden fields) and when the users checks which ones they want to print, we take the hidden fields an populate one Iframe to print them all from.
    Problem is, IE 8 prints fine, IE 9 removes many of the blank lines that used to be there and IE 10 pretty much removes all blank lines.  IE 11 seems to work ok though.
    While IE 8 is being deprecated, IE 9 & 10 are still our majority users and am I trying to find a solution for them.
    Is there something other than an iframe I should be using?
    Here is the code:
    for(count=0; count <= intCounter; count++)
    vartabChecked = $get(printTab[count]);
    if(tabChecked.checked ==
    true)
    varhdnPrintFieldName =
    "hdnPrintFieldName"+
    count;
    vardoc = document.getElementById(hdnPrintFieldName);
        appendReports = appendReports + doc.value;
    varprintDoc = appendReports;
        parent.iframeprint.document.open();
        parent.iframeprint.document.write(printDoc);
        parent.iframeprint.document.close();
        parent.iframeprint.focus();
        parent.iframeprint.print();
    The report even looks different in the presented iframe (tabbed) in the various IE versions, though sometimes not exactly the same as the printed version in the same IE.
    Cliff

    Hi,
    IE8 doesn't understand textNodes that are white space. the firstChild property is affected by any white space preceeding the Node.
    use
    &nbsp;<br/>
    instead of
    the above is a blank line.. (white space).
    ensure that your external stylesheet links have a media attribute. Normally one would use a print only stylesheet (media='print') to show/hide visual elements when printing.
    eg.
    @media='print'{
    #divCopyright{
    display:block;visibility:visible;}
    @media='screen'{
    #divCopyright{
    display:none;visibility:hidden;}
    Post questions about html, css and scripting for website development to the IE Web Development forum.
    http://social.msdn.microsoft.com/Forums/ie/en-US/home?forum=iewebdevelopment
    Include with your questions a link to your website or a mashup that shows the issue.
    Questions regarding Internet Explorer 8, 9 and 10 and Internet Explorer 11 for the IT Pro Audience. Topics covered are: Installation, Deployment, Configuration, Security, Group Policy, Management questions. If you are a consumer looking for answers or to
    raise a question, it's highly recommended you head on over to http://answers.microsoft.com/en-us
    Rob^_^

  • Logic needed to print blank line in alv report

    hi experts,
    can anyone please tell me the logic for this
    i want to logic one is
    1) in alv report contains
    a set of data contains 100 (5 datas)
    and a set of data contain 200(5 datas)
    i want to have one coloum containing serial no
    ex for 100 i want to move no '5' to one coloumn ,but it should display only ones not for all 5 records.
    same for 200 also i want to move 7 to this ,it should b displayed ones
    i used for at new command alos its not working
    2)suppose for particular date, 200 related records is not there
    it should conatin blank line,displaying 'NIL'.
    SO THE OPT FROMAT MUST BE
    MATNR            DOCNO
    100                  1000
    100                  1000
    100                    "
    100                     "
    100                    "
    200                   2000
    200                      "
    200                     "
    200                    "
    200                    "
    SUPPOSE 200 RECORD IS NOT THERE THE OPT SHLD B
    100           1000
    100            1000
    200           NIL

    Arun,
    1)
    If you are using the  function module REUSE_ALV_GRID_DISPLAY, then use the internal table it_sort with a row for the column where you want the suppression of repeated values.
    2)
    If you are using the  function module REUSE_ALV_GRID_DISPLAY, then simply ensure that your internal table t_outtab has the rows that you need containing 'NIL'.
    John

  • How to print new line using DBMS_OUTPUT package

    Hi,
    I am trying to print a new line using DBMS_OUTPUT package. but it do not print the new line.
    set serveroutput on size 200000
    set feedback on
    BEGIN
    DBMS_OUTPUT.PUT_LINE('First Line');
    DBMS_OUTPUT.PUT_LINE('');
    DBMS_OUTPUT.PUT_LINE('Second Line');
    END;
    I expect following output ...
    First Line
    Second Line
    but i got following output....
    First Line
    Second Line
    why DBMS_OUTPUT.PUT_LINE( '); is not printing a new line ?

    You can try the following:
    SQL> ED
    Wrote file afiedt.buf
      1  BEGIN
      2  DBMS_OUTPUT.PUT('ONE LINE...');
      3  DBMS_OUTPUT.PUT('SECOND LINE...');
      4  DBMS_OUTPUT.NEW_LINE;
      5  DBMS_OUTPUT.PUT_LINE('THIRD LINE WITH NEW LINE...');
      6  DBMS_OUTPUT.PUT('TEST');
      7  DBMS_OUTPUT.NEW_LINE;
      8  DBMS_OUTPUT.PUT_LINE('FOURTH LINE'||CHR(10)||'EXAMPLE');
      9  DBMS_OUTPUT.PUT_LINE(CHR(10));
    10  DBMS_OUTPUT.PUT_LINE('FIFTH LINE');
    11* END;
    SQL> /
    ONE LINE...SECOND LINE...
    THIRD LINE WITH NEW LINE...
    TEST
    FOURTH LINE
    EXAMPLE
    FIFTH LINE
    PL/SQL procedure successfully completed.Documentation:
    http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_output.htm#i1000062

  • I just purchased a HP PhotoSmart printer and it prints blank pages using FireFox. It prints ok using Internet Explorer

    I cannot print using Mozilla FireFox. It prints blank pages.
    It prints ok with Internet Explorer

    Try to reset the print prefs.
    See http://kb.mozillazine.org/Problems_printing_web_pages

  • C4680 Prints Blank Pages using Mac OS X 10.9 (Mavericks)

    Hello.
    My Hp printer recently started to print blank pages. The problem started with two of the prints partially printed and since then the rest appears blank. I check the UTILITY tool - the cartridge levels are good (the tricolor is full, the black ink level shows yellow warning triangle but no critical level). The next step I performed was printing a test page through UTILITY, but a blank page was printed. Finally I deleted the hp folder from Library/Printers, then deleting the Printer using the - sign in the System Preferences/Printers and back again to Printers with downloading and installing the drivers through the Apple Software Update as suggested by the system once I used the + sign (Add Printers) command. After all this manipulations the printer is still printing blank pages. Could you please help me with the solution.
    Thank You,
    PetarTzenev
    This question was solved.
    View Solution.

    Hi TeriLynn,
    I have successfully installed the v 3.3.1 Drivers on my Mac, but after triple check with my other macbook OS Yosemite and with other Windows Vista laptops I am almost 100% sure that the problem is the black cartridge. It should be completely empty nevertheless is shows some ink.
    So, at least the Printer menus are there - utility, supplies, etc. 
    Once I buy the black cartridge, I hope I'll find the problem.
    One suggestion for HP, please take my case and fix the Mac "no ink" notifications. At any moment I did not receive a pop-up warning that I have to change the cartridge.
    TeriLynn, thank you very much for the efforts and your guidence. It was really helpful.
    Thank you.
    Best regards.

  • Printing blank line

    Hi,
    I am developing one report, its having three repeating frame ie; Department, category and Item. First page its printing properly, in second page onwards after printing heading its printing two line gap ie; The space of tow group headings.
    The following are the details
    Frame properties (All the three frames)
    Vertical Elasticity - Variable
    Print object on - First Page
    Base printing on - Enclosing object
    Fields properties (All ithe items)
    Print object on - First Page
    Base printing on - Enclosing object
    Page 1
    Heading
    Group - A00001
    Category - A01
    Item1
    Page 2
    Heading
    **Blank line
    **Blank line
    Item2
    Please help me to sort out this.
    Regards,
    Jen.

    hello ,
    it might be happen that ur 2nd or 1st frame is repeat with no data
    that's why the two line will be blank
    another posibility is that u hve given two blank line in ur report section that effect on ur sencond page
    see carefully u will find
    bye

  • How to print blank line on BIP template when the field has no value?

    I have a BIP template like below and all these CHILDREN, NAME, GRAND_CHILDREN, NAME are fields arranaged in the template as a row.Reps can enter values in each of these fields for a max upto 3 rows. The first 2 rows have the values and the last is blank.
    CHILDREN: NAME: GRAND_CHILDREN: NAME:
    Son     John Daughter     Smith
    Daughter Laura Son      Kevin
    In the third row since the fields have no values, the report print blank rows, but I want to delete that blank row and show only the rows(first 2 rows) that have values for the fields.
    Does any one know how to get around this? Please help me to resolve this.
    Thanks in advance,
    RV

    Thanks.Here is the sample XML. Fields that refer to are as follows:
    Children: DependentDD1, DependentDD2, DependentDD3
    Name: DependentFF1, DependentFF2, DependentFF3
    Grandchildren: GrandchildDD1, GrandchildDD2, GrandchildDD3
    Name: GrandchildFF1, GrandchildFF2, GrandchildFF3
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ListofIO>
    - <ListOfBipCustomerProfileReport>
    - <Contact>
    <FirstName>ROSCOE</FirstName>
    <LastName>CLOUGH</LastName>
    <LeadContactType />
    <PartyTypeCode>Person</PartyTypeCode>
    <PartyUId>XXXXXXXXX</PartyUId>
    <PersonUId>XXXXXXXXX</PersonUId>
    <PrivacyCode>Opt-Out: All Parties</PrivacyCode>
    <RelationtoHousehold />
    <SocialSecurityNumber>XXXXXXXXX</SocialSecurityNumber>
    <UserType>Prospect</UserType>
    - <ListOfA-FmrCustomerProfile>
    - <A-FmrCustomerProfile>
    <DependentDD1>Son</DependentDD1>
    <DependentDD2>Daughter</DependentDD2>
    <DependentDD3 />
    <DependentFF1>John</DependentFF1>
    <DependentFF2>Laura</DependentFF2>
    <DependentFF3 />
    <GrandchildDD1>Daughter</GrandchildDD1>
    <GrandchildDD2>Son</GrandchildDD2>
    <GrandchildDD3 />
    <GrandchildFF1>Smith</GrandchildFF1>
    <GrandchildFF2>Kevin</GrandchildFF2>
    <GrandchildFF3 />
    </A-FmrCustomerProfile>
    </ListOfA-FmrCustomerProfile>
    </Contact>
    <Login>A482003</Login>
    </ListOfBipCustomerProfileReport>
    </ListofIO>

  • Blank lines using DBMS_OUTPUT package

    Hi Friends,
    how can i put blank lines between two PUT_LINE procedures. I was trying to write
    the NEW_LINE procedure but it is not working.......
    code is as follow
    DBMS_OUTPUT.PUT_LINE(' Hello');
    DBMS_OUTPUT.NEW_LINE();
    DBMS_OUTPUT.PUT_LINE(' How r u ? ');
    output is as follow:-
    Hello
    How r u? // there is no blank space between two lines
    But i want output as follow
    Hello
    // here i want a blank line
    How r u?
    Thanks

    U can put like this
    DBMS_OUTPUT.NEW_LINE(' ');
    Did you test it..?
    SQL> exec DBMS_OUTPUT.NEW_LINE(' ');
    BEGIN DBMS_OUTPUT.NEW_LINE(' '); END;
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'NEW_LINE'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Printing blank spaces using dbms_output.put_line

    There is one string getting generated dynamically. Upon generation, it may or may not contain blank spaces in the beginning. Then I am trying to print this on standard I/O using DBMS_OUTPUT.PUT_LINE. But if there are some leading spaces in the string, they are ignored. Is there any other way to print the exact string as it is?

    hi..
    it's depend on your client configuration.. you can configure the wrap option at the serveroutput parameter...
    set serveroutput on size 100000 for wrap;
    begin
      2    dbms_output.put_line('  Hello world.');
      3  end;
      4  /
      Hello world.
    PL/SQL procedure successfully completed.

  • How to print blank records after the detail records in a masterdetail report

    Hi,
    Developing a report for time and attendance record. In this report I am printing all the employees in a department, limiting the no. of records per page to 10.
    I need to insert blank lines at the end of all of the detail records in a page that has less than 10 employee records so that the no. of records displayed on a page can always be 10(these blank lines will facilitate the management to note down the temporary employees who worked for the department but are not part of the department).
    I am using a tabular form with group above layout.
    The report layout is as follows:
    Department : FINANCE & ADMINISTRATION
    Employee Name | Employee Number |
    1 Jim | 1234 | _________________
    2 John | 5678 |__________________
    3 blank
    4 blank
    5
    6
    7
    8
    9
    10 balnk
    Supervisor's Sign:______________________
    Note: the no. of blank lines should be inserted dynamically based on the no. of emp. records being printed on the page.
    Any help is greatly appreciated.
    Thanks in advance.
    Kavita.

    Your solution works when I am not limiting the no. of records per page for a department to 10 records and when I want to print blanks lines for the depts that has fewer than 10 employees in it.
    Exactly in my report I have several dept's that has more than 10 emp's. In such cases I'll be printing first 10 in one page and the rest in the next page. Now I want to dynamically print the blank lines in the second page depending on the no. of emp's on that page. I tried to acheive this by using a CS column that reset's at page level but, REPORTS is not letting me use CS column that reset's at page level in a format trigger. I also tried to copy the CS value into a parameter and or to a Place holder column and did not help.
    Any more work around ideas to acheive this?? please help.
    Thanks alot
    Kavita.
    Hi
    Create a column called Serial_No in ur emloyee query like this
    select 1 , empno ,ename from emp;
    Create a summary column on the serial column with the function SUM
    and resetting it to Page
    Display the column in the report by using the text color as white
    so it doesn't display in the report
    I think this should help u i believe
    Sri
    Hi,
    Developing a report for time and attendance record. In this report I am printing all the employees in a department, limiting the no. of records per page to 10.
    I need to insert blank lines at the end of all of the detail records in a page that has less than 10 employee records so that the no. of records displayed on a page can always be 10(these blank lines will facilitate the management to note down the temporary employees who worked for the department but are not part of the department).
    I am using a tabular form with group above layout.
    The report layout is as follows:
    Department : FINANCE & ADMINISTRATION
    Employee Name | Employee Number |
    1 Jim | 1234 | _________________
    2 John | 5678 |__________________
    3 blank
    4 blank
    5
    6
    7
    8
    9
    10 balnk
    Supervisor's Sign:______________________
    Note: the no. of blank lines should be inserted dynamically based on the no. of emp. records being printed on the page.
    Any help is greatly appreciated.
    Thanks in advance.
    Kavita.

  • How to avoid blank lines in smartforms?

    Hi all,
    I am using an INCLUDE TEXT in a smartform. The problem is it is priniting with the blank lines entered in the standard text.
    I couldn't find any option for avoiding these blank lines using the respective smartstyles.
    Is there any option to avoid the blank lines ? Please help me.
    Thanks,
    Aravind

    Hi,
    well if the blank lines are present in the include text.
    then you have to modify the standard text.
    in the smartform the text is printed as it is.
    you need to make changes to the standard text.

  • SQL Report Writing blank lines or Formfeeds

    I have a SQL Report that prints the data out correctly. My problem is there are several formfeeds or blank lines written at the top of the spool file. The report prompts users for information, does several calls to the database to create headings, creates 3 temp tables. The temp tables are:
    TEMP1 - gathers information that is summed in TEMP2
    TEMP2 - stores data from temp1 that has been summed
    TEMP3 - creates the report using data from TEMP2 and other tables
    A command file calls the sql file. Inside of the command file is the call to the spool file. Overview of code:
    set trimspool on When these are on I get formfeeds. When they
    set trimout on are off, it prints blank lines.
    set heading off
    set echo off
    set feedback off
    set verify off
    set newpage 1
    set space 0
    set pagesize 60
    set linesize 160
    clear columns
    prompt user for information
    create headings and titles by quering various tables
    create and insert data into TEMP1
    create and insert data into TEMP2
    create, insert, and update data into TEMP3
    BEGIN report with TTITLE
    SELECT * from TEMP3
    end of report.
    When I run the report in sql without using the command file, I get the same results.
    Any suggestions as to what is creating this or how to get rid of it?
    Thanks for your help,
    Penny

    Yes I have a suggestion.
    Please move your spool line to just before the SELECT statement.
    [not_meaning_to_be_sarcastic__really]
    I have another suggestion. Please move your spool line to just before the SELECT statement.
    Maybe if I say it enough times - you might actually take and try the suggestion. I find it useful when I ask people questions, to listen to them.
    [not_meaning_to_be_sarcastic__really]
    I mean no offense - but I gave you that answer days ago and it doesn't seem like you have tried it yet. TTITLE will be fired off when the SELECT is called, there is no need to have the 'spool' before the TTITLE.
    It will take you maybe - tops - 10 minutes to give it a try - what'do'ya say - give'her'a'spin?
    -- all your junk that creates form feeds or line feeds
    SPOOL file_name_to_spool_to
    SELECT * from TEMP3;
    SPOOL OFF
    -- etc.

  • How to print blank row

    IS IT POSSIBLE TO PRINT BLANK LINE(ROW) IF SNO = 5 IS NO VALUE
    <?for-each:SNO?><?if:SNO=5?><?AMT?><?end if?><?end for-each?>
    Edited by: Kanaiya Sindhavad on Feb 12, 2011 12:09 PM

    Please specify what system, (OS X 10.?)
    hardware of the computer model...
    and application you are using to print.
    If you have an Intel based Mac built after 2006, you are in a pre-Intel forum.
    PowerPC Macs cannot run an OS X newer than Leopard 10.5.8, in general.
    And many newer applications need the Intel-based hardware, not PPC.
    There are several ways of performing tasks, based on the software in use
    and this changes when you may have posted in a different area than your
    computer model, thus software suggestions based on this, may not apply.
    As a user-to-user support community, we have no way to know what your
    computer happens to be, its OS X, or the application you may be running.
    Some photo card stock (paper) requires a maker's software, to set it up.
    Without anything to go on, you could try an online search engine...
    Good luck!

Maybe you are looking for