473,788 Members | 2,816 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Report PDF

Hi all ,

I have been tried to print php file to pdf without any success.
Using many tools for example , fpdf and html2fpdf library , similar
result.

below is my code , i did not why the pdf printed on the screen is
different from the page on the browser, the aligment is out and some
fields are missing .
Anyone have success stories using tools above or other ,please share
with me.

Thanks

<?php
require '../pdf/html2fpdf.php';
ob_start();
?>
<HTML><HEAD><TI TLE>Kim Seng Heng Intranet -View Certificate</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8"><LINK
href="vc_files/common.css" rel=stylesheet>
<META content=quekky name=Author>
<META content="MSHTML 6.00.2900.2963" name=GENERATOR> </HEAD>
<BODY bottomMargin=0 leftMargin=0 topMargin=0 rightMargin=0>< IFRAME
id=DivShim
style="DISPLAY: none; LEFT: 0px; WIDTH: 0px; POSITION: absolute; TOP:
0px; HEIGHT: 0px"
src="about:blan k" frameBorder=0 scrolling=no></IFRAME>
<TABLE height=500 cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD style="BACKGROU ND-REPEAT: no-repeat; BACKGROUND-COLOR: #1db4f4"

background=vc_f iles/banner.gif height=65>
<DIV style="WIDTH: 100%; CURSOR: hand; HEIGHT: 100%"
onclick="locati on='/'"><IMG class=printonly
src="vc_files/banner.gif"></DIV></TD></TR>
<TR class=noprint>
<TD class=topmenu vAlign=center align=left height=19><A
class=topmenu
onmouseover="dr opdownmenu(this , event, 'Link0')"
href="http://ksh/pcs.pm/cop_view.php?t= 39&amp;cop=1#"> <IMG
src="vc_files/bullet.gif" border=0Progres s Claim System</A>
<!--<img border="0" src="http://ksh/images/pcsbtn.gif"
onMouseover="dr opdownmenu(this , event, 'Link0')">-->
<DIV class=dropdown id=Link0>
<TABLE cellSpacing=0 cellPadding=1 border=0>
<TBODY>
<TR>
<TD class=LINKSON height=15>Budge ting</TD></TR>
<TR>
<TD class=LINKSON height=15><A class=menu

href="http://ksh/pcs.qs/tradeedit.php"> &nbsp;&nbsp;&nb sp;<SPAN
class=LINKSOFF> ·</SPANNew Trade</A></TD></TR>
<TR>
<TD class=LINKSON height=15><A class=menu

href="http://ksh/pcs.qs/tradelist.php"> &nbsp;&nbsp;&nb sp;<SPAN
class=LINKSOFF> ·</SPANEdit Trade</A></TD></TR>
<TR>
<TD class=LINKSON height=15><A class=menu
href="http://ksh/pcs.qs/cop_summary.php ">Certifica te of
Payment</A></TD></TR>
<TR>
<TD class=LINKSON height=15><A class=menu
href="http://ksh/pcs.pm/vetcop.php">Vet Certificate of
Payment</A></TD></TR>
<TR>
<TD class=LINKSON height=15><A class=menu
href="http://ksh/pcs.fn/paymentvoucher. php">Payment
Voucher</A></TD></TR></TBODY></TABLE></DIV><A class=topmenu
onmouseover="dr opdownmenu(this , event, 'Link1')"
href="http://ksh/pcs.pm/cop_view.php?t= 39&amp;cop=1#"> <IMG
src="vc_files/bullet.gif" border=0Admin</A>
<DIV class=dropdown id=Link1>
<TABLE cellSpacing=0 cellPadding=1 border=0>
<TBODY>
<TR>
<TD class=LINKSON height=15><A class=menu
href="http://ksh/admin/listuser.php">U ser</A></TD></TR>
<TR>
<TD style="BACKGROU ND-COLOR: #cccccc" vAlign=top
height=1></TD></TR>
<TR>
<TD class=LINKSON height=15>Progr ess Claim System</TD></TR>
<TR>
<TD class=LINKSON height=15><A class=menu

href="http://ksh/admin/listproject.php ">&nbsp;&nbsp;& nbsp;<SPAN
class=LINKSOFF> ·</SPANProject</A></TD></TR>
<TR>
<TD class=LINKSON height=15><A class=menu

href="http://ksh/admin/listcontractor. php">&nbsp;&nbs p;&nbsp;<SPAN
class=LINKSOFF> ·</SPANContractor</A></TD></TR>
<TR>
<TD class=LINKSON height=15><A class=menu

href="http://ksh/admin/listcostcode.ph p">&nbsp;&nbsp; &nbsp;<SPAN
class=LINKSOFF> ·</SPANCost Code</A></TD></TR>
<TR>
<TD class=LINKSON height=15><A class=menu

href="http://ksh/admin/listunit.php">& nbsp;&nbsp;&nbs p;<SPAN
class=LINKSOFF> ·</SPANUnit (for
worksheet)</A></TD></TR></TBODY></TABLE></DIV><A class=topmenu
href="http://ksh/?logout"><IMG src="vc_files/bullet.gif"
border=0>
Logout</A<!--<a href="http://ksh/?logout"><img
src="http://ksh/images/logoutbtn.gif" border="0"></a>--></TD></TR>
<TR>
<TD style="BACKGROU ND-REPEAT: no-repeat" vAlign=top
background=vc_f iles/background.gif>
<FORM id=copform name=copform method=post><IN PUT id=CODE
type=hidden
value=00 name=CODE>
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD colSpan=3><IMG src="vc_files/copmanager.gif"
border=0><BR></TD></TR>
<TR>
<TD class=menusubti tle colSpan=10>&nbs p;&nbsp;&nbsp;& nbsp; <A

href="http://ksh/pcs.pm/vetcop.php">Sum mary</A» <A

href="http://ksh/pcs.pm/cop_contractor. php?p=19">Contr actors</A»
View Certificate<BR> <BR></TD></TR>
<TR>
<TD align=middle colSpan=2>&nbsp ; </TD>
<TD align=middle width="98.5%">
<DIV
style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc
1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98.5%; BORDER-BOTTOM:
#cccccc 1px solid">
<TABLE cellSpacing=0 cellPadding=2 width="100%" border=0>
<TBODY>
<TR>
<TD class=title align=middle colSpan=11>KIM SENG HENG
ENGINEERING CONSTRUCTION (PTE) LTD</TD></TR>
<TR>
<TD class=subtitle align=middle
colSpan=10><BR> <U>CERTIFICAT E
OF PAYMENT</U></TD></TR>
<TR>
<TD class=fmfield align=middle colSpan=10><SPA N
class=fmfield>& nbsp;</SPAN></TD></TR>
<TR>
<TD class=fmfield colSpan=10>
<DIV align=left>&nbs p;&nbsp; <STRONG>Project :
</STRONG>test
project 1</DIV></TD></TR>
<TR>
<TD class=fmfield width="59%">
<DIV align=left>&nbs p;&nbsp; <STRONG>Company :
</STRONG>Cxrus
Solution Pte Ltd</DIV></TD>
<TD class=fmfield width="41%" colSpan=2>
<DIV align=left><STR ONG>Certificate No:
</STRONG>1&nbsp;& nbsp;</DIV></TD></TR>
<TR>
<TD class=fmfield>
<DIV align=left>&nbs p;&nbsp; <STRONG>Trade :
</STRONG>test
cxrus</DIV></TD>
<TD class=fmfield colSpan=2>
<DIV align=left><STR ONG>Period of Work Done:
</STRONG>To
&nbsp;&nbsp; </DIV></TD></TR>
<TR>
<TD class=fmfield colSpan=3><SPAN
class=fmfield>& nbsp;</SPAND></SPAN></TD></TR>
<TR>
<TD colSpan=3>
<TABLE cellSpacing=0 cellPadding=1 width="100%"
bgColor=#ffffff border=0>
<TBODY>
<TR>
<TH class=std1 width=25 rowSpan=3>S/N</TH>
<TH width=80 rowSpan=3>COST CODE </TH>
<TH width=180 rowSpan=3>DESC OF WORK </TH>
<TH width=80 rowSpan=3>SUBCO NTRACT<BR>AMOUN T
</TH>
<TH class=sth3 align=middle colSpan=6>TOTAL WORK
CERTIFIED TO DATE </TH>
<TH class=sth1 align=middle colSpan=2
rowSpan=2>RETEN TION (D) </TH>
<TH class=sth1 align=middle colSpan=2
rowSpan=2>PREVI OUS<BR>CERTIFIC ATE
<BR>TO-DATE<BR>(E) </TH>
<TH class=sth4 align=middle colSpan=2
rowSpan=2>CURRE NT<BR>CERTIFICA TION<BR>(F=C-D-E)
</TH></TR>
<TR>
<TH class=sth2 align=middle colSpan=2>Work Done
(Gross)<BR>(A) </TH>
<TH class=sth1 align=middle colSpan=2>Less:
Defective
Work <BR>(B) </TH>
<TH class=sth1 align=middle colSpan=2>Work Done
(Nett)<BR>(C=A-B) </TH></TR>
<TR>
<TH width=30>%</TH>
<TH width=70>Amount </TH>
<TH width=34>%</TH>
<TH width=79>Amount </TH>
<TH width=27>%</TH>
<TH width=63>Amount </TH>
<TH width=26>%</TH>
<TH width=62>Amount </TH>
<TH width=23>%</TH>
<TH width=61>Amount </TH>
<TH width=22>%</TH>
<TH width=71>Amount </TH></TR>
<TR>
<TD class=std1
align=middle><S TRONG>A</STRONG></TD>
<TD class=std2>&nbs p;</TD>
<TD class=std2><STR ONG>Subcontract Work
</STRONG></TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>-</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD></TR>
<TR>
<TD class=std1 align=middle>1</TD>
<TD class=std2>4893 </TD>
<TD class=std2><A

href="http://ksh/pcs.pm/cop_viewworkshe etA.php?d=493"> test</A></TD>
<TD class=std2 align=right>1.0 0</TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD></TR>
<TR>
<TD class=std1 align=middle>2</TD>
<TD class=std2>000-222-222</TD>
<TD class=std2><A

href="http://ksh/pcs.pm/cop_viewworkshe etA.php?d=556"> fsdfsdfzzz
"das</A></TD>
<TD class=std2 align=right>78. 00</TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD></TR>
<TR bgColor=#efefef >
<TD class=std1 align=left colSpan=3><STRO NG>Total
for
Subcontract Work (A) = </STRONG></TD>
<TD class=std2
align=right><ST RONG>79.00</STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2
align=right><ST RONG></STRONG></TD>` </TR>
<TR>
<TD class=std1
align=middle><S TRONG>B</STRONG></TD>
<TD class=std2>&nbs p;</TD>
<TD class=std2><STR ONG>Variation Work
</STRONG></TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>-</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD></TR>
<TR bgColor=#efefef >
<TD class=std1 align=left colSpan=3><STRO NG>Total
for
Variation Work (B) = </STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2
align=right><ST RONG></STRONG></TD></TR>
<TR>
<TD class=std1
align=middle><S TRONG>C</STRONG></TD>
<TD class=std2>&nbs p;</TD>
<TD class=std2><STR ONG>Total for Work Done (A+B)
=</STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2
align=right><ST RONG></STRONG></TD></TR>
<TR>
<TD class=std1
align=middle><S TRONG>D</STRONG></TD>
<TD class=std2>&nbs p;</TD>
<TD class=std2><STR ONG>Others (e.g Daywork,
Transport,
Meal, Rental of Equipment and
others)</STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2
align=right><ST RONG></STRONG></TD></TR>
<TR bgColor=#efefef >
<TD class=std1 align=left colSpan=3><STRO NG>Total
Work
Done To Date = </STRONG></TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2
align=right><ST RONG></STRONG></TD></TR>
<TR>
<TD class=std1
align=middle><S TRONG>E</STRONG></TD>
<TD class=std2>&nbs p;</TD>
<TD class=std2><STR ONG>Backcharges </STRONG></TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>-</TD></TR>
<TR>
<TD class=std1 align=middle>1</TD>
<TD class=std2></TD>
<TD class=std2><A

href="http://ksh/pcs.pm/cop_viewworkshe etBDE.php?d=495 ">Material
supplied by KSH (GST)</A></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD></TR>
<TR>
<TD class=std1 align=middle>2</TD>
<TD class=std2></TD>
<TD class=std2><A

href="http://ksh/pcs.pm/cop_viewworkshe etBDE.php?d=496 ">Work
done by KSH/Others (GST)</A></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD></TR>
<TR>
<TD class=std1 align=middle>3</TD>
<TD class=std2></TD>
<TD class=std2><A

href="http://ksh/pcs.pm/cop_viewworkshe etBDE.php?d=497 ">EHS
Infringement (non-GST)</A></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD></TR>
<TR>
<TD class=std1 align=middle>4</TD>
<TD class=std2></TD>
<TD class=std2><A

href="http://ksh/pcs.pm/cop_viewworkshe etBDE.php?d=498 ">EHS
Fund (non-GST)</A></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD></TR>
<TR>
<TD class=std1 align=middle>5</TD>
<TD class=std2></TD>
<TD class=std2><A

href="http://ksh/pcs.pm/cop_viewworkshe etBDE.php?d=499 ">Others
(GST)</A></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD></TR>
<TR>
<TD class=std1 align=middle>6</TD>
<TD class=std2></TD>
<TD class=std2><A

href="http://ksh/pcs.pm/cop_viewworkshe etBDE.php?d=500 ">Others
(non-GST)</A></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD>
<TD class=std2 align=right></TD></TR>
<TR>
<TD class=std1
align=middle><S TRONG>F</STRONG></TD>
<TD class=std2 align=left>&nbs p;</TD>
<TD class=std2 align=left><STR ONG>Release of
Retention
Sum = </STRONG></TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD></TR>
<TR bgColor=#efefef >
<TD class=std1 align=left colSpan=3><STRO NG>Total
Amount
Certified (Exclg GST) = </STRONG></TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2 align=right><ST RONG></STRONG></TD>
<TD class=std2 align=right>&nb sp;</TD>
<TD class=std2

align=right><ST RONG></STRONG></TD></TR></TBODY></TABLE><!--end of cop
--></TD></TR>
<TR>
<TD class=fmfield colSpan=5>&nbsp ; &nbsp; </TD></TR>
<TR>
<TD class=fmfield colSpan=3>
<TABLE cellSpacing=0 cellPadding=0 width="100%"
border=0>
<TBODY>
<TR class=fmfield>
<TD width="33%">Pre pared By (QS
Project):Schenc hko123
04/09/2006</TD>
<TD align=middle width="33%">App roved By (Project

Manager): --</TD>
<TD align=right width="33%">App roved By (Project
Director):
--</TD></TR></TBODY></TABLE><BR><BR>< BR><BR>
<TABLE cellSpacing=0 cellPadding=2 width="100%"
border=0>
<TBODY>
<TR>
<TR>
<TD align=middle colSpan=2>&nbsp ; </TD>
<TD align=left

colSpan=4></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><!--end
of cop --></DIV></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD colSpan=4>&nbsp ;</TD></TR>
<TR>
<TR>
<TD align=middle colSpan=2>&nbsp ;
</TD></TR></TBODY></TABLE></FORM></TD></TR></TABLE></BODY></HTML>
<?php
$contents = ob_get_contents ();
ob_end_clean();
$pdf=new HTML2FPDF();
$pdf->AddPage();
$pdf->SetAuthor('me' );
$pdf->SetTitle('me') ;
$pdf->ReadCSS($conte nts);
$pdf->setCSS(SERVER_ PATH.'vc_files/common.css');
$pdf->SetFont('Helve tica');
$pdf->ShowNOIMG_GIF( true);xt_img.gi f');
$pdf->WriteHTML($con tents);
$pdf->Output('test.p df','D');
?>

Sep 14 '06 #1
0 1573

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3717
by: CSDunn | last post by:
Hello, I have a situation with MS Access 2000 in which I need to display report data in spreadsheet orientation (much like a datasheet view for a form). If you think of the report in terms of what a spreadsheet might show, the column names will actually be dynamic, based on data from a SQL Server 2000 database. The row data will also come from the same database. So in this case, I will have a main report and a subreport. I've already tried...
1
17673
by: Nathan Bloomfield | last post by:
Does anyone know if there is any documentation which relates to Access2k + ? or can anyone help adjust the code? I am having trouble converting the DAO references. TITLE :INF: How to Create a Dynamic Crosstab Report PRODUCT :Microsoft Access PROD/VER:1.00 1.10 OPER/SYS:WINDOWS
6
3679
by: Bob Alston | last post by:
I am looking for Access reporting add-in that would be easy to use by end users. My key focus is on selection criteria. I am very happy with the Access report writer capabilities. As far as development of reports, it is certainly fine in my book. But for end-users, with little experience or training, it would be nice to have an easy way to handle various selection criteria, perhaps with relatively stock reports. I see easy to use by...
1
16387
by: lorirobn | last post by:
Hi, I have a report that works just fine. Now I would like to add the capability to choose selection criteria to limit what is displayed. I created several reports that do this, but they used VBA to create SQL statements, then apply them. Now that I have been using Access/VBA for awhile, I am wondering if there is a simpler way to do this than coding these long sql statements. My report has a query as its record source. Can I just...
1
7516
by: monskie | last post by:
Hello to all, I have a problem which could be trivial to you guys. This concerns opening several crystal reports on the a crystal viewer on an ASPX page by calling window.open. My application. 1.) 2 webforms - 1 main web form that filters that dataset - 1 reportviewer web form that displays the filtered dataset.
6
9429
by: Dave | last post by:
On my form I have combo boxes. These combo boxes, after updating them, populate respective listboxes that are located below the combo boxes on the same form. I am trying to use a "generate report" button located on my form to print all of the list box values (that have been updated via selection from combo boxes) from the form to the report. I've tried using a macro with the code: Macro Name: cmdGenerateReport : On Click Action:...
3
18719
by: creative1 | last post by:
Here is how you create a complex data report that involves parent and child commands and you can update information at runtime. Its pretty straight forward to work with simple queries; however, working with complex reports is tricky Assumption: Reader of this article have basic knowledge of creating data reports. Creating a Parent-Child Command and create a DataReport Suppose we have a database called company with two tables ...
12
3541
by: Studiotyphoon | last post by:
Hi, I have report which I need to print 3 times, but would like to have the following headings Customer Copy - Print 1 Accounts Copy - Print 2 File Copy -Print 3 I created a macro to print the report three times, but do not know how
11
7340
by: Gord | last post by:
When I open a certain report, it runs some code that generates the records that will be displayed in that report. This works fine. When I go to print preview the report it appears that the code is run again? This is causing certain error problems. 1 Why does the code run for a print preview when the report already exists? 2 What command do I use in code to find out if a report (or any other object for that matter) is already...
0
1120
by: akmaRudiliyn | last post by:
Hi..i am newbie and student in programming,so need help from expert. Here is what i want to do. 1-I want to create Report System/Reporting System. 2-User must choose database and enter username and password. 3-Go to report form. 4-Click report type. It has has 4 types of report. Report A=Query 1
0
9656
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9498
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10172
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7517
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5536
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4069
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3670
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.