in reply to Printing spreadsheets
You're code is correct, in that you are attempting to copy a binary spreadsheet file directly to the port of a printer. As you discovered, this is not the way to actually have any readable output. What you have to do is to use the print functionality of a spreadsheet application to send formatted printer control language data to the file. That is, you are trying to use Perl to do the equivalent of File->Open, File->Print. There are a couple of ways to approach that:
Because of the operating system specific nature of printing (whether Windows, Mac, or *NIX), you need to tell us:
if you want truly detailed and good answers
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Printing spreadsheets
by merrymonk (Hermit) on Jan 11, 2011 at 16:49 UTC |