This would be through a secure admin interface. You didn't think I'd let the
average Internet user use this did you???

What's SMB?

Dave Cordes
Senior ColdFusion Developer
636-939-1081 (H)
636-578-4235 (M)

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


Dave Cordes wrote:

> Jochem,
> Do you have an idea how I would use this solution from the server. I
> mean, it works great on localhost, but I can't run this from the
> server because the printer is installed locally.

If you mean over the internet to just any visitor: no way. You don't
even know if they have a printer. If you are talking intranet with a
server in the basement and an office on the 18th floor where the printer
is, it might be possible.
My first try would be to share the printer using SMB and then see if the
copy works. If that works from the command line, it is just a matter of
changing the cfexecute command to whatever you type in the command line.
Alternatively, make CF dump the file to the spool dir of the printer
server. Or to just dump it top a certain directory and set up a batch
file to print them from there on the printer server.

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