I am unable to print direct to usb printer under windows 7 using MF VS 2015. I spent considerable time researching how to do this. I am very familiar with Liant's RM Cobol printing facilities. I tried setting the COBCONFIG.cfg via Gael's steps but the properties for the project under the application tab does not have a Environment button... I have tried Chris's suggestions also... I keep getting the error LPT1 not found in VS 2015 during project execution... Any definitive help would be appreciated as I am not familiar with MF VS 2015 or any other visual development environment. I have spent most of my life writing in pure legacy environments. I thank all for their help !
The code is simple
select lne assign to printer
organization is line sequential.
fd lne
label records are omitted.
01 lnerec pic x(132).
open output lne.
move "test" to lnerec.
write lnerec.
close lne.