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 Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm