John M. Dlugosz has asked for the wisdom of the Perl Monks concerning the following question:
I find myself longing for that simple time, because I want to print a fancy directory listing on a label. Perl can do its report stuff (a feature I've never used before, actually) but I'd have to load the resulting text file into some application using a monospaced font and print it from there.
To print in Windows, a program uses a device context and draws, just like on the screen. Perl doesn't do that naturally. I do want to use some simple formatting like large centered text for caption, and wrapping long lines (with a proportional font).
One idea is to drive Word through OLE Automation. But I'm wondering if there is something simpler that's Perl-like and works on ActiveState? Barring that, any other ideas on how to print from Perl?
—John
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re:(Win32::OLE) Printing from Perl in Windows
by tachyon (Chancellor) on Feb 17, 2003 at 05:14 UTC | |
by John M. Dlugosz (Monsignor) on Feb 17, 2003 at 06:41 UTC | |
by castaway (Parson) on Feb 17, 2003 at 10:06 UTC | |
by grantm (Parson) on Feb 17, 2003 at 17:55 UTC | |
|
Re: Printing from Perl in Windows
by toma (Vicar) on Feb 17, 2003 at 04:33 UTC | |
by schweini (Friar) on Feb 17, 2003 at 05:05 UTC | |
by toma (Vicar) on Feb 17, 2003 at 07:00 UTC | |
|
Re: Printing from Perl in Windows
by schweini (Friar) on Feb 17, 2003 at 04:28 UTC | |
|
Re: Printing from Perl in Windows
by grantm (Parson) on Feb 17, 2003 at 20:44 UTC | |
by John M. Dlugosz (Monsignor) on Feb 18, 2003 at 22:27 UTC |