I have a perl script that generates a plaintext "report" that, up to now, I have been saving to a file on a Debian/GNU server. The thing is, I'd like to, rather than save it to disk, print it to a shared printer on a Windows workgroup.
Ideally, I'd like to print to an
HP PSC 1200, shared from a Windows workstation via a USB connection. If that proves too difficult, I could print to a
Konica Minolta Bizhub C350 that supports LPR and has a static IP address.
The truth is, though, I don't even know where to start. I assumed I'd have to find a SAMBA-capable module to use this shared windows printer, but I couldnt find anything on CPAN (to be honest im not even sure what i'm *looking* for).
If anyone could help me out, or at least point me in the right direction, i would greatly appreciate it.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.