What is the best way to manage a large .pdf? Would breaking it down into smaller sections be practical?
My code is essentially as follows:
Expand|Select|Wrap|Line Numbers
- <%
- dim pageNum
- pageNum = cint(request("page"))
- %>
- <%
- Response.ExpiresAbsolute = Now() + 356
- Response.AddHeader "pragma","cache"
- Response.CacheControl = "cache"
- Response.CacheControl = "Public"
- %>
- --
- <td width="648" colspan="2">
- <%if pageNum > 1 then %>
- <EMBED src="\Catalog\Page <%=(pageNum)%>.pdf" width="648" height="500"></EMBED>
- <% else %>
- <EMBED src="\Catalog\Page 1.pdf" width="648" height="500"></EMBED>
- <% end if %>
- <%Response.Write(pageNum)%>
- </td>
cj