Back to Top

Guide for Adobe Commerce Auto Print Orders

Updated 11 September 2024

Magento 2 Auto Print Orders(Adobe Commerce) extension allows the admin to print orders automatically whenever an order is placed in the store.

As soon as the order printing is completed a pop will be shown with the message “printing completed”.

The automatically printed order contains details like the customer’s name, order ID, shipping address, and billing address.

The admin can also generate the order print for orders with a single click on the order detail page section with the help of the print order button.

Admin can connect the printer to the local server or remote server to print the orders automatically.

Searching for an experienced
Magento 2 Company ?
Find out More

Also, if you want to setup a print on demand marketplace then you can check the Magento 2 Print on Demand extension.

Features

  • Admin can enable or disable the module functionality.
  • Admin can select a default printer while configuring.
  • Admin can also configure the server information for connecting the printer.
  • Orders get automatically printed once they are received at the store
  • The Store owner can print the orders in bulk.
  • Added Print order button at view order details page.
  • Order PDF will be stored in the pub/media/autoprint directory without downloading.

You can check the overview of the module –

v-oNBTjX60Y

Installation

The installation is quite simple just like the standard Magento 2 extensions.

#Download Module

Firstly, you need to log in to the Webkul Store, go to My Account>My Purchased Products section, verify, and then download and extract the contents of this zip folder on the system.

#Upload Folder

Once the module zip extracts, follow path src>app and then copy the app folder into the Magento 2 root directory on the server as shown below:

m2-installation

# Run Commands

You need to run the following commands:

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento indexer:reindex
php bin/magento cache:flush

# Additional Commands

npm init -y
npm update
npm i forever-monitor
node_modules/forever/bin/forever printerServer.js
sh launch.sh

Language Translation

For translating the module language, navigate through the app/code/Webkul/autoprint/i18n and edit the en_US.csv file.

Thereafter, rename the CSV as “en_SA.csv” and translate all right side content after the comma in the Arabic language. After editing the CSV, save it.

i18-folder

Now, upload it to the path app/code/Webkul/autoprint/i18n where the installation of Magento 2 is on the server.

Magento 2 Auto Print Order will be translated into the Arabic Language. It supports both RTL and LTR languages.

The user can edit the CSV like the image below.

i18 language translation file

Initial Configuration Settings

After the successful installation, the admin can see the Auto Print side panel menu.

magento 2 auto print menu option admin side panel

Here, the admin can tap the Configuration settings option to configure the extension.

Apart from that, the admin can also navigate through Stores->Configuration->Auto Print to configure the extension.

magento 2 auto print orders local server configuration

General Configuration :

  • Status – The admin can set the status of auto print functionality either Yes or No.

Server Configuration :

magento 2 auto print orders server configuration

Here, the admin will set –

  • Protocol(is HTTPS) – For local server, the admin will set the option as NO and for live server the admin will choose the option as a Yes.
  • Host Name – Enter the host name of your online store.
  • Port Number – Enter the port number for the local/live server.

If the Protocol(is HTTPS) is selected as Yes then you need to add the below information for the server.

Upload Server Private Key File – You need to upload this file which will you get from the host provider.

**Note: The filename must be the server. key.

Upload Server Certificate File – You have to upload a server certificate file which will you get from the host provider.

**Note: The filename must be the server. crt.

Printer Setting :

  • Default Printer – Select your default printer.
download desktop app section

Download Desktop Application

Here, the admin will be able to download the respective file format for installing the desktop application for connecting with the server.

The admin will download the desktop application for –

  • Windows OS in – ZIP, EXE, and MSI file formats
  • Linux OS in – ZIP and DEB file formats
  • Darwin OS in – ZIP and DMG file formats

Desktop App Installation – Linux, Darwin, and Windows OS

After clicking on the respective file format for the Linux OS, the desktop application will start downloading.

linux installation

Now, unzip the downloaded desktop application zip file. Navigate to the directory where the .deb file is located, for example, if the file is in the Downloads folder:

cd ~/Downloads

Install the .deb file using dpkg:

sudo dpkg -i filename.deb

If there are dependency issues, you can fix them by running:

sudo apt-get install -f

Now, you can check the downloaded application by visiting the show applications with the name POS Thermal Printer.

magento 2 auto print orders thermal printer application

To use the application, click on it, and the application will open in the form of a dialog box.

Enter your domain and port address to connect and launch the application on your system.

magento2 auto print download application for linux system

Desktop App Installation – Darwin OS

Similarly, the admin can install the application on the Apple Desktop for Darwin OS. Once the zip is downloaded, extract and open it.

magento2-thermal-printer-zip-file-for-mac-os

Once the app gets installed the admin can check the icon on their home screen.

magento2-thermal-printer-unzip-file-for-mac-os

Click on the app, the app will open in your Darwin OS.

magento2-printer-application-downloaded-mac-os

Enter your domain and port address to connect and launch the application on your system.

Desktop App Installation – Windows OS

Similarly, the admin can install the application on the Windows OS Desktop. After downloading the desktop app zip you can add it to your desktop section.

downloaded zip file on windows os

Now, extract the desktop app on your home screen.

extract app

Now, open the extracted file folder and tap the POS Thermal Printer.exe file and run it.

run the desktop app

After running the exe file, you can see teh desktop app is ready to configure.

magneto 2 auto print order desktop configuration

Enter your domain and port address to connect and launch the application on your system.

Storefront – Auto Print Orders

After setting up the module, when an order is placed at your store, you will get a pop-up. It will have the message “Printing” on reception.

magento 2-auto-print-order-request-pop-up

Instantly, another pop-up will appear which will show the message “Printing completed” as you can see in the below image.

magento2 auto print order printing completed pop up

The admin can also generate the auto print for the orders in bulk manually. For that, you need to navigate the Sales-> Orders.

Select the orders that you want to create auto print for the orders from the order list.

magento2 auto print order in bulk

In orders, you will notice one thing the Auto Print section has Yes and No values as you can see in the above image.

So, If Auto Print is Yes for the order it means the print is already generated for that particular order.

If there is NO for the Print Order that means print is not generated for that particular order.

Now, after selecting the orders for the Auto Print click on the Print Orders.

magento2 auto print order in bulk

Now, you will see a pop-up with the message “Printing” which will be shown on the top also get a notification “Print request generated successfully”.

magento2 auto print order request pop up

Once the printing process is done , you will receive an instant pop-up that shows the printing is complete as you can see in the below image.

magento2 auto print order printing completed for bulk orders

The admin can also print the order in a single click for the particular order as you can find a Print Order button on the order details page as you can see in the below snapshot.

magento2 auto print order printing completed manually
magento 2 auto print orders print order manual

Support

That’s all about the Magento 2 Auto Print Orders extension.

If you still have any issues feel free to add a ticket and let us know your views to make the module better at  webkul.uvdesk.com.

Current Product Version - 4.0.0

Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home

Table of Content