From: Aredridel Date: 2003-09-05T01:23:27+09:00 Subject: Re: Printing in Ruby --=-Kg5FcLkNi0g5/RIE1F0x Content-Type: text/plain Content-Transfer-Encoding: quoted-printable [clip] > It works fine in Windows or Linux with the system. > But I don't know if there is any other simple solution. Actually I=20 > need to make a report, so there are some formatted text, also=20 > different sizes of papers etc. Any other solution for this? I think you're probably best off doing what the unix crowds have always done: make postscript. After that, you can post-process with free tools into PDF files, or you can make it into (non-postscript) printer form with Ghostscript, or you can print it directly with a postscript printer. It's not super-simple, but for a surprising number of tasks, pretty easy -- and Ruby can abstract away a surprising amount, if you write the code to do it. Anyone else have classes for dealing with Postscript to share? Mine are as yet theoretical. Ari --=-Kg5FcLkNi0g5/RIE1F0x Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQA/V2bitP09exA3hooRAphlAJ95+MFAP2t/7Dz48Ls8pZts3RQEOACfbBbv 7rGVjGGmWqg2eoSkRhOllSU= =tIE1 -----END PGP SIGNATURE----- 0 --=-Kg5FcLkNi0g5/RIE1F0x--