[Tutor] pyLPD

janos.juhasz@VELUX.com janos.juhasz@VELUX.com
Thu Jan 2 05:50:01 2003


Dear Alan!

Ok, I can redirect the LPT1: to LPT2: on this way, but where can I plac=
e
the filter ?
With LPD i can pump the data across a filter, but how can I do it with =
the
MODE ?

Best regards,
-----------------------
Juh=E1sz J=E1nos
IT department



Alan wrote>>

> I wanted to working with LPT1: on windows, but it seems to
> bee impossible.
> Simply I can't capture the stream sent to it.

Have you checked the MODE command? Its DOS but works even in W2K etc...=


Heres the /? output:
-----------------------------------------------------
C:\>mode /?
Configures system devices.

Serial port:       MODE COMm[:] [BAUD=3Db] [PARITY=3Dp] [DATA=3Dd] [STO=
P=3Ds]
                                [to=3Don|off] [xon=3Don|off] [odsr=3Don=
|off]
                                [octs=3Don|off] [dtr=3Don|off|hs]
                                [rts=3Don|off|hs|tg] [idsr=3Don|off]

Device Status:     MODE [device] [/STATUS]

Redirect printing: MODE LPTn[:]=3DCOMm[:]

Select code page:  MODE CON[:] CP SELECT=3Dyyy

Code page status:  MODE CON[:] CP [/STATUS]

Display mode:      MODE CON[:] [COLS=3Dc] [LINES=3Dn]

Typematic rate:    MODE CON[:] [RATE=3Dr DELAY=3Dd]
----------------------------------------------------


Note the bit about redirecting LPTn....

HTH,

Alan g.

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor



=