cancel
Showing results for 
Search instead for 
Did you mean: 

Print invoice without PDF download

Print invoice without PDF download

Hello all,

 

I was wondering whether anyone has figured out how to print invoices directly from the magento backend without downloading a PDF first.

 

I was unable to find a plugin/extension to achieve this. Can anyone share some information about this?

 

Any help at all will be much appreciated.

 

Many thanks,

AB

3 REPLIES 3

Re: Print invoice without PDF download

Hi @ankur_fox,

 

I know it won't be the best solution but what if you try to print with your browser?

Maybe you can customize the print.css styles to get a better result?

Re: Print invoice without PDF download

@ankur_fox

 

Hi, As far as i know its related to browser's nature and most of the browsers doesn't have a built in PDF file viewer and does auto download files you want to open for print etc.

 

BUT if you use web store app extensions that will allow you to view files in browser without downloading, including the one below ((for chrome) !

 

https://chrome.google.com/webstore/detail/docs-pdfpowerpoint-viewer/nnbmlagghjjcbdhgmkedmbmedengocbn

 

 

-- Ravindra

Re: Print invoice without PDF download

Assuming you want to print from server directly to remote printers that the web server is aware of, you can use server command line to print directly. You can create a list of printer entries in magento backend with printer path configured, and when printing a invoice, generate a temp pdf file on  server and send to selected printer.

Some links for your reference if it works for you

https://stackoverflow.com/questions/5694144/printing-over-network-from-php-app

https://stackoverflow.com/questions/30130190/linux-print-directly-to-network-printer-that-is-not-ins...

ftp://ftp.pslib.cz/pub/linux/redhat-cz/6.2/supp/HOWTOS/other-formats/html/Printing-HOWTO/Printing-HO...