Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Printing a PDF file


hana.nadeem

Recommended Posts

hi

 

i am here again with new problem :(

 

i want to implement

 

when ever my admin clicks on packing slip it itself prints a slip for him.

 

i.e. a slip itself starts printing, he himself don't need to click print button...........

its required to minimize the number of clicks

 

 

thanx

Link to comment
Share on other sites

hi

 

i am here again with new problem :(

 

i want to implement

 

when ever my admin clicks on packing slip it itself prints a slip for him.

 

i.e. a slip itself starts printing, he himself don't need to click print button...........

its required to minimize the number of clicks

 

 

thanx

 

 

 

 

please help me for it

 

any kind of suggestions

 

any functions of php for printing

Link to comment
Share on other sites

please i need solution of my problem urgently

 

i am unable to fine it even from net :(

 

please can anybody search net for me

i need the solution badly but unable to find it

 

:blink:

 

please

please

please

................................................

Link to comment
Share on other sites

You can create a button on the page that runs on java to print the current page:

http://www.boutell.com/newfaq/creating/printbutton.html

 

But I do not know how to make the button call up the packing slip to print it. The code referenced above only prints the current page.

 

Tim

 

 

 

 

 

 

please i need solution of my problem urgently

 

i am unable to fine it even from net :(

 

please can anybody search net for me

i need the solution badly but unable to find it

 

:blink:

 

please

please

please

................................................

Link to comment
Share on other sites

Here is a page that tells how to force a print when the page loads

 

http://www.htmlgoodies.com/beyond/javascript/article.php/3471121

 

Presumably you would add code to packingslip.php and when you click the button in admin, the packing slip page loads and a print dialog window pops up automatically.

 

Tim

Link to comment
Share on other sites

Here is a page that tells how to force a print when the page loads

 

http://www.htmlgoodies.com/beyond/javascript/article.php/3471121

 

Presumably you would add code to packingslip.php and when you click the button in admin, the packing slip page loads and a print dialog window pops up automatically.

 

Tim

 

 

i tried this one but i am facing two problems with it

 

1. its printing the URL as well

2. its that it does not immediately fire a print. It actually only fires the print window which i dont want

:(

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...