Amarnath Honnavalli Anantharamaiah writes ..
>It is quite interesting. I am curious to know how do you print to a
>network printer ? Please excuse me if I am asking a dumb question.
never had to .. if I had to I'd probably want to format the printed output a
little better than ASCII can do .. so I'd probably use OLE to setup a Word
document and print from Word (I'm assuming - of course - that we're still
talking Win32 as per the original query)
there's a Net::Printer module available on CPAN for UNIX line printers ..
talks to port 515 on the network printer .. this might work for Win32
printers .. but I doubt it .. and even if it did - then it's unlikely to be
pretty
if I were you - I'd use Word (or some other printer enabled program) to
print .. notepad for example has a /p option .. so you can write a temporary
file and print it using notepad (which will use the default printer)
none of the solutions are very tidy
--
jason king
In South Carolina, merchandise may not be sold within a half mile of
a church unless fruit is being sold. - http://dumblaws.com/