This content has been marked as final. Show 4 replies
Yes, I think, maybe.
You can use cfexecute to send output to printers recognized by the server. I know that part is true because I have done it. This is useful in intranet worlds where I work but probably rather quite useless for the internet.
Plus, I'm not sure if flashpaper is what you want. If you used pdf instead, you might be able to create a file and use cfexecute to print the file. This part I'm not quite as sure about. Read the part about cfdocument in the cfml reference manual and you'll know whether or not you can create a file.
ok so if i can create a pdf file and save it on the server, how would i print that pdf?
i have looking into this and i found out how to save as pdf to the server, just not sure how i would print directly to a users printer?
You can't print to a user's printer. You can only print to a printer that is mapped on the server.
CF is a server side methodology. It has no idea what printers are attached to a client's machine.
As Dan was saying, if you are operating in an intranet, and the server is mapped to printers that are in the same area as your end users, that is not such a big deal. The server can print to a printer that just happens to be in the general vicinity as the end user.