[comp.lang.c] Accessing a printer port

jochenw@hathi.informatik.rwth-aachen.de (Jochen Wolters) (06/25/91)

Hi all,

  I'm currently writing a rather small printer utility under MS QuickC 2.01.
Only problem is: I don't know how to "switch" to a designated parallel port
except stdprn. Is there a way to "put" a string directly to for instance 
LPT2? If so, please let me know how!

  Many thanx in advance...

  greetinx,
             Jochen.
--
Jochen Wolters       |       jochenw@cip-s02.informatik.rwth-aachen.de  
----------------------------------------------------------------------
"Taniwha is waiting for me just below the surface so bright..."
                                                             Split Enz

kremer@cs.odu.edu (Lloyd Kremer) (06/25/91)

In article <jochenw.677849619@hathi> jochenw@hathi.informatik.rwth-aachen.de (Jochen Wolters) writes:
>Hi all,
>
>Is there a way to "put" a string directly to for instance 
>LPT2? If so, please let me know how!

How about open()ing "LPT2" and letting the operating system worry about it?

					Lloyd Kremer
					Hilton Systems, Inc.
					kremer@cs.odu.edu