Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

How to Print to USB Printer under Win 7 using VS 2015

$
0
0

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.


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>