0

Hi Experts,
Thanks for time and help.

I am using activepdf server, webgrabebr and activepdf toolkit to convert my html to PDF.
CSS i am using is working fine, BUT When i convert into PDF , the resulting PDF has no real HTML, no colors coming out. It looks CSS is not working on the time conversion because nothing is implemented in pdf version.
here are my two important file.


Prev1.aspx, Converts to PDF
Print.aspx Calls function Prev()

Print.aspx:

<%@ Page Language="C#" ContentType="text/html" ResponseEncoding="iso-8859-1" %>
<%@ Import Namespace="System" %>
<%@ Import Namespace="System.IO" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Data.OleDb" %>
<%@ Register TagPrefix="auth" Namespace="ICTMLogging" Assembly="ictmlogging" %>
<%@ Import Namespace="ICTMLogging" %>
<%
ICTMLogging log=null;

try{log=(ICTMLogging)Session.Contents["log"];}catch(Exception ex){
	Console.Write(ex.ToString());
}

string proj_id=Session.Contents["proj_id"].ToString();
string app=Session.Contents["app_id"].ToString();
string app_id=app;
string project_id=(Session.Contents["project_id"]!=null)?Session.Contents["project_id"].ToString():"";
string comp_id=Session.Contents["comp_id"].ToString();

int i=0;
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript">

function selhead(theElement) {
	var e=document.getElementById('atitle');
	e.checked=theElement.checked;
	e=document.getElementById('ptitle');
	e.checked=theElement.checked;
}
function sel(theElement) {
	
     var theForm = theElement.form, z = 0;
	 var t=theForm["no"].value;
	 var tx='';
	
	for (i=1;i<=t;i++)
	{
		var el=document.getElementById('print_'+i);
		if (el.type=='checkbox')
			el.checked=theElement.checked;
	}
}
function prev(fn,no){
	var frm=document.getElementById('frm');
	frm.target="_blank";
	frm.action='prev1.aspx?n='+no;
	frm.submit();
}
function final(){
	var frm=document.getElementById('frm');
	frm.target="_blank";
	frm.action='print_first.aspx';
	frm.submit();
}
function sp() {
	var frm=document.getElementById('frm');
	frm.target="_self";
	frm.action='save_print.aspx';
	frm.submit();
}

</script>
<link href="../../../../CSS/ee.css" rel="stylesheet" type="text/css">
</head>


<body>
<p class="head_style" >Reports</p>
<%
string at,pt,pnot;
string at_al,pt_al,pnot_al,ctitle_al;
at=pt=pnot=at_al=pt_al=pnot_al=ctitle_al="";
OleDbConnection conn=new OleDbConnection(System.Configuration.ConfigurationManager.AppSettings["MM_CONNECTION_STRING_ictmdb"]);
conn.Open();
OleDbCommand comm=null;
OleDbDataReader dr=null;
    
comm=new OleDbCommand("print_pack.check_print",conn);
comm.CommandType=CommandType.StoredProcedure;
OleDbParameter prm=comm.Parameters.Add("@proj_id",OleDbType.VarChar);
prm.Value=proj_id;
prm=comm.Parameters.Add("@app",OleDbType.Double);
prm.Value=app;
bool prt=false;
comm.ExecuteNonQuery();
    
string title="",uid="",uname="";
comm=new OleDbCommand("select ptitle_print,ptitle_align,atitle_print,atitle_align,pno_print,pno_align,"+
 	" ctitle_align from ictm_print_header prt where prt.proj_id='"+proj_id+"'",conn);
dr=comm.ExecuteReader();
if(dr.Read()){
	at=dr["atitle_print"].ToString();
	at_al=dr["atitle_align"].ToString();
	pt=dr["ptitle_print"].ToString();
	pt_al=dr["ptitle_align"].ToString();
	pnot=dr["pno_print"].ToString();
	pnot_al=dr["pno_align"].ToString();
	ctitle_al=dr["ctitle_align"].ToString();
}
dr.Close();

comm=new OleDbCommand("select * from ictm_project_detail where proj_id='"+proj_id+"'",conn);
dr=comm.ExecuteReader();
if(dr.Read()){
	title=(dr["title"].ToString());
    uid = (string)dr["user_id"].ToString().Trim();
}
dr.Close();   
    
    
    //----------  Get Username from employees table
    
comm = new OleDbCommand("select * from ictm_user where company_id='" + Session.Contents["comp_id"].ToString() + "' and user_id='"+ uid +"' ", conn);
dr = comm.ExecuteReader();
if (dr.Read()) { uname = (string)dr["user_name"].ToString().Trim(); }  
dr.Close();     

comm=new OleDbCommand("select * from ictm_project where project_id='"+project_id+"'",conn);
dr=comm.ExecuteReader();
string ptitle="";
if(dr.Read()){
ptitle=dr["description"].ToString();
}
dr.Close();

string fpath="";
fpath = Request.PhysicalApplicationPath.ToString();
fpath = fpath + "soft\\tmp\\reports\\final\\";

if (File.Exists(fpath + proj_id.ToString() + ".PDF"))
{ prt = true; }
%>

<form action="print_first.aspx" method="post"   target="_blank" name="frm" id="frm">

<input type="hidden" name="uname" value="<%=uname%>"/>

<%    
comm=new OleDbCommand("select 1 rno,comp_name description from ictm_company where company_id='"+comp_id+"' "+
	"union select 2 rno,description from ictm_project where project_id='"+project_id+"' "+
	"union select 3 rno,description from ictm_application where app_id="+app_id+
	"union select 4 rno,title from ictm_project_detail where proj_id='"+proj_id+"' order by rno",conn);
dr=comm.ExecuteReader();
if (dr.Read()){
%>

<input type="hidden" name="title" value="<%=title%>"/>
<input type="hidden" name="comp" value="<%=dr["description"]%>"/>
<input type="hidden" name="ctitle" value="<%=ptitle%>"/>
<% dr.Read();%>
<input type="hidden" name="project" value="<%=dr["description"]%>"/>
<% dr.Read();%>
<input type="hidden" name="app_name" value="<%=dr["description"]%>"/>
<% dr.Read();
String tmp1="";
try{
	tmp1=dr["description"].ToString();
}catch(Exception ex){if(log!=null) log.log(ex.ToString());}
%>
<input type="hidden" name="application" value="<%=tmp1%>"/>
<% 
}dr.Close();%>
<table  border="0" cellpadding="4" cellspacing="0" >
<tr>
<td><input type="button" value="Print the PDF" onclick="final()"/></td>
<td><input type="button" name="button" value="Save Print Setup "  onclick="sp()"/></td>
<%if(prt){%>
<td><input type="button" onclick="window.open('/ictm/soft/tmp/reports/final/<%=proj_id%>.pdf')" value="Last Report"/></td>
<%}%>
</tr>
</table>


<h4>Page Header Setup</h4>
<table border="1" cellpadding="3" cellspacing="0">
  <tr class="print_head">
    <td class="print_head" width="150" rowspan="2" align="left" valign="middle" nowrap="nowrap"> &nbsp; Description </td>
    <td class="print_head" rowspan="2" align="center" valign="middle" nowrap="nowrap"> Print<br/>        
      <input type="checkbox" name="checkbox2" value="checkbox" style="border-width:0 " onclick="selhead(this)"/>    </td>
    <td class="print_head" colspan="3" align="center" valign="top" nowrap="nowrap"> Alignment </td>
  </tr>
  <tr >
    <td width="26" nowrap="nowrap" class="print_head"> Left </td>
    <td width="25" nowrap="nowrap" class="print_head"> Center </td>
    <td width="25" nowrap="nowrap" class="print_head"> Right </td>
  </tr>
  <tr align="center">
    <td align="left" class="print_data">  &nbsp; <b>Company Name</b> </td>
    <td class="print_data">  <input style="border-width:0 " name="ctitle" type="checkbox" id="ctitle" value="Y" checked="checked" disabled="disabled"/>      </td>
    <td class="print_data">  <input style="border-width:0 " name="ctitle_al" type="radio" value="1" <%=(ctitle_al=="1")?"checked":""%>/>      </td>
    <td class="print_data">  <input style="border-width:0 " name="ctitle_al" type="radio" value="2"<%=(ctitle_al=="2")?"checked":""%>/>      </td>
    <td class="print_data">  <input style="border-width:0 " name="ctitle_al" type="radio" value="3"<%=(ctitle_al=="3")?"checked":""%>/>      </td>
  </tr>
  <tr align="center">
    <td align="left" class="print_data">  &nbsp; <b>Project Title</b> </td>
    <td class="print_data">  <input style="border-width:0 " name="ptitle" type="checkbox" id="ptitle" value="Y" <%=(pt=="Y")?"checked":""%>/>      </td>
    <td class="print_data">  <input style="border-width:0 " name="ptitle_al" type="radio" value="1"  <%=(pt_al=="1")?"checked":""%>/>      </td>
    <td class="print_data">  <input name="ptitle_al" type="radio" value="2" style="border-width:0 " <%=(pt_al=="2")?"checked":""%>/>    </td>
    <td class="print_data">  <input style="border-width:0 " name="ptitle_al" type="radio" value="3" <%=(pt_al=="3")?"checked":""%>/>      </td>
  </tr>
  <tr align="center">
    <td align="left" class="print_data">  &nbsp; <b>Application Title</b> </td>
    <td class="print_data">  <input style="border-width:0 " name="atitle" type="checkbox" id="atitle" value="Y" <%=(at=="Y")?"checked":""%>/>      </td>
    <td class="print_data">  <input style="border-width:0 " name="atitle_al" type="radio" value="1"  <%=(at_al=="1")?"checked":""%>/>      </td>
    <td class="print_data">  <input name="atitle_al" type="radio" value="2"  style="border-width:0 " <%=(at_al=="2")?"checked":""%>/>    </td>
    <td class="print_data">  <input style="border-width:0 " name="atitle_al" type="radio" value="3" <%=(at_al=="3")?"checked":""%> />      </td>
  </tr>
</table>




<h4>Page Footer Setup</h4>
<table border="1" cellpadding="3" cellspacing="0">
  <tr>
    <td width="150" rowspan="2" align="left" valign="middle" nowrap="nowrap" class="print_head">  &nbsp;  Description </td>
    <td rowspan="2" align="center" valign="middle" nowrap="nowrap" class="print_head"> Print <br>
    </td>
    <td colspan="3" align="center" valign="top" nowrap="nowrap" class="print_head"> Alignment </td>
  </tr>
  <tr >
    <td width="26" nowrap="nowrap" class="print_head"> Left </td>
    <td width="25" nowrap="nowrap" class="print_head"> Center </td>
    <td width="25" nowrap="nowrap" class="print_head"> Right </td>
  </tr>
  <tr align="center">
    <td align="left" class="print_data">  &nbsp; <b>Page No </b></td>
    <td class="print_data">
      <input style="border-width:0 " name="Pno" type="checkbox" id="Pno" value="Y" <%=(pnot=="Y")?"checked":""%>/>    </td>
    <td class="print_data">
      <input style="border-width:0 " name="pno_al" type="radio" value="1"  <%=(pnot_al=="1")?"checked":""%>/>    </td>
    <td class="print_data">
      <input name="pno_al" type="radio" value="2" style="border-width:0 " <%=(pnot_al=="2")?"checked":""%>/>    </td>
    <td class="print_data">
      <input style="border-width:0 " name="pno_al" type="radio" value="3"  <%=(pnot_al=="3")?"checked":""%>/>    </td>
  </tr>
</table>





<h4>Page Setup</h4>

<table border="1" cellpadding="3" cellspacing="0">
  <tr valign="top">
    <td rowspan="2" nowrap="nowrap" class="print_head" align="left" valign="middle"> Page Name </td>
    <td rowspan="2" nowrap="nowrap" class="print_head" align="center"> Print ? <br>
        <input style="border-width:0 " name="checkbox" type="checkbox"  onclick="sel(this)" value="checkbox" checked="checked"/>
    </td>
    <td rowspan="2" nowrap="nowrap" class="print_head" align="center" valign="top"> Back <br /> Color </td>
    <td colspan="2" nowrap="nowrap" class="print_head" align="center" valign="middle"> Orientation </td>
    <td rowspan="2" nowrap="nowrap" class="print_head" align="center" valign="middle"> Page Size  </td>
    <td colspan="4" nowrap="nowrap" class="print_head" align="center"> Margin [Inches] </td>
    <td rowspan="2" nowrap="nowrap" class="print_head" align="left" valign="middle"> Scaling </td>
    <td rowspan="2" nowrap="nowrap" class="print_head" align="left" valign="middle"> Preview </td>
  </tr>
  <tr >
    <td nowrap="nowrap" class="print_head" align="left">Portrait</td>
    <td nowrap="nowrap" class="print_head" align="left">Landscape</td>
    <td nowrap="nowrap" class="print_head" align="center"> Left </td>
    <td nowrap="nowrap" class="print_head" align="center"> Right </td>
    <td nowrap="nowrap" class="print_head" align="center"> Top </td>
    <td nowrap="nowrap" class="print_head" align="center"> Bottom </td>
    </tr>
<%
comm=new OleDbCommand("select prt.proj_id,prt.app_id,prt.sub_id,prt.print,prt.orientation,prt.pagesize,prt.lm,prt.back, " +
						"prt.rm,prt.tm,prt.bm,prt.scaling,mas.FILE_NAME,mas.description from ictm_print prt,ictm_print_master mas  " +
						"where prt.app_id=mas.APP_ID and prt.sub_id=mas.SUB_ID and prt.proj_id='"+proj_id+"' and prt.app_id="+app+" order by prt.sub_id",conn);
dr=comm.ExecuteReader();
while(dr.Read()){
i++;
%>
  <tr>
    <td class="print_data" align="left" valign="middle" nowrap="nowrap"> <b><%=dr["description"]%></b>&nbsp;
	<input type="hidden" name="fn_<%=i%>" value="<%=dr["file_name"]%>"/>
	<input name="sub_id_<%=i%>" type="hidden" id="sub_id_<%=i%>" value="<%=dr["sub_id"]%>"/>	
	</td>
    <td class="print_data" align="center"><input name="print_<%=i%>" type="checkbox" value="Y" <%=dr["print"].ToString()=="Y"?"checked":""%> style="border-width:0 "/></td>
    <td class="print_data">
      <div align="center">
        <input name="back_<%=i%>" type="checkbox" id="back_<%=i%>" value="Y" <%=dr["back"].ToString()=="Y"?"checked":""%> style="border-width:0 "/>
</div></td>
    <td nowrap="nowrap" class="print_data"><div align="center">
      <input name="ori_<%=i%>" type="radio" style="border-width:0 " value="1" <%=dr["orientation"].ToString()=="1"?"checked":""%>/>
    </div></td>
    <td nowrap="nowrap" class="print_data"><div align="center">
      <input name="ori_<%=i%>" type="radio" value="2" style="border-width:0 "<%=dr["orientation"].ToString()=="2"?"checked":""%>/>
    </div></td>
    <td nowrap="nowrap" class="print_data">
	<% int pg=9;
	try{
		pg=Convert.ToInt32(dr["pagesize"]);
	}catch(Exception ex){if(log!=null) log.log(ex.ToString());	}
	%>
      <select name="pg_<%=i%>" style="width:160">
        <option value="1" <%=(pg==1)?"selected":""%>>Letter 8 1/2 x 11 in</option>
        <option value="2" <%=(pg==2)?"selected":""%>>Letter Small 8 1/2 x 11 in</option>
        <option value="3" <%=(pg==3)?"selected":""%>>Tabloid 11 x 17 in</option>
        <option value="4" <%=(pg==4)?"selected":""%>>Ledger 17 x 11 in</option>
        <option value="5" <%=(pg==5)?"selected":""%>>Legal 8 1/2 x 14 in</option>
        <option value="6" <%=(pg==6)?"selected":""%>>Statement 5 1/2 x 8 1/2 in</option>
        <option value="7" <%=(pg==7)?"selected":""%>>Executive 7 1/2 x 10 1/2 in</option>
        <option value="8" <%=(pg==8)?"selected":""%>>A3 297 x 420 mm</option>
        <option value="9" <%=(pg==9)?"selected":""%>>A4 210 x 197 mm</option>
        <option value="10" <%=(pg==10)?"selected":""%>>A4 Small 210 x 297 mm</option>
        <option value="11" <%=(pg==11)?"selected":""%>>A5 148 x 210 mm</option>
        <option value="12" <%=(pg==12)?"selected":""%>>B4 250 x 354 mm</option>
        <option value="13" <%=(pg==13)?"selected":""%>>B5 182 x 257 mm</option>
        <option value="14" <%=(pg==14)?"selected":""%>>Folio 8 1/2 x 13 in</option>
        <option value="15" <%=(pg==15)?"selected":""%>>Quarto 215 x 275 mm</option>
        <option value="16" <%=(pg==16)?"selected":""%>>10 x 14 in</option>
        <option value="17" <%=(pg==17)?"selected":""%>>11 x 17 in</option>
        <option value="18" <%=(pg==18)?"selected":""%>>Note 8 1/2 x 11 in</option>
        <option value="24" <%=(pg==24)?"selected":""%>>C size sheet</option>
        <option value="25" <%=(pg==25)?"selected":""%>>D size sheet</option>
        <option value="26" <%=(pg==26)?"selected":""%>>E size sheet</option>
      </select>
	</td>
    <td nowrap="nowrap" class="print_data"><div align="center">
      <input name="lm_<%=i%>" type="text" value="<%=dr["lm"]%>" size="4"/>      
    </div></td>
    <td nowrap="nowrap" class="print_data"><div align="center">
      <input name="rm_<%=i%>" type="text" value="<%=dr["rm"]%>" size="4"/>
    &nbsp; </div></td>
    <td nowrap="nowrap" class="print_data"><div align="center">
      <input name="tm_<%=i%>" type="text" value="<%=dr["tm"]%>" size="4"/>
    &nbsp; </div></td>
    <td nowrap="nowrap" class="print_data"><input name="bm_<%=i%>" type="text" value="<%=dr["bm"]%>" size="4"/></td>
    <td nowrap="nowrap" class="print_data"><input name="scaling_<%=i%>" type="text" id="scaling_<%=i%>" value="<%=dr["scaling"]%>" size="5"/> 
      % </td>
    <td nowrap="nowrap" class="print_data"><div align="center"><a href="javascript:prev('<%=dr["sub_id"]%>','<%=i%>')">Preview</a></div></td>
  </tr>
<%
}
%>
</table>
<br/>
<input type="hidden" name="no" value="<%=i%>"/>

</form>
</body>
</html>

Prev1.aspx:

<%@ Page Language="C#" ContentType="text/html" ResponseEncoding="iso-8859-1" %>
<%@ Import namespace="APServerNET"%>
<%@ Import namespace="APWebGrbNET"%>
<%@ Import namespace="APToolkitNET"%>
<%@ Import Namespace="System" %>
<%@ Import Namespace="System.IO" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Data.OleDb" %>

<%
    OleDbConnection conn = new OleDbConnection(System.Configuration.ConfigurationManager.AppSettings["MM_CONNECTION_STRING_ictmdb"]);
    

    
try{
	string comp=Request.Form["comp"];
	string project=Request.Form["project"];
	string app_name=Request.Form["app_name"];
	string application=Request.Form["application"];
	string ctitle_align=Request.Form["ctitle_al"];
	string atitle_align=Request.Form["atitle_al"];
	string ptitle_align=Request.Form["ptitle_al"];		
	string atitle=Request.Form["atitle"];
	string ptitle=Request.Form["ptitle"];		
//	Response.Buffer=false;
	Server.ScriptTimeout=2400;
	string pdfurl="";
	int no=Convert.ToInt32(Request.Form["no"]),i=0;
	string ht=Request.Form["ht"];
	string ft=Request.Form["ft"];	

	ht="<br><br><table cellpadding=0 celspacing=0 width='100%'><tr><td width='33%' valign='top'>";
	bool f=false;
	if (ctitle_align=="1") {
		ht+=comp;f=true;
	}
	if(ptitle=="Y" && ptitle_align=="1") {
		ht+=(f)?"<br>":"";
		ht+=project;
		f=true;
	}
	if(atitle=="Y" && atitle_align=="1") {
		ht+=(f)?"<br>":"";
		ht+=application;
		f=true;
	}
	ht+="</td><td width='33%' valign='top' align='Center' >";
	f=false;
	if (ctitle_align=="2") {
		ht+=comp;f=true;
	}
	if(ptitle=="Y" && ptitle_align=="2") {
		ht+=(f)?"<br>":"";
		ht+=project;
		f=true;
	}
	if(atitle=="Y" && atitle_align=="2") {
		ht+=(f)?"<br>":"";
		ht+=application;
		f=true;
	}
	ht+="</td><td width='33%' align='right' valign='top' >";
	f=false;
	if (ctitle_align=="3") {
		ht+=comp;f=true;
	}
	if(ptitle=="Y" && ptitle_align=="3") {
		ht+=(f)?"<br>":"";
		ht+=project;
		f=true;
	}
	if(atitle=="Y" && atitle_align=="3") {
		ht+=(f)?"<br>":"";
		ht+=application;
		f=true;
	}
	ht+="</td></tr></table><hr>";
    	APWebGrabber wb=new APWebGrabber();
	APServer aps=new APServer();
	StringWriter wtr=new StringWriter();	
	i=Convert.ToInt32(Request.QueryString["n"]);
			string pg=Request.Form["fn_"+i];			
				Server.Execute(pg,wtr);			
			string htm=wtr.ToString();
           htm=htm.Replace("/ictm/soft/tmp/","http://192.168.0.106/ictm/soft/tmp/");
          htm=htm.Replace("/ictm/images/","http://192.168.0.106/ictm/images/");
			pdfurl="http://192.168.0.106" + Request.FilePath;
          
			wb.URL=pdfurl;
			wb.PrintBackgroundColors=0;
			//wb.PrintBackgroundColors=2;
			wb.HTMLTextToFile=true;
			wb.CreateFromHTMLText=htm;
			
			if (Request.Form["back_"+i]=="Y")
				wb.EngineToUse=1;
			else
				wb.EngineToUse=0;
				
			aps.PaperSize=Convert.ToInt16(Request.Form["pg_"+i]);
			aps.Orientation=Convert.ToInt16(Request.Form["ori_"+i]);
			aps.Scaling=Convert.ToInt16(Request.Form["scaling_"+i]);
			wb.LeftRightMargin=(int)(Convert.ToDouble(Request.Form["lm_"+i])*600);
			wb.TopBottomMargin=(int)(Convert.ToDouble(Request.Form["tm_"+i])*600);
			wb.IELeftMargin=(float)Convert.ToDouble(Request.Form["lm_"+i]);
			wb.IERightMargin=(float)Convert.ToDouble(Request.Form["rm_"+i]);
			wb.IETopMargin=(float)Convert.ToDouble(Request.Form["tm_"+i]);
			wb.IEBottomMargin=(float)Convert.ToDouble(Request.Form["bm_"+i]);		
			wb.HeaderHTML=ht;
			wb.FooterHTML="<hr>";
			
			aps.OutputDirectory=Server.MapPath("/ictm/soft/tmp/reports");
			wb.Prt2DiskSettings=aps.XMLData();
			int ixi=wb.DoPrint("192.168.0.106",64320);
            //int ixi = wb.DoPrint("192.168.0.106", 64320);
            if (ixi!=0) {
				Response.Write("There is a error "+ ixi);
				Response.End();
			}
            string wr = wb.Wait("192.168.0.106", 64320, 90, "");
			if (wr!="019"){
                if (wr == "099")
                { Response.Write("<font color='red'><em>Margin inconsistent with printable area. Please check your margins and page size.</em></font>"); }
                else
                { Response.Write("There is a PDF Job " + wr); }			
				Response.End();
			}
			aps.Wait(400);
			
			Response.Write(htm);
		
	aps.FromString(wb.Prt2DiskSettings);
    conn.Open();
    OleDbCommand  comm = new OleDbCommand("insert into ictm_print_TmpPdfs (proj_id,file_name) values ('" + Session.Contents["proj_id"].ToString() + "','" + aps.NewUniqueID + "')", conn);
    comm.ExecuteNonQuery();
    conn.Close();
    
	Response.Redirect("/ictm/soft/tmp/reports/"+aps.NewUniqueID + ".PDF");

}catch(Exception ex){
    
    //check error here naveed 
Response.Write("----"+ex.ToString());
}

%>

ee.css

/* CSS Document */
body {
	font-family: arial;
	background-color:none;
	font-size:8pt;
	margin-top:0;
	margin-left:20px;
}
.VerticalText
{
    filter: flipV flipH ;	
    writing-mode: tb-rl;

	
}
.VerticalText1
{
    filter: flipV flipH ;	
    writing-mode: tb-rl;
	
layout-flow : vertical-ideographic;
	
}
.Vert_stbtext
{
    filter: flipV flipH ;	
	writing-mode:tb-rl;
	    
	
	
	font-weight:bolder;
	border-bottom-color:#999999;
	border-right-color:#999999;
}


.Vert_Text1
{
	filter: flipV flipH ;
    writing-mode: tb-rl;
	background-color:#ADCFE9;
}

.Vert_Text2
{
   filter: flipV flipH ;
    writing-mode: tb-rl;
	background-color:#D7EEFF;
}
.Vert_Text3
{
   filter: flipV flipH ;
    writing-mode: tb-rl;
	background-color:#9CE2A9;
}
.Vert_Text4
{
    filter: flipV flipH ;
    writing-mode: tb-rl;
	background-color:#FEA959;
	font-weight:bolder;
}
.Vert_Text5
{
    filter: flipV flipH ;
    writing-mode: tb-rl;
	background-color:#F78AE7;
	font-weight:bolder;
}
.Vert_Text6
{
    filter: flipV flipH ;
    writing-mode: tb-rl;
	background-color:#6cabd9;
	font-weight:bolder;
}
.Vert_Text7
{
    filter: flipV flipH ;
    writing-mode: tb-rl;
	background-color:#FF99CC;
	font-weight:bolder;
}

.Vert_Text8
{
    filter: flipV flipH ;
    writing-mode: tb-rl;
	background-color:#E9F0F3;
	font-weight:bolder;
}

.Vert_Text9
{
    filter: flipV flipH ;
    writing-mode: tb-rl;
	background-color:#9FA0D2;
	font-weight:bolder;
}
.Vert_Text10
{
    filter: flipV flipH ;
    writing-mode: tb-rl;
	background-color:#ffeba6;
	font-weight:bolder;
}




.Vert_pinkText
{
	filter: flipV flipH ;	
    writing-mode: tb-rl;
	background-color:#FFB7DB;
	font-weight:bolder;
}
.Vert_grnText
{   
	filter: flipV flipH ;	
    writing-mode: tb-rl;
	background-color:#9CE2A9;
	font-weight:bolder;
}
.Vert_bluText
{
	filter: flipV flipH ;	
    writing-mode: tb-rl;
	background-color:#6CABD9;
	font-weight:bolder;
}

td.dcphead
{
	background-color:#EBDC76;
	font-weight:bolder;
}
td.dcpgrp
{
	background-color:#F3F0C2;
}
td.dcpdata
{
	background-color:#FEFFEC;	
}

td.sh3
{
	background-color:#adcfe9;
	text-align:left;
	font-weight:bolder;
}

td.isobldlvl3
{
	background-color:#D1EBF8;
	font-weight:bolder;
}

td.sh2
{
	background-color:#FEA959;
	text-align:center;
	font-weight:bolder;
}
td.actTab
{
	background-color:#000099;
	text-align:center;
	vertical-align:middle;
	font-size:16px;
	font-family:Arial;
	font-weight:bolder;
	color:#FFFFFF;
}
td.nonActTab
{
	background-color:#BAD8E9;
	text-align:center;
	vertical-align:middle;
	font-size:12px;
	font-family:Arial;	
	color:#003399;
}
td.nonSelTab
{
	background-color:#E6E6E6;
	text-align:center;
	vertical-align:middle;
	font-size:12px;
	font-family:Arial;		
}
td.isobldlvl2
{
	background-color:#B5E0F4;
	font-weight:bolder;
}
td.isolvl2
{
	background-color:#B5E0F4;
}
td.isodata
{
	background-color:#ECF8FD;
}
td.isobldlvl1
{
	background-color:#83B6D1;
	font-weight:bolder;
}
td.isolvl1
{
	background-color:#83B6D1;
}


thead {
  display: table-header-group;
 }
 
pre {
	font-family: arial;
	font-size:8pt;
}

a
{
color:#FF0000;
font-size:8pt;
text-decoration:none;
}

a:hover
{
color:#990000
}

a:link
{
color:#990000;
font-size:8pt;
text-decoration:none;
}

a:visited
{
color:#990000;
font-size:8pt;
text-decoration:none;
}

h1
{
	color:#FF8346;
	font-size:16pt
}

h2
{
	color:#004F9D;
	font-size:14pt
}

h3
{
	color:#3399FF;
	font-size:12pt
}


table
{
	font-family: arial;
	font-size:8pt;
}
.head_style
{
	font-size:18pt;
	font-family:Verdana;	
	color:#ab1a10;
	font-weight:bolder;
}
form
{

}
BUTTON
{
	background-color: #77BBFF;
	color:#00CCFF;
}
input{

font-size:8pt;
font-family:verdana;
border-width:1px;
border-style:solid;
border-color:#333399
}
textarea{
font-size:8pt;
font-family:verdana;
border-width:1px;
border-style:solid;
}
select{
background-color:#abc9ee;
font-size:8pt;
font-family:verdana;
border-width:1px;
border-style:solid;
}
input.text
{
background-color:#ffffff;
}
input.bgbutton
{
color:Navy;
background-color:#77bbff;
border-width:1px;
border-color:#000066;
}
.CC
{
 	background-color:#FB83D2;
}
.SC
{
 	background-color:#FAC5E8;
}
.AC
{
 	background-color:#FEEBF8;
}
.OK
{
 	background-color:#F1F8FB;
}
.Zpair_bg
{
 	background-color:#F8FCFD;
}
.Zpair_tdbg
{
 	background-color:#E9F0F3;
}


.tdsel
{
	background-color:#d7d9da;
	border-width:1px;
	border-style:solid;
	border-color:#4e6172;
	border-right-style:none;
}
.tdsel-without
{
	background-color:#d7d9da;
}
.bgcolor-panel
{
	margin-left: 0px;
	margin-right:0px;
	background-color:#2083C4;
	
}
.scroll-panel
{
}
.TA 
{
}
.qfdheadsel
{
	background-color:#6ccfff;
}
.qfdtitlesel
{
	background-color:#99FFCC;
}
.titledata
{
	font-weight:bold;
}
.importantdata
{
	font-weight:bold;
}
.hdata
{
background-color:#33CCCC;
}
.vdata
{
background-color:#99FFCC;
}
.impNew
{
	background-color:#F4E7F4;
}
.impExist
{
	background-color:#FFFAE2;
}
.impNonExist
{
	background-color:#D6EBF2;
}
.impHead
{
	background-color:#C6DFD5;
}
.titlecol
{
	background-color:#E7F4E7;
}
.functioncol
{
	background-color:#F7DACA;
}

table.spcnorm
{
	background-color:#79cec9;
}
td.sh
{
	background-color:#adcfe9;
	text-align:right;
	font-weight:bolder;
}
td.sh1
{
	background-color:#adcfe9;
	text-align:center;
	font-weight:bolder;
}
td.data
{
	background-color:#d7eeff;
}
td.head
{
	background-color:#6cabd9;
	font-weight:bolder;
}
td.tdbox
{
border-width:medium;
border-style:solid;
border-color:#ff0000;
}

td.tdbox1
{

border-width:medium;
border-style:solid;
border-color:#00ff00;
}

td.green1
{
background-color:#85DC89;
}
td.green2
{
background-color:#ABE7AE;
}
td.green3
{
background-color:#C9EFCD;
}
td.green4
{
background-color:#E0F5E0;
}

td.blue1
{
background-color:#8CA4FF;
}
td.blue2
{
background-color:#A6BAFF;
}
td.blue3
{
background-color:#C6D2FF;
}
td.blue4
{
background-color:#DDE3FF;
}

td.leftsh
{
	background-color:#ADCFE9;
	text-align:left;
	font-weight:bolder;
}
td.unsh
{
	background-color:#C1F0D6;
	text-align:left;
	font-weight:bolder;
}
td.unhead
{
	background-color:#9CE2A9;
	font-weight:bolder;
}


tr.trblue1
{
background-color:#8CA4FF;
}
tr.trblue2
{
background-color:#A6BAFF;
}
tr.trblue3
{
background-color:#C6D2FF;
}
tr.trblue4
{
background-color:#DDE3FF;
}


td.pink1
{
background-color:#FFAAB7;
}
td.pink2
{
background-color:#FFBFC9;
}
td.pink3
{
background-color:#FFDDE3;
}
td.pink4
{
background-color:#FFF0F2;
}

tr.trpink1
{
background-color:#FFAAB7;
}
tr.trpink2
{
background-color:#FFBFC9;
}
tr.trpink3
{
background-color:#FFDDE3;
}
tr.trpink4
{
background-color:#FFF0F2;
}

td.orange1
{
background-color:#FFb769;
}
td.orange2
{
background-color:#FFCF9B;
}
td.orange3
{
background-color:#FFe2c3;
}
td.orange4
{
background-color:#FFECD7;
}


th.Head1
{
background-color:#59ACFF;
}
tr.sub1
{
background-color:#FFD7AE;
}
tr.sub2
{
background-color:#D9ECFF;
}
table.outerborder{
border-width:1px;
border-bottom-width:1px;
border-top-width:1px;
border-left-width:1px;
border-right-width:1px;
}
td.doe_ia{
background-color:#fff299;
}
td.doe_ia_head{
background-color:#EADB1B;
}
td.doe_oa{
background-color:#99ffcc;
}
td.doe_oa_head{
background-color:#00AB39;
}
td.doe_da{
background-color:#ffd6c6;
}
td.doe_da_head{
background-color:#EDB996;
}
td.doe_cum{
background-color:#FBC2AB;
}
td.doe_cum_head{
background-color:#EEAD81;
}
td.doe_tpm{
background-color:#ffad99;
}
td.doe_tpm_head{
background-color:#FF8E70;
}
td.doe_npm{
background-color:#e2ff99;
}
td.doe_npm_head{
background-color:#BAE55F;
}
td.print_head{
	background-color:#B9CFFF;
	font-weight:bolder;
}
td.print_data{
	background-color:#EAF1FF;
}
td.spc_sh_new{
	background-color:#DFEFFF;
}
td.spc_data_new{
	background-color:#FBFDFF;
}
td.spc_sh_open{
	background-color:#FDE4CC;
}
td.spc_data_open{
	background-color:#FFF9F2;
}
td.rel0
{
 	background-color:#DBDBDB;
}
td.rel1
{
 	background-color:#BBB1F4;
}
td.rel2
{
 	background-color:#8A8AFF;
}
td.rel3
{
 	background-color:#FFCADB;
}
td.rel4
{
 	background-color:#FF97B9;
}
.d9
{
 	background-color:#0066CC;
}
.d3
{
 	background-color:#3E9EFF;
}
.d2
{
 	background-color:#ff9b9b;
}
.d1
{
 	background-color:#C6E2FF;
}
.d0
{
 	background-color:#DBDBDB;
}



.d12
{
 	background-color:#66aaff;
}
.d11
{
 	background-color:#C6E2FF;
}
.d10
{
 	background-color:#ff9b9b;
}











td.qfd_brline{
	background-color:#999999;
}

td.qfd_header{
background-color:#DAEBB4;
}
td.qfd_title{
background-color:#FFDFF4;
}
td.qfd_imp{
background-color:#CCF4FF;
}
td.qfd_imp_head{
background-color:#91E7FF;
}
td.qfd_comp{
background-color:#FFF5CE;
}
td.qfd_comp_head{
background-color:#FFEDA6;
}
td.qfd_prod{
background-color:#FFDFDF;
}
td.qfd_prod_head{
background-color:#FFC1C1;
}
td.qfd_ovr{
background-color:#F0E1FF;
}
td.qfd_ovr_head{
background-color:#DFBFFF;
}

td.qfd_obj{
background-color:#CCF4FF;
}
td.qfd_obj_head{
background-color:#91E7FF;
}

td.qfd_timp{
background-color:#F0E1FF;
}

td.qfd_timp_head{
background-color:#DFBFFF;
}

td.qfd_legal{
background-color:#FFD5EA;
}
td.qfd_legal_head{
background-color:#B0E6FF;
}
td.qfd_menus{
background-color:#99ccff;
}

tr.isodata
{
	background-color:#ECF8FD;
}
tr.isolvl1
{
	background-color:#83B6D1;
}
tr.isolvl2
{
	background-color:#B5E0F4;
}
tr.data
{
	background-color:#D7EEFF;
}
tr.head
{
	background-color:#6CABD9;
	font-weight:bolder;
}

td.grrhead1
{
	background-color:#6CABD9;
	font-weight:bolder;
}

td.grrhead2
{
	background-color:#FF99CC;
	font-weight:bolder;
}
td.grrhead3
{
	background-color:#9CE2A9;
	font-weight:bolder;
}
td.grrhead4
{
	background-color:#9FA0D2;
	font-weight:bolder;
}
td.grrhead5
{
	background-color:#FEA959;
	font-weight:bolder;
}
td.grrhead6
{
	background-color:#ffeba6;
	font-weight:bolder;
}




td.grrdata1
{
	background-color:#D7EEFF;
}
td.grrdata2
{
	background-color:#FFE6F2;
}

td.grrdata3
{
	background-color:#E0F1DA;
}
td.grrdata4
{
	background-color:#F4F4FF;
}
td.grrdata5
{
	background-color:#ffe8c5;
}
td.grrdata6
{
	background-color:#FCFAE2;
}





tr.grrhead1
{
	background-color:#6CABD9;
	font-weight:bolder;
}

tr.grrhead2
{
	background-color:#FF99CC;
	font-weight:bolder;
}
tr.grrhead3
{
	background-color:#9CE2A9;
	font-weight:bolder;
}

tr.grrdata1
{
	background-color:#D7EEFF;
}
tr.grrdata2
{
	background-color:#FFE6F2;
}

tr.grrdata3
{
	background-color:#E0F1DA;
}
td.grrsh1
{
	background-color:#ADCFE9;
}
td.grrsh2
{
	background-color:#FFC4E1;
}
td.grrsh3
{
	background-color:#C1F0D6;
}
td.grrsh4
{
	background-color:#dcd5ee;
}
td.grrsh5
{
	background-color:#ffd0ab;
}


td.affmgrp
{
	background-color:#83B6D1;
	font-weight:bolder;
}

td.affunsh
{
	background-color:#C1F0D6;
	font-weight:bolder;
}

td.affunsh1
{
	background-color:#C1F0D6;
}

td.affundata
{
	background-color:#E0F1DA;	
}

td.affunhead
{
	background-color:#9CE2A9;
	font-weight:bolder;
}

td.affsh
{
	background-color:#ADCFE9;
}



td.com_head{
background-color:#D4CD70;
}

td.com_sh{
background-color:#D2CF90;
}

td.com_data{
background-color:#DFDCB0;
}


td.pay_head{
background-color:#D4CD70;
}
td.pay_sh{
background-color:#D4CD70;
}
td.pay_data{
background-color:#D4CD70;
}

td.pack_head{
background-color:#D4CD70;
}
td.pack_sh{
background-color:#D4CD70;
}
td.pack_data{
background-color:#D4CD70;
}

td.com_head{
background-color:#C1B950;
}
td.com_sh{
background-color:#D2CB79;
}
td.com_data{
background-color:#FEFCE6;
}


td.pay_head{
background-color:#FAA4ED;
}
td.pay_sh{
background-color:#FDC8F5;
}
td.pay_data{
background-color:#E2E1FB;
}

td.pack_head{
background-color:#C8C7FC;
}
td.pack_sh{
background-color:#D1D0F2;
}
td.pack_data{
background-color:#ECEBFB;
}


td.user_head{
background-color:#7CCDB2;
}
td.user_sh{
background-color:#A4DBC9;
}
td.user_data{
background-color:#D0EDE3;
}


td.proj_head{
background-color:#F8A9EC;
}
td.proj_sh{
background-color:#F8BFF0;
}
td.proj_data{
background-color:#FCDEF8;
}

table.Static_App_main_table
{
	width  :100%;
	border-style :none;
	border-width:0px;
}

 .divLeft
{
	position:absolute;
	left:0px;
	top:72px;
	width:188px;
	height:100%;
	z-index:2;
	background-color:#94B4EB;
}
.divMain
{
	position:absolute;
	left:188px; 
	top:71px; 
	width:790px; 
	height:100%; 
	z-index:2
}
.divTop
{
	position:absolute;
	left:0px;
	top:0px;
	width:100%;
	height:71px;
	z-index:1; 
	background-image:url(/ictm/Images/bar22BG.gif); 
	border: 1px none #000000;
}

.imgWrapRight
{
	float:right;
}
p
{
	font-weight:normal;
	font-family:Verdana;
}
a.aNormal
{
	font-weight:normal;
	font-family:Verdana;
	color:Blue;
	text-decoration:underline;
	font-size:10pt;
}



table.bgorng
{
	background-color:#FDF6EE;
}
table.bggrn
{
	background-color:#FAFBF4;
}
table.bgvlt
{
	background-color:#FBFBFB;
}
table.bgblu
{
	background-color:#F6FAFB;
}



td.orng_head{
background-color:#F4AC64;
font-weight:bolder;
}
td.orng_head1{
background-color:#F4D2B0;
font-weight:bolder;
}
td.orng_head2{
background-color:#F5E1CE;
font-weight:bolder;
}
td.orng_sh{
background-color:#ECCAA8;
font-weight:bolder;
}

td.orng_data{
background-color:#F8EBDF;
}



td.grn_head{
background-color:#BFC89A;
font-weight:bolder;
}

td.grn_sh{
background-color:#CEDD98;
font-weight:bolder;
}

td.grn_data1{
background-color:#FCFBEA;
}

td.grn_data{
background-color:#F4FBD9;
}

td.vlt_head{
background-color:#E8D9EB;
font-weight:bolder;
}
td.vlt_head1{
background-color:#D5B4D7;
font-weight:bolder;
}
td.vlt_head2{
background-color:#b38cff;
font-weight:bolder;
}
td.vlt_data{
background-color:#FAF2FC;
}
td.vlt_data1
{
	background-color :#FDFBFD;
}
td.vlt_data2
{
	background-color :#F4F4FF;
}


td.vltin_head1{
background-color:#CBD6E3;
font-weight:bolder;
}
td.vltin_data1{
background-color:#F1F4F8;
}
td.vltin_head2{
background-color:#DFE6D1;
font-weight:bolder;
}
td.vltin_data2{
background-color:#F7FBEE;
}
td.vltin_head3{
background-color:#F0E8DB;
font-weight:bolder;
}
td.vltin_data3{
background-color:#FCF8F1;
}

td.blu_head1{
background-color:#B7C5D1;
font-weight:bolder;
}
td.blu_head2{
background-color:#D2DDE7;
font-weight:bolder;
}
td.blu_head3{
background-color:#E3EEF7;
font-weight:bolder;
}

td.blu_head4{
background-color:#C5E2F6;
font-weight:bolder;
}

td.blu_data{
background-color:#F4F9FE;
}



font.delitems
{
	color:#ff0033;
}
font.subhead
{
	color:#0066CC;
	font-weight:bolder;
	font-family:Arial ;
	font-size:15px;
}
font.grahead
{
	font-weight:bolder;
	font-family:Arial ;
	font-size:13px;
}

Edited by naveedqadri: Missing some coments

1
Contributor
1
Reply
2
Views
5 Years
Discussion Span
Last Post by naveedqadri
1

At last I got what I needed. Now my pdf is working fine like before. Problem waass in IE setting. When I checked the IE option ---> Advance Tab and Print portion was Unchecked , that why background colors were disable. So I am happy , But thanks all who were helping me in this problem.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.