ERPNext Foundation ERPNext Cloud Chat Blog Discuss Frappé* Donate

Add Label Printer options in print_layout html file


#1

Hi All,

I created custom doctype called Label Printer and i made two Label Printers: 1.Citizen and 2. Zebra.
In print_layout.html, how can we add Label Printer doc options(1.Citizen and 2. Zebra) and is possible to get items details of any doc(Purchase Invoice/Purchase Receipt) when selection of Citizen/Zebra printer?
Right now I added manually in print_layout.html file. Please find in attached one.
Any suggestions?

Thanks
Ragh


#2

it is quite difficult i think but i suggest you to add select field and custom button on your Purchase invoice and purchase reciept and then on the basis of selection field you add render your custom template in pdf format


#3

Thanks @AkshayJadhao


#4

@ragh The print node Integration I’m maintainer can do what you want