Couple of points and questions on this.

Firstly, have you tried using CFX_ShellExec tag? I've been using this since
cf4.01 due to various shortcomings of cfexecute's implementation over the
years.

Secondly. Do you need any particular type of printer to support this direct
printing method? I just tried the copy file LPT1 command on a machine here
with a little epson inkjet printer. The printer busy lights begin to flash
but nothing actually gets printed. Do you need a good networkable laser
printer which can support direct file dumps? I want to use this technique in
our systems for invoicing and much more.

Thanks,
Dave

-----Original Message-----
From: Jochem van Dieten [mailto:jochemd@;oli.tudelft.nl]
Sent: 24 October 2002 09:05
To: CF-Talk
Subject: Re: Using CFEXECUTE from a Web Browser???


Dave Cordes wrote:

> I checked and ColdFusion is logged in as the "Local System Account" so
> I don't think it could be a permissions problem.

I'm not so sure about that.

> I found some other posts on the ColdFusion Support Forums that would
> lead me to believe that your second point about timing out is the
> cause. Here is the link that talks about it.

2 issues:

CF MX always waits for the entire period specified in the timeout
instead of the shortest of the timeout and the process finishing (but
you still haven't told us which version/OS/servicepack you use).

Every version of CF will wait forever on your specific code because if
you call cmd.exe you need the /c parameter.


> I read somewhere that Macromedia has no current plans to fix it so
> that's not a good sign.

http://www.macromedia.com/support/email/wishform/?6213=3

Jochem


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Reply via email to