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.
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 –
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:
# 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.
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.
Initial Configuration Settings
After the successful installation, the admin can see the Auto Print side panel menu.
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.
General Configuration :
- Status – The admin can set the status of auto print functionality either Yes or No.
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 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.
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.
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.
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.
Once the app gets installed the admin can check the icon on their home screen.
Click on the app, the app will open in your Darwin 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.
Now, extract the desktop app on your home screen.
Now, open the extracted file folder and tap the POS Thermal Printer.exe file and run it.
After running the exe file, you can see teh desktop app is ready to configure.
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.
Instantly, another pop-up will appear which will show the message “Printing completed” as you can see in the below image.
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.
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.
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”.
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.
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.
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
Be the first to comment.