Discussion:
Printer output
(too old to reply)
Butchi
2003-07-11 17:31:46 UTC
Permalink
Hi,

Is it possible to sent a single character from a script to a printer
port?

Based on a received command/word over the IRC-channel I like to sent a
control byte to the printer parallel port.

Any suggestions?

Thanks

Jos Weijenberg
BlueWolf
2003-07-12 13:44:59 UTC
Permalink
Post by Butchi
Any suggestions?
You can use a *.dll file that does that.

http://users2.ev1.net/~poellinger/pprtr.htm

I haven't used this dll and don't know
how to use it, but the website I found it
on does provide alot of information that
if properly read you can learn how to
use the *.dll.

Also, in mIRC type:
/help /dll
-or-
/help $dll

if you don't like the dll then google search
something like: printer dll.



----------------------------------
really bad work around. if on a winbox

have it write it to a file then
-NT -2k -XP?
/run cmd.exe /c type file.txt > lpt1
ie- /run cmd.exe /c type c:\msdos.sys > lpt1
-95 -98 -ME?
/run command.com type file.txt > lpt1
? = I don't know if you can /c with command.com

lpt1 = the port your printter is on.
if it isn't on this port then
change it to something it is on.
lpt0
lpt2
lpt? ? = port

Will have to append a Alt+9 | Form Feed at the
end of the document or it will stick in the printer
until your do this. It issues the end of page
Butchi
2003-07-12 15:37:41 UTC
Permalink
On Fri, 11 Jul 2003 19:45:09 -0400, "musicman"
the only way i see is by copy pasting it on a notepad, word what ever, in
windows and print it. i dont think u can do it directly from mirc un less
there is a command that i dont know
Post by Butchi
Hi,
Is it possible to sent a single character from a script to a printer
port?
Based on a received command/word over the IRC-channel I like to sent a
control byte to the printer parallel port.
Any suggestions?
Thanks
Jos Weijenberg
Thanks,
I am looking for a real time function so this does not work.

Jos Weijenberg

Loading...