<cfif entry.name EQ session.realUserName>
   <cfdocument format="pdf" 
    margintop = ".5"    
    marginbottom = "1"  
    marginleft = ".5"   
    marginright = ".5"> <!--- printing OK --->
<cfelse>
   <cfdocument format="pdf" 
    margintop = ".5"    
    marginbottom = "1"  
    marginleft = ".5"   
    marginright = ".5"
    encryption = "128-bit"
    permissions = "AllowScreenReaders"> <!--- NO print --->
</cfif>

Each <cfdocument ... by itself works OK
but in the abofe <cfif it simply disappear
leaving the error: 
"</cfdocument> needs a starting tag"

Any thought?
Thanks for helping.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:257716
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to