Re: the ####2 will not print with Bar Code 39 f HR cfprint comand

2014-07-07 Thread Sherley Wilson

 Yes, it prints from the server fine if I open the pdf and print from 
 acrobat reader. it just wont print the #2 with the cfprint command. 

Hey, why don't you just use this bar code reader in .net instead for scan a 
Code 39 bar code image? 
http://www.businessrefinery.com/products/barcode_reader_net/main.html

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358828
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Joseph who is helping with my site

2014-07-07 Thread Matthew Smith

Please email me. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358829
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Serving up an image w/ cf11?

2014-07-07 Thread Justin Hansen

The following code worked great in CF9/10, now it doesn't work in CF11. All 
we're trying to do here is serve up an email tracking image, after logging the 
it. Before, it would render in the email/browser as the image file. Now, it 
looks like a missing image link. Any ideas?

cfscript
// log the email view
// ... redacted ...

// read the image
imgBytes = fileReadBinary( expandPath( 'img.jpg' ) );

// get the http response
response = getPageContext().getFusionContext().getResponse();

// set the appropriate mime type
response.setHeader( 'Content-Type', 'image/jpg' );

// replace the output stream contents with the binary
response.getOutputStream().writeThrough( imgBytes );

// stop to ensure no whitespace is added
abort;

/cfscript


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358830
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Serving up an image w/ cf11?

2014-07-07 Thread Justin Hansen

Wait, never mind... That was too easy. Just remove all the fun stuff!
Solution: location( url=/email/img.jpg, addToken=false );

-Original Message-
From: Justin Hansen [mailto:jhan...@uhlig.com] 
Sent: Monday, July 07, 2014 11:16 AM
To: cf-talk
Subject: Serving up an image w/ cf11?


The following code worked great in CF9/10, now it doesn't work in CF11. All 
we're trying to do here is serve up an email tracking image, after logging the 
it. Before, it would render in the email/browser as the image file. Now, it 
looks like a missing image link. Any ideas?

cfscript
// log the email view
// ... redacted ...

// read the image
imgBytes = fileReadBinary( expandPath( 'img.jpg' ) );

// get the http response
response = getPageContext().getFusionContext().getResponse();

// set the appropriate mime type
response.setHeader( 'Content-Type', 'image/jpg' );

// replace the output stream contents with the binary 
response.getOutputStream().writeThrough( imgBytes );

// stop to ensure no whitespace is added abort;

/cfscript




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358831
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


validate w/ regular expressions in cftextarea cf9 not working

2014-07-07 Thread andy mann

Hi CFers,

i am trying to make the form super secure and have added regular expression 
that works fine in cfinput to cftextarea and it doesn't work...?

cftextarea name=mytxt 
value=#wrds# 
message=Text - Required. Letters, Numbers and .+()' allowed 
pattern=^[-a-zA-Z0-9_:+().' ']{1,100}$ 
height=300 
width=700 
validate=regular_expression 
validateat=OnSubmit disabled=No 
required=No 
toolbaronfocus=No 
bindonload=No html=No 
enabled=Yes 
visible=Yes 
richtext=Yes 
toolbar=Basic /

this is in the head


script
function FCKeditor_OnComplete(editorInstance)
{
editorInstance.Config[ToolbarSets][BasicPlus] = [
['SpecialChar','Bold','Italic','Underline','StrikeThrough','Link', 
'Unlink','-','Cut','Copy','Paste', 'Find','Replace',
'-','FontFormat','FontName','FontSize','TextColor']
];
editorInstance.EditorWindow.parent.FCK.ToolbarSet.Load('BasicPlus') ;
}
/script


tnx in advance
andy 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358832
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm