Hi,

I am developing a small E-commerce site, but at one point i need your precious help.

I want to print the order directly when the order will placed without clicking any print option. Any help will be appreciated.

Thanks in advance.

Regards,
Arun

Recommended Answers

Review this link, should give you what you need.

http://www.quackit.com/javascript/javascript_print.cfm

Jump to Post

All 2 Replies

Print an order where? If you mean server side printing, take a look at <cfprint>. If you mean client side, web pages can't access a user's printer directly for security reasons. The best you can do is display a prompt as shown in the prev link.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.