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
<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^_^
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 topHi,
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 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).
Chiranjibdbms_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> -
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 -
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 NILArun,
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 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,
RVThanks.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> -
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. -
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,
PennyYes 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. -
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 PMPlease 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! -
Suppress embedded field blank lines in Crystal Reports XI is not working
Hi,
We have a text box in a Crytal Reports XI report which has address information in it as follows:
These are individual fields from the database. We check the "suppress embedded field blank lines" option for the text box and preview it in the designer and the suppression works as expected in that when the unit field is blank the whole address line isn't suppressed. However when we run this report using the Report Viewer control in a VB.NET 2005 application the whole address line is suppressed when the unit field is blank.
This appears to be a bug in the suppression logic when the Report Viewer is used to view a report. While yes we can embed a formula into the address line this adds extra maintenance and confusion which is not necessary as it works as expected in the report designer.
I have seen others which are having a similiar issue and the only suggestions are to create your own suppression using formulas, etc. which is only a bandaid and is not the best solution as the suppression works as stated in the designer but not in the viewer embedded in an application. Please indicate if this is a known bug and if this issue has been addressed and fixed in a new merge module.
We are running Crystal XI 11.5.0.313 for the report designer and have deployed the needed dlls to run the reports with our application using the CrystalReports11_5_NET_2005.msm merge module.
Thanks in advance for any assistance in resolving this issue!Hello,
Moved to .NET SDK forum.
Upgrade to XI R2 SP 6, you are using the original release:
https://smpdl.sap-ag.de/~sapidp/012002523100011802732008E/crxir2_sp4_full_build.exe
https://smpdl.sap-ag.de/~sapidp/012002523100015859952009E/crxir2win_sp6.exe
And the distribution files are for Visual Studio version of Cr, not R2 build.
https://smpdl.sap-ag.de/~sapidp/012002523100013451312010E/crxir2_fp64_server_ins.zip
Or
https://smpdl.sap-ag.de/~sapidp/012002523100013451332010E/crxir2_fp64_net_mm.zip
Don -
Hi,
I have a requirement for a blank line in between the Static data and dynamic values part as shown below
Flag='Yes'
Ready='No'
Column1 Column2 Column3
a b c
d e f
g h i
Here after "Ready='No'" there is a blank line before the starting of Column1. I want to achieve that through xsd. I have tried with the nillable='true' , its not working.I am using SOA 11.1.1.7.0. Please help.
Thanks,
AbhishekHi !
Why are you using File.endSeparator '0'. ?
Are you sure your input data doesn't have those 3 blank records in the end? Check the message payload in the sxmb_moni transaction.
Regards,
Matias. -
Hi All, printer keeps printing blank pages, just bought a new cartridge and even re-installed the drivers- can anyone perhaps advise as to a way to resolve as I am urgently needing to print?
Forgot to mention that I am not getting an error message either, except when I go through the motions of scanning the (blank) alignment page. That error is related to the fact that it is blank though.
Thanks for any assistance. -
8630 adf printing a line down scan or copied pages.
When using the copy or scan feature with the Automatic Document Feeder, the printer prints a line down the page about 1 and 1/2" in from the margin. It prints this line in from the left margin on odd number pages, and right margin on even pages.
I have had this printer about 2 weeks now, and it was working fine until today.
This question was solved.
View Solution.Hello brownp69,
Welcome to the HP Forums.
I see that you are having an issue with a line down the side of the prints when doing copies with the adf.
I have seen this issue before and I was able to resolve the issue quiet easily by doing two simple steps.
First off, please make sure that you have the printer power cable connected directly to a wall outlet and not a power bar/strip. Here is a document that uses a LaserJet printer as an example but it is meant for HP products in general. Please click on the following link that explains the Issues when Connected to an Uninterruptible Power Supply/Power Strip/Surge Protector.
Just so you are aware, HP Products already have a built in surge protector and when you have the unit connected to a power bar/strip, the printer can not get all the power it needs to function properly and this can cause issues with the adf.
If you open the top lid to expose the large glass surface, you will see a thin strip of glass to the left. Please use a lint free cloth and a light glass cleaner and clean this area. On the bottom side of the lid directly above the thin strip of glass, you will see a thin white strip of plastic. Please clean this white strip as well.
Try another copy and write me back with the results.
Thanks for your time.
Cheers,
Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
W a t e r b o y 71
I work on behalf of HP -
Blank lines on black print output
We are seeing blank lines for the black print head. We replaced the cartridge and ran 1,2,3 level print head cleaning with no improvement. Ran diagnostics, but I can't see any differences in that report between the different color cartridges.
Please read this post then provide some details. What printer model? What operating system? Are there any error messages on the printer or computer screen?
Bob Headrick, HP Expert
I am not an employee of HP, I am a volunteer posting here on my own time.
If your problem is solved please click the "Accept as Solution" button ------------V
If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V -
Need to avoid printing of blank lines at end of report
Hello friends at www.oracle.com ,
after printing, any report is sending some blank lines, moving paper up. It pushes printing of next page to some lines below, causing other reports to begin printing much under the correct position, and it's propagating to other reports I print later.
How can I print a report and avoid printing those blank lines below?
Printer that's being used is an Epson LQ-570+.
Thanks, and best regards,
Franklin Gongalves Jr.Hi Franklin,
What version of Reports are you running? Also, is this a character mode report?
Toby
Maybe you are looking for
-
I created a web page from Microsoft word 07 and I can't see my ping animations
My problem is with ping and gif animations not showing up in Firefox~!!!!!!!
-
I have downloaded adobe reader 20 times and still can't view any of my statements on my credit cards
i have downloaded adobe reader 20 times and still cant view any of my statements??????????
-
I made a folder how do I put a PDF in it?
See above
-
Problem after installing 1.2.5.0.0
After I've installed the lastest Migration Workbench, I recived an error when I tried to start a service of my Oracle database. Oracle.exe - Entry Point Not Found The procedure entry point kghsstdrv could not be located in the dynamic link library or
-
What is 'Supports Portal Integration' check box for?
Hi. I just wondering what is 'Supports Portal Integration' check box use for.. what is difference when this check box is on or not? thank you..