i have these printers that have formatter boxes attached. to
reconfigure these formatter boxes, i send a binary file to the device
by ...

1 create a print queue to the ip address
2 share that print queue
3 redirect LPT2 to that print queue
4 copy /b <format_file> LPT2


i would like to automate this function and am considering using
MSWinSck.ocx (stream to TCP 9100) but, can it handle ~1MB stream? Does
anyone have another idea how to do this efficiently and reliably?

Re: send binary to IP printer by TDM

TDM
Wed Jun 20 09:26:36 CDT 2007


"billy" <wcasse@yahoo.com> wrote in message
news:1182112818.560168.213750@n2g2000hse.googlegroups.com...
>i have these printers that have formatter boxes attached. to
> reconfigure these formatter boxes, i send a binary file to the device
> by ...
>
> 1 create a print queue to the ip address
> 2 share that print queue
> 3 redirect LPT2 to that print queue
> 4 copy /b <format_file> LPT2
>
>
> i would like to automate this function and am considering using
> MSWinSck.ocx (stream to TCP 9100) but, can it handle ~1MB stream? Does
> anyone have another idea how to do this efficiently and reliably?
>

I dont have your answer, but perhaps a suggestion.
Have you tried : copy /b <format_file> \\server\share

This might save you a step or 2 in your process.


TDM