ࡱ> MOL bjbj 4./////CCCC_DC10000000$25v0/0//0   v//0 0  -/@R&C ^.y0001. 6h 60//n 6/0` 00 1 6 : Creating PDF on the fly Now we are creating dynamic PDFs on the fly using DOMPDF. Advantages:- Very less time to implement and integrate to the application since its developed by using PHP Reside under storage01/w3far$. We dont have to install the application on other server. Handles most CSS2.1 properties & selectors, including @import, @media & @page rules (see  HYPERLINK "http://www.digitaljunkies.ca/dompdf/css21.php" here) Supports most presentational HTML 4.0 attributes Supports external stylesheets, either on the local machine or through http/ftp (via fopen-wrappers) Supports complex tables, including row & column spans, separate & collapsed border models, individual cell styling, multi-page tables (no nested tables yet however) Image support (png, gif & jpeg) No dependencies on external PDF libraries link and anchor support Inline PHP support. Its free. Limitations: Tables cannot be reliably nested (though some have them is a success) Ordered lists are currently unsupported. Large files (greater than 40 pages) can take a while to render Doesnt support all the Greek letters We chose DOMPDF previously because we could implement it in 5-6 days. ______________________________________________________________________________ To solve the limitations of DOMPDF we have to develop our own PDF creator using PDF SDK development kit Advantage: Depending upon the development Kit we choose it may solve the Limitations of DOMPDF Disadvantage: We need to install the development kit on one of the secure server we have. We can install SDK on the below servers:- soesrv01.campus.stevens-tech.edu (previous assessment system) soesrv02. campus.stevens-tech.edu (Assessment System) soesrv03. campus.stevens-tech.edu (Sakai & FAR) If we choose soesrv03. campus.stevens-tech.edu (Sakai & FAR), we may have a problem, if we decide to put FAR on another server. Servers we have dont have PHP installed, so we need to install PHP on the server we choose. Work involved when the user request for a PDF is The request has to come to the server where SDK is installed. Write a script using the given SDK and convert it into PDF Pass the response back to the user __________________________________________________________________________________ Some of the SDK available in the market which supports creation of PDFs on the fly:- SDK nameSupport for Programming languageBCL PDF SDK .NET Environment , JAVA, ASP, Visual C++ 6.0 , Visual Basic 6.0, PHP, ColdFusion, Perl, Python (requires PythonWin), Any programming language that supports COM Object, ActiveX, OLE Samples available in NET Environment , JAVA, ASPnovaPDF SDK samples available in ASP.NET, C#, C++, Delphi, Java, Ms Access, Visual Basic, VBNetFoxit PDF SDK (DLL) Foxit Reader SDK is packaged in a DLL (Dynamic Link Library), which can be called from different programming languages, including C/C++, C#, Delphi, Visual Basic, etc. Adobe PDF Library SDK They have a SDK but they have some samples with java script.  There are many more SDKs available but above ones are the frequently used ones. Most of the SDKs provide support or samples for .net & java. Since we use PHP, any SDK we choose we have to write the code from the scratch. There is not much support available. If we implement creating PDFs using java or .net then we have to work on how to call a java function or .net function from PHP. In the above SDKs I could test only BCL PDF SDK. I tested it both on java & PHP. But to test the full functionality and to integrate into our application I need some more time. Writing a script for creating the PDF using the SDK may take up to 7-8 days. And another 10-12 days to integrate into the application. Choosing the correct SDK may take 5-6 days. %-5  s t L M   S T g r s  - T 7įįĊ|xxthc/h4hCECJOJPJQJaJhsCJOJPJQJaJ,h/ h/ >*B*CJOJPJQJaJph)jh/ h/ CJOJPJQJUaJ h/ h/ CJOJPJQJaJh/ CJOJPJQJaJhVh$9h/ h$9hV5h$9h/ 5-Tb L  ; S g s  & Fddd[$\$gd/ ddd[$\$gd/  & Fddd[$\$gd/  & Fddd[$\$gd/  & Fgd/ $a$gd$9 . T Q R  7v\]h^hgdc/h^hgd/ ^gdsddd[$\$gdsddd[$\$gdCE & Fddd[$\$gd/ 7]f14=Ilmpq|}69:EFNQS_Ļ֕h_fh_fKH$PJ\ hVh_fh_fh_fPJhVh_f>*PJhVh_fPJ#hVh_f>*CJOJPJQJaJh_fhphhshqk h4hc/hc/ h4h4h45+f4=^_W{kd$$Ifl0 '  t0&644 lahytV$If^gdVl h^hgdgd & Fgd4 _kl!RSM{kd$$Ifl0 '  t0&644 lahytV$ddd$If[$\$a$gdVl $If^gdVl S_`O<$IfgdVl {kd0$$Ifl0 '  t0&644 lahytV$If^gdVl ddd$@&If[$\$gdVl t[PGJKO]g¾h/ h4hqkh$9hGkShshhc/hVh_f5CJOJQJaJh_f"hVh_f56CJOJQJaJrstmZF$@&Ifgd_fl $IfgdVl {kd$$Ifl0 '  t0&644 lahytV$If^gdVl QR{{{{{{{r{mgdqk^gdsh^hgd{kd`$$Ifl0 '  t0&644 lahytV h^hgd/ 21h:p / =!"#$% $$Ifh!vh5 5#v #v:V l t0&65 5ahytV$$Ifh!vh5 5#v #v:V l t0&65 5ahytV$$Ifh!vh5 5#v #v:V l t0&65 5ahytV$$Ifh!vh5 5#v #v:V l t0&65 5ahytV$$Ifh!vh5 5#v #v:V l t0&65 5ahytVj 666666666vvvvvvvvv666666>6666666666666666666666666666666666666666666666666hH6666666666666666666666666666666666666666666666666666666666666666662 0@P`p2( 0@P`p 0@P`p 0@P`p 0@P`p 0@P`p 0@P`p8XV~ OJPJQJ_HmH nH sH tH J`J  Normal dCJ_HaJmH sH tH d`d _f Heading 1ddd@&[$\$5CJ0KH$OJPJQJ\aJ0`@` _f Heading 2$<@&$56CJOJPJQJ\]^JaJDA`D Default Paragraph FontRi@R 0 Table Normal4 l4a (k ( 0No List D@D / List Paragraph ^m$4U 4 / 0 Hyperlink >*phj`j _f Table Grid7:V0R/!R _fHeading 1 Char5CJ0KH$OJPJQJ\aJ0X/1X _fHeading 2 Char$56CJOJPJQJ\]^JaJPK![Content_Types].xmlj0Eжr(΢Iw},-j4 wP-t#bΙ{UTU^hd}㨫)*1P' ^W0)T9<l#$yi};~@(Hu* Dנz/0ǰ $ X3aZ,D0j~3߶b~i>3\`?/[G\!-Rk.sԻ..a濭?PK!֧6 _rels/.relsj0 }Q%v/C/}(h"O = C?hv=Ʌ%[xp{۵_Pѣ<1H0ORBdJE4b$q_6LR7`0̞O,En7Lib/SeеPK!kytheme/theme/themeManager.xml M @}w7c(EbˮCAǠҟ7՛K Y, e.|,H,lxɴIsQ}#Ր ֵ+!,^$j=GW)E+& 8PK!Ptheme/theme/theme1.xmlYOo6w toc'vuر-MniP@I}úama[إ4:lЯGRX^6؊>$ !)O^rC$y@/yH*񄴽)޵߻UDb`}"qۋJחX^)I`nEp)liV[]1M<OP6r=zgbIguSebORD۫qu gZo~ٺlAplxpT0+[}`jzAV2Fi@qv֬5\|ʜ̭NleXdsjcs7f W+Ն7`g ȘJj|h(KD- dXiJ؇(x$( :;˹! I_TS 1?E??ZBΪmU/?~xY'y5g&΋/ɋ>GMGeD3Vq%'#q$8K)fw9:ĵ x}rxwr:\TZaG*y8IjbRc|XŻǿI u3KGnD1NIBs RuK>V.EL+M2#'fi ~V vl{u8zH *:(W☕ ~JTe\O*tHGHY}KNP*ݾ˦TѼ9/#A7qZ$*c?qUnwN%Oi4 =3ڗP 1Pm \\9Mؓ2aD];Yt\[x]}Wr|]g- eW )6-rCSj id DЇAΜIqbJ#x꺃 6k#ASh&ʌt(Q%p%m&]caSl=X\P1Mh9MVdDAaVB[݈fJíP|8 քAV^f Hn- "d>znNJ ة>b&2vKyϼD:,AGm\nziÙ.uχYC6OMf3or$5NHT[XF64T,ќM0E)`#5XY`פ;%1U٥m;R>QD DcpU'&LE/pm%]8firS4d 7y\`JnίI R3U~7+׸#m qBiDi*L69mY&iHE=(K&N!V.KeLDĕ{D vEꦚdeNƟe(MN9ߜR6&3(a/DUz<{ˊYȳV)9Z[4^n5!J?Q3eBoCM m<.vpIYfZY_p[=al-Y}Nc͙ŋ4vfavl'SA8|*u{-ߟ0%M07%<ҍPK! ѐ'theme/theme/_rels/themeManager.xml.relsM 0wooӺ&݈Э5 6?$Q ,.aic21h:qm@RN;d`o7gK(M&$R(.1r'JЊT8V"AȻHu}|$b{P8g/]QAsم(#L[PK-![Content_Types].xmlPK-!֧6 +_rels/.relsPK-!kytheme/theme/themeManager.xmlPK-!Ptheme/theme/theme1.xmlPK-! ѐ' theme/theme/_rels/themeManager.xml.relsPK]  .7  _S sX8@0(  B S  ?5:<A S Z S7W Q333333-5Spp '4677] B B AF ?\Fz 4qO0{NZ6HkQ?@ABCEFGHIJKNRoot Entry F6PData 1Table :6WordDocument4.SummaryInformation(<DocumentSummaryInformation8DCompObjy  F'Microsoft Office Word 97-2003 Document MSWordDocWord.Document.89q