In this paper, we report the generation of nitrogen/argon electron beam plasmas with a 0.4 μm-thick silicon nitride transmission window. The measured transmittance of the electron beam is about 92% when the incident energy of electron beam is 40 keV. The optical properties of the electron beam plasma are investigated at high pressures. The luminescence intensity distribution of nitrogen and argon electron beam plasmas shows a good similarity with changing the gas pressure, suggesting that electron beam ionization is independent of background gas. At the same gas pressure, the nitrogen plasma with conical structure has a longer length along the incident direction of the electron beam and a smaller divergence cone angle compared with the argon plasma. In the nitrogen discharge, it is found that the intensities I380.4, I399.7, and I391.4 corresponding to characteristic lines at 380.4, 399.7, and 391.4 nm decrease along the incident direction of the electron beam, which is correlated with the reduction of the electron density along the incident direction of the electron beam. There is no change in the ratio of I399.7 to I380.4, indicating the spatial uniformity of the electron temperature. When the pressure increases, the ionization process induced by primary electron is enhanced, generating more plasma electrons, which is responding to the increase in the characteristic line intensity. At the same time, the neutral particle collision processes are enhanced and the electron temperature decreases with the increase in the pressure, which is believed to contribute to the observed reduction of the I399.7/I380.4 ratio.