Looking for advice on how to do this - remote printing

2009-06-10 Thread Mike Kear
I am working on a project where I am going to have to print up a job ticket in a remote location. An event happens on the web site, and it causes this job ticket to print out in one of perhaps thousands of locations unattended.The people who are going to fill the job will have no

RE: Image killing server (RESOLVED)

2009-06-10 Thread Adrian Lynch
Dude and double dude! Excellent work :OD To stop the errors we started looking in files for certain strings to indicate the image would crap out CF. Will let you know how we get on when we upgrade. Adrian -Original Message- From: Mark Kruger [mailto:mkru...@cfwebtools.com] Sent: 09

Re: (ot) Little help with IIS URL Rewrite..

2009-06-10 Thread Peter Boughton
It's failing because it's expecting http://mysite-test.myhost.net/net/wagon/red/small Start the expression with just ^/ instead of having net in there. ~| Want to reach the ColdFusion community with something they want? Let

cf8 help with japanese characters

2009-06-10 Thread mike pop
I've been struggling with a cf8 and database issue involving japanese characters for almost 2 weeks now. using cf8 and either mysql server or microsoft sql server 2008 express (both give me the same result), i am attempting to insert/update records containing japanese text. the japanese text

Re: cf8 help with japanese characters

2009-06-10 Thread Paul Hastings
mike pop wrote: using cf8 and either mysql server or microsoft sql server 2008 express (both give me the same result), i am attempting to insert/update records containing japanese text. and how are the columns holding the text defined? what db driver are you using? the japanese text doesn't

Re: cf8 help with japanese characters

2009-06-10 Thread Jason Fisher
Collation's not the problem, but the Data Type of your columns might be. Make sure you're using nvarchar ntext (not varchar and text) [SQL Server] and ensure that both page and form encoding allow Unicode, like using charset UTF-8.

Re: cf8 help with japanese characters

2009-06-10 Thread Shannon Peevey
On Wed, Jun 10, 2009 at 6:32 AM, mike pop mikepoplaw...@gmail.com wrote: I've been struggling with a cf8 and database issue involving japanese characters for almost 2 weeks now. using cf8 and either mysql server or microsoft sql server 2008 express (both give me the same result), i am

RE: Looking for advice on how to do this - remote printing

2009-06-10 Thread Dawson, Michael
I had a similar, yet much smaller project last summer... Our student center allows students to checkout laptops for a couple of hours. The staff wanted to be able to print receipts when checked-out/in. Also, the system was to be web-based. We purchased an Epson POS thermal printer with USB

RE: Looking for advice on how to do this - remote printing

2009-06-10 Thread Al Musella, DPM
I did a similar thing by sending a fax to the remote locations. Worked nicely. The fax told them the job, and also told them to acknowledge receipt on the website.. so they would go to the website and a list of pending jobs was waiting for them, in case they missed a fax somehow.. Then they

Re: Looking for advice on how to do this - remote printing

2009-06-10 Thread Ryan Letulle
How many daily tickets on average? -- Ryan LeTulle On Wed, Jun 10, 2009 at 2:28 AM, Mike Kear afpwebwo...@gmail.com wrote: I am working on a project where I am going to have to print up a job ticket in a remote location. An event happens on the web site, and it causes this job ticket

Re: Looking for advice on how to do this - remote printing

2009-06-10 Thread Mike Kear
I am afraid i dont know we're only starting out on a new project but it could be dozens or even hundreds of remote points, scattered all over the place. So that represents lots of scalability issues in designing the application which i'm giving a lot of thought. But its the remote printing to

RE: Looking for advice on how to do this - remote printing

2009-06-10 Thread Dawson, Michael
In my earlier reply, I mentioned that we are using an Epson POS printer with USB. This same printer can be used with a built-in NIC. That means it would not need a host computer to which it is attached. Thanks, Mike ~| Want

RE: Image killing server (RESOLVED)

2009-06-10 Thread Mark Kruger
Adria, I blogged this solution http://www.coldfusionmuse.com/index.cfm/2009/6/10/javax.imageio.jpg.crash.jv m -Mark -Original Message- From: Adrian Lynch [mailto:cont...@adrianlynch.co.uk] Sent: Wednesday, June 10, 2009 3:21 AM To: cf-talk Subject: RE: Image killing server

Re: cf8 help with japanese characters

2009-06-10 Thread Jide Aliu
Collation's not the problem, but the Data Type of your columns might be. Make sure you're using nvarchar ntext (not varchar and text) [SQL Server] and ensure that both page and form encoding allow Unicode, like using charset UTF-8. I'll +1 that, the data type is almost always the main

Simple regex question

2009-06-10 Thread Rick Mason
I'm in need of some regex help. I am working with a cfinput and I need a pattern for regex validation that does the following: Field can be blank but if filled out has to be exactly 17 characters which are a combination of letters and numbers (VIN number) Know this is simple but Google seems

Re: Simple regex question

2009-06-10 Thread Ben Nadel
Try this: ^$|^[\w]{17}$ -Ben -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http://www.bennadel.com Need ColdFusion Help? http://www.bennadel.com/Ask-Ben

RE: Simple regex question

2009-06-10 Thread Andy Matthews
[ ]|[a-z0-9]{17} Should do it... That basically allows for a space, or for 17 alphanumeric characters. -Original Message- From: Rick Mason [mailto:rhma...@gmail.com] Sent: Wednesday, June 10, 2009 9:50 AM To: cf-talk Subject: Simple regex question I'm in need of some regex help. I

RE: Simple regex question

2009-06-10 Thread Andy Matthews
Great minds Ben...great minds. -Original Message- From: Ben Nadel [mailto:b...@bennadel.com] Sent: Wednesday, June 10, 2009 9:51 AM To: cf-talk Subject: Re: Simple regex question Try this: ^$|^[\w]{17}$ -Ben -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion

Re: Simple regex question

2009-06-10 Thread Ben Nadel
Ha ha, most agreed :) -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http://www.bennadel.com Need ColdFusion Help? http://www.bennadel.com/Ask-Ben ~|

RE: Simple regex question

2009-06-10 Thread Andy Matthews
Technically speaking, the regex that Ben or I posted isn't correct. You can't just have 17 alnum characters as each character (or character pairs) in a VIN has a specific slot. Plus, VINs don't have the letters I, O, or Q. Here's an excellent forum post about the subject.

Re: Simple regex question

2009-06-10 Thread Ben Nadel
I have to plead ignorance on this one - I don't know what a VIN number is. -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http://www.bennadel.com Need ColdFusion Help? http://www.bennadel.com/Ask-Ben

Re: Looking for advice on how to do this - remote printing

2009-06-10 Thread Ryan Letulle
Something like Mike's printer solution sounds promising to me. You might need to look into some special formatting/pl for the output so the printer can understand it natively though. I did some work in labs with Zebra printers that required that to print out barcodes. -- Ryan LeTulle On Wed,

Re: Looking for advice on how to do this - remote printing

2009-06-10 Thread Ian Skinner
What is the nature of the connection between the server and these printers? Will they be on the same LAN or WAN or are they only going to be accessible over the internet? If the former, many modern network printers have the capability to be sent print jobs to their IP address. Thus I would

Re: Simple regex question

2009-06-10 Thread Rick Mason
Thanks you Andy and Ben for your quick response. A VIN number is a vehicle identification number which is on your car's registration as well as being on the driver side dash. Think of it as a unique serial number for your car with vehicle information baked into the number. Andy the only

RE: Simple regex question

2009-06-10 Thread Andy Matthews
Ben... VIN numbers are unique identifiers for cars. Generally there's a small metal plaque on the driver side part of the dashboard, tucked way back under the windshield. It's a fascinating number, as each set of digits have very specific meanings. You can almost everything about a vehicle from

RE: Simple regex question

2009-06-10 Thread Dawson, Michael
Think of it as a unique serial number for your car with vehicle information baked into the number. Show me the CARFAX! ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion

Re: Looking for advice on how to do this - remote printing

2009-06-10 Thread Mike Kear
You guys are all being very helpful, as always. This is good stuff and it's helping me work out possibilities. @Mike Dawson: thanks Mike, directly accessing the NIC wont work in this case because we wont have all these devices on the same premises. They'll be too remote for a single

RE: Simple regex question

2009-06-10 Thread Adrian Lynch
There's a ISVIN function on CFLib and I had originally proposed to my boss that I rewrite it in javascript but he didn't want that level of functionality. Just do it, don't ask the boss! :OD ~| Want to reach the ColdFusion

RE: Looking for advice on how to do this - remote printing

2009-06-10 Thread Dawson, Michael
They'll be too remote for a single network.Depending on how the project develops once it's launched, there could be devices all over the country. I dont think you can connect on a single network that far can you and therefore be able to access the NICs directly? I think it will require

RE: Error register asp.net web service in CF 7 admin

2009-06-10 Thread Hong Chen
Dave, We have successfully registered .net webservice by passing in username and password. However our project requires this webservice be configured as Integrated Windows Authentication. So, the question for us now becomes: How to invoke .net webservice requires Windows Authentication? We

Re: Simple regex question

2009-06-10 Thread Rick Mason
Andy, I jumped the gun a little too quickly. Neither yours nor Ben's works. Your code worked fine when I was just typing in numbers for a quick test. Once I started testing with actual VIN numbers it failed. It isn't counting the letters in the total count. So 12345678901234567 succeeds but

CFfunction within a query output

2009-06-10 Thread Don L
Are we able to run a cffunction within a cf query output? Please see below. Thanks. Don Chunshen Li cfoutput query=myQuery ... cfif conditionX eq 1 cffunction name=getProduct access=public output=no returnType=query cfargument name=id type=numeric required=yes

Re: CFfunction within a query output

2009-06-10 Thread Azadi Saryev
you need to properly call the function, and since you are NOT in cfscript block, you need to use cfset: cfset somevar = getProduct(3) Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ On 10/06/2009 23:12, Don L wrote: Are we able to run a cffunction within a cf query output? Please see

Re: Simple regex question

2009-06-10 Thread Azadi Saryev
change [a-z0-9] to [a-zA-Z0-9] it only fails because Andy's regexp does not allow uppercase letters. Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ On 10/06/2009 23:15, Rick Mason wrote: Andy, I jumped the gun a little too quickly. Neither yours nor Ben's works. Your code worked

Re: Simple regex question

2009-06-10 Thread Azadi Saryev
PS: and Ben's needs to be adjusted to allow numbers: ^$|^[\w\d]{17}$ Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ On 10/06/2009 23:15, Rick Mason wrote: Andy, I jumped the gun a little too quickly. Neither yours nor Ben's works. Your code worked fine when I was just typing in

Re: Error register asp.net web service in CF 7 admin

2009-06-10 Thread Dave Watts
We have successfully registered .net webservice by passing in username and password. However our project requires this webservice be configured as Integrated Windows Authentication. So, the question for us now becomes: How to invoke .net webservice requires Windows Authentication? Well, you

Re: Simple regex question

2009-06-10 Thread Ben Nadel
\w should handle both alpha and numeric data. I am not sure why mine was failing. -Ben -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http://www.bennadel.com Need ColdFusion Help? http://www.bennadel.com/Ask-Ben

Re: Simple regex question

2009-06-10 Thread Rick Mason
Azadi, Figured that out while awaiting for the answer. Reached John and Tim Farrar via IM who suggested testing with smaller case letters. Once we confirmed that worked they gave me the update. I will do further testing but that looks like it is a winner. Thanks all, Rick On Wed, Jun 10,

Re: CFfunction within a query output

2009-06-10 Thread Don L
The cfset to a var failed without error, Azadi. I suspect the cf fuction failed without an error, I don't know why the function fails. you need to properly call the function, and since you are NOT in cfscript block, you need to use cfset: cfset somevar = getProduct(3) Azadi Saryev

Re: CFfunction within a query output

2009-06-10 Thread Peter Boughton
This is incorrect: you need to properly call the function, and since you are NOT in cfscript block, you need to use cfset: cfset somevar = getProduct(3) You are NOT required to use cfset to call a function. Inside cfoutput, this is valid syntax and will call the function: #doSomething(Args)#

RE: CFfunction within a query output

2009-06-10 Thread Scott Stewart
Call it thusly. Cfset datatest = CreateObject(component,path.to.component.componentname) cfset getQuery = datatest.getQueryFunction(passed parameters if needed) cfoutput query=getQuery #outputFromQuery# /cfoutput -- Scott Stewart ColdFusion Developer 4405 Oakshyre Way Raleigh, NC

Re: CFfunction within a query output

2009-06-10 Thread Peter Boughton
Don, the problem is that you are trying to output a complex object as a string. You need to do one of: - use cfdump to have CF display your query as HTML; - manually convert your query to a string; - extract the appropriate fields and output those instead; - change the function to return a

Re: Simple regex question

2009-06-10 Thread Peter Boughton
In CF regex, \w is same as [a-zA-Z0-9_] Most other regex flavours are the same as this. Some regex flavours also include accented characters (áéí...) in their \w matches. ~| Want to reach the ColdFusion community with

Re: CFfunction within a query output

2009-06-10 Thread Don L
Peter, awesome, as you correctly pointed it out, the complex data type was the culprit, problem resolved. Also, good catch on the function inside the loop, I've set up a flag to ensure it runs only once, so, that's ok; also initially thought the cf8 engine would run it only once but that

CF's ImageWrite Function Question...

2009-06-10 Thread Che Vilnonis
Does CF's imageWrite() function have a make unique naming capability when writing a file to a directory with a name that already exists? Or do I just need to use cffile? Che Vilnonis Application Developer Advertising Systems Incorporated 8470C Remington Avenue Pennsauken, NJ 08110 p:

Re: CFfunction within a query output

2009-06-10 Thread Jason Fisher
Better yet, just define the function outside the loop (top of the template?) and then just call it from inside your loop. From: Don L do...@yahoo.com Sent: Wednesday, June 10, 2009 2:39 PM To: cf-talk cf-talk@houseoffusion.com Subject: Re: CFfunction

Re: CF's ImageWrite Function Question...

2009-06-10 Thread Barney Boisvert
You'll need to take care of generating a unique name yourself. On Wed, Jun 10, 2009 at 11:58 AM, Che Vilnonisch...@asitv.com wrote: Does CF's imageWrite() function have a make unique naming capability when writing a file to a directory with a name that already exists? Or do I just need to

mysql and order by datetime

2009-06-10 Thread Chad Gray
This is strange. I run this query and I get proper results (DateAdded is a DateTime data type): SELECT PP.ProfileID FROM profilepicts PP WHERE PP.Live = 1 ORDER BY PP.DateAdded DESC RESULTS: 3 2 2 2 1 5 3 6 I add a distinct and I get SELECT DISTINCT(PP.ProfileID) FROM profilepicts PP WHERE

RE: mysql and order by datetime

2009-06-10 Thread Chad Gray
The only way I found to fix this is to return the first query via MySQL then use a Query of a Query in CF to do a group by on the data and ORDER it by the DateTime field. Strange. SELECT PP.ProfileID FROM profilepicts PP WHERE PP.Live = 1 ORDER BY PP.DateAdded DESC cfquery dbtype=query

Re: (ot) Little help with IIS URL Rewrite..

2009-06-10 Thread Les Mizzell
Peter Boughton wrote: It's failing because it's expecting http://mysite-test.myhost.net/net/wagon/red/small Finally got it to work: ^([_0-9a-z-]+)(?:/([_0-9a-z-]+)(?:/([_0-9a-z-]+))?)?/?$ Now if I've got my head around this correctly, and the logic flow I've already charted out is correct

Re: mysql and order by datetime

2009-06-10 Thread Alan Rother
Hey Chad, Out of curiosity, can you share those date/time values with us for the first query? I'd be interested in playing with it to see why it's doing what it's doing. =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org

RE: Error register asp.net web service in CF 7 admin

2009-06-10 Thread Hong Chen
Dave, As you said CF does not directly support windows authentication, we learned from our recent research that Apache Axis uses org.apache.axis.transport.http.HTTPSender by default. So we made a configuration change. We changed transport name=http

Find the parent!

2009-06-10 Thread Don L
Hi, Top javascript gurus heavy with CF8, here's a challenge. In a nut shell, I'd like to be able to find (x,y) coordinates for each spot of 1, 2, 3, 4... (hierarchy level), draw a straight line from its child to it triggered by onMouseOver. Please see the following URL for detail, do you

Re: CFfunction within a query output

2009-06-10 Thread Don L
Jason, Probably that's what Peter meant as well, on second thought, yes, why not? setting the flag is an extra/unnecessary. Thanks. Don Better yet, just define the function outside the loop (top of the template?) and then just call it from inside your loop. Peter, awesome, as you correctly

Re: Error register asp.net web service in CF 7 admin

2009-06-10 Thread Dave Watts
As you said CF does not directly support windows authentication, we learned from our recent research that Apache Axis uses org.apache.axis.transport.http.HTTPSender by default. So we made a configuration change. We changed transport name=http

Full time Coldfusion developer needed (telecommute)

2009-06-10 Thread Chris Vinson
Sitezoogle creates website building tools for niche markets. Thousands of people around the world use our software every day. They are a diverse group, from artists to small businesses to nonprofits. The common thread is that they don’t want the expense of hiring a designer and need higher