According to the Rehit Maryada printed by the Shiromani Gurdwara Prabandhak Committee, Amritsar, in 1945, the code for Langar is as follows: (in Punjabi)
(A) Guru ka Langar- is de do bhag han,
Ik Sikha noo seva Sikhana
Duje uach- nich, chhut chat da bharam mitana.
(B) Guru ke Langar vich beath ke uach nich, kise jat ja varan da prani persad chhak sakda hai, Pangat vich bitthan lagiya — Kise desh, Varan jati ja majahab da vitakra nahi karana, Ha! Ik thali vich kevel amritdhari Sikh hi chhak sakade han.
English version (It has been tried to keep the translation as literal as possible)
(A) The Langar of the Guru — It has two meanings:
– to teach the Sikhs about the concept of volunteer service;
– to erase the doubt (notion) of superiority – inferiority, and unsociability.
(B) By sitting in the Langar of the Guru without any superiority — or inferiority- complex, a person belonging to any caste or sect, can eat food. While seating in Pangat” (Row or Line) there should not be any discrimination about the origin of the country, caste, creed, or religion of a person. Yes, only Amritdhari Sikhs can eat from one plate .
The spirit of service “Seva Bhav” cannot be seen anywhere in country except Gurdwara. Gurdwara also offers an excellent offer of Social Equality in Langar Hall. Therefore, we can say that Langar in India serves a purpose of Social Equality, Food Security and good example of Spirit of Service.