[Skip to main content](#vessel-content)

#   Automatize invoice print

##

- **[pagemaster](/forum/user/50033-pagemaster "View pagemaster's Profile")**
- [![pagemaster's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/50033-pagemaster "View pagemaster's Profile") Topic Author
- [ Offline](/forum/user/50033-pagemaster)

Less More

- Posts: 85
- Thank you received: 9
-
-

6 years 6 months ago -  6 years 2 hours ago [\#318087](#318087) by [pagemaster](/forum/user/50033-pagemaster "View pagemaster's Profile")  *[Automatize invoice print](/forum/4-how-to/899668-automatize-invoice-print#318087 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.2.26  Hello,  is it possible to automtize the invoice print when a customer create an order?  Thank you for your support")* was created by *[pagemaster](/forum/user/50033-pagemaster "View pagemaster's Profile")*

-- HikaShop version -- : 4.2.3
-- Joomla version -- : 3.9.18
-- PHP version -- : 7.2.26

Hello,

is it possible to automtize the invoice print when a customer create an order?

Thank you for your support

Last edit: 6 years 2 hours ago by [pagemaster](/forum/user/50033-pagemaster "View pagemaster's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg5OTY2OC1hdXRvbWF0aXplLWludm9pY2UtcHJpbnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86324
- Thank you received: 14286
-
-

6 years 6 months ago [\#318092](#318092) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Automatize invoice print](/forum/4-how-to/899668-automatize-invoice-print#318092 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.2.26  Hello,  is it possible to automtize the invoice print when a customer create an order?  Thank you for your support")*

Hi,

With this plugin [ www.hikashop.com/marketplace/product/18-plugin-pdf.html](https://www.hikashop.com/marketplace/product/18-plugin-pdf.html) a PDF of the invoice will be sent to the customer in the email notifications automatically.
And you can have yourself in bcc of the email if you want a copy of the PDF invoice too.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg5OTY2OC1hdXRvbWF0aXplLWludm9pY2UtcHJpbnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[pagemaster](/forum/user/50033-pagemaster "View pagemaster's Profile")**
- [![pagemaster's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/50033-pagemaster "View pagemaster's Profile") Topic Author
- [ Offline](/forum/user/50033-pagemaster)

Less More

- Posts: 85
- Thank you received: 9
-
-

6 years 6 months ago [\#318160](#318160) by [pagemaster](/forum/user/50033-pagemaster "View pagemaster's Profile")  Replied by *[pagemaster](/forum/user/50033-pagemaster "View pagemaster's Profile")* on topic *[Automatize invoice print](/forum/4-how-to/899668-automatize-invoice-print#318160 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.2.26  Hello,  is it possible to automtize the invoice print when a customer create an order?  Thank you for your support")*

Ok, thank you very much.

After I found this guide that explain how to save the attachmend to Google Drive:

[ www.labnol.org/internet/send-gmail-to-google-drive/21236/](https://www.labnol.org/internet/send-gmail-to-google-drive/21236/)

And after how to print automatically the file with a Google Drive compatible Printer:

[ zapier.com/apps/google-cloud-print/integ...h-google-cloud-print](https://zapier.com/apps/google-cloud-print/integrations/google-drive/9579/print-files-from-google-drive-automatically-with-google-cloud-print)

This is an option, but jutst to know is not possible to print the PDF directly to the default printer?

I know how to do this out of the browser but I don&#96;t know if is possible to automatize this in a browser web page.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg5OTY2OC1hdXRvbWF0aXplLWludm9pY2UtcHJpbnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86324
- Thank you received: 14286
-
-

6 years 6 months ago [\#318162](#318162) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Automatize invoice print](/forum/4-how-to/899668-automatize-invoice-print#318162 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.2.26  Hello,  is it possible to automtize the invoice print when a customer create an order?  Thank you for your support")*

Hi,

To the default printer ? A web server is normally not connected directly to a printer. I've never seen it in fact, unless it's a local web server on your own computer.
Also, there is no default PHP API to talk to a printer that would be connected to your server.
It requires going through a system program call:
[ stackoverflow.com/questions/31174998/php...directory-to-printer](https://stackoverflow.com/questions/31174998/php-print-files-in-directory-to-printer)
So technically, you could achieve it as a custom solution provided that your printer is connected to your web server but that's not something you could have as a generic option or plugin for HikaShop.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg5OTY2OC1hdXRvbWF0aXplLWludm9pY2UtcHJpbnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[pagemaster](/forum/user/50033-pagemaster "View pagemaster's Profile")**
- [![pagemaster's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/50033-pagemaster "View pagemaster's Profile") Topic Author
- [ Offline](/forum/user/50033-pagemaster)

Less More

- Posts: 85
- Thank you received: 9
-
-

6 years 6 months ago [\#318230](#318230) by [pagemaster](/forum/user/50033-pagemaster "View pagemaster's Profile")  Replied by *[pagemaster](/forum/user/50033-pagemaster "View pagemaster's Profile")* on topic *[Automatize invoice print](/forum/4-how-to/899668-automatize-invoice-print#318230 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.2.26  Hello,  is it possible to automtize the invoice print when a customer create an order?  Thank you for your support")*

Ok, thank you very much for clear me all the details.

I think in this case I try to proceed with the first solution.

Best regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg5OTY2OC1hdXRvbWF0aXplLWludm9pY2UtcHJpbnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[pagemaster](/forum/user/50033-pagemaster "View pagemaster's Profile")**
- [![pagemaster's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/50033-pagemaster "View pagemaster's Profile") Topic Author
- [ Offline](/forum/user/50033-pagemaster)

Less More

- Posts: 85
- Thank you received: 9
-
-

6 years 2 hours ago [\#325461](#325461) by [pagemaster](/forum/user/50033-pagemaster "View pagemaster's Profile")  Replied by *[pagemaster](/forum/user/50033-pagemaster "View pagemaster's Profile")* on topic *[Automatize invoice print](/forum/4-how-to/899668-automatize-invoice-print#325461 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.2.26  Hello,  is it possible to automtize the invoice print when a customer create an order?  Thank you for your support")*

I made some tests and it seems not possible to automatize the printing because for security reasons is necessary to show the modal print window and confirmed from the user to send the print. In this case we print manually

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg5OTY2OC1hdXRvbWF0aXplLWludm9pY2UtcHJpbnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.064 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
