Использование cfpdf
с saveoption = "linear"
или "full"
. Я не могу видеть разницу между его использованием. Если кто-нибудь знает это, пожалуйста, поделитесь им здесь. Спасибо.
<cfoutput>
<cfdocument name="myBook" format="PDF">
<cfloop from="1" to="200" index="i">
<h1>"Gandhi"redirects here. For the third prime minister of India, see Indira Gandhi. For other uses, see Gandhi (disambiguation).
MahātmāMohandas Karamchand GandhiStudio photograph of Mohandas K. Gandhi, London, 1931.Born Mohandas Karamchand Gandhi2 October 1869Porbandar, Kathiawar Agency, British-ruled IndiaDied 30 January 1948 (aged 78)New Delhi, IndiaCause of death Assassination (gunshot)
Monuments Raj Ghat,Gandhi SmritiNationality IndianOther names Mahatma Gandhi, Bapu ji, Gandhi jiEducation Bachelor of LawsAlma mater University College London[1]Inner TempleOccupation LawyerPoliticianActivistWriterYears active 1893–1948Era British RajKnown for Indian Independence Movement,Nonviolent resistanceNotable work
</h1>
</cfloop>
</cfdocument>
</cfoutput>
<cfpdf action="write" source="myBook" destination="res.pdf" overwrite="yes" saveoption="linear">