469,658 Members | 1,791 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,658 developers. It's quick & easy.

Printing Postscript in Perl

Hi Everyone,

I'm having a real hard time with this. Maybe some smarter people can
assist.

I'm running Mandrake 9.2. I have a Laserjet 4M Plus. I want to be
able to print Postscript, bold, underline, different fonts, etc from
within a Perl script.

I have absolutely no idea where to start or what to do. My
/etc/printcap file looks pretty shallow:

HPLJ4|HP Laserjet 4:rm=nitelife:rp=HPLJ4:

I set my printer up using the DrakConf program. I can print, but just
not any formatted text or anything.

I see so much information around, that I'm lost as to which really
applies to me situation.

Any help would be appreciated.

Thanks,

Arthur
Jul 19 '05 #1
4 6205
Arthur wrote:
I'm running Mandrake 9.2. I have a Laserjet 4M Plus. I want to be
able to print Postscript, bold, underline, different fonts, etc from
within a Perl script.


How do you print a regular Postscript file today, i.e. without using a Perl
script?
Then just mimic that code in your Perl script and you are all set.

jue
Jul 19 '05 #2
In article <8b**************************@posting.google.com >, Arthur wrote:
I'm running Mandrake 9.2. I have a Laserjet 4M Plus. I want to be
able to print Postscript, bold, underline, different fonts, etc from
within a Perl script.

Go to CPAN en look for PostScript:: modules:
PostScript::BasicTypesetter or Postscript::Simple
may do what you want.

Then spool your results to a RAW queue.

Cheers, Roel van der Steen
Jul 19 '05 #3
I do not print anything really from my Linux box today. It is
something I want to start doing......so, printing from MS Word is not
going to help me print Postscript and fonts and such from Perl......

Arthur
"Jürgen Exner" <ju******@hotmail.com> wrote in message news:<Cy******************@nwrddc02.gnilink.net>.. .
Arthur wrote:
I'm running Mandrake 9.2. I have a Laserjet 4M Plus. I want to be
able to print Postscript, bold, underline, different fonts, etc from
within a Perl script.


How do you print a regular Postscript file today, i.e. without using a Perl
script?
Then just mimic that code in your Perl script and you are all set.

jue

Jul 19 '05 #4
[Please do not top-post, trying to repair]
[Please do not blindly fullquote but trim to a reasonable context]
Arthur wrote:
"Jürgen Exner" <ju******@hotmail.com> wrote in message
news:<Cy******************@nwrddc02.gnilink.net>.. .
Arthur wrote:
[...] I want to be
able to print Postscript, bold, underline, different fonts, etc from
within a Perl script.
How do you print a regular Postscript file today, i.e. without using
a Perl script?
Then just mimic that code in your Perl script and you are all set.

I do not print anything really from my Linux box today. It is
something I want to start doing......
Well, then I suggest you get that one up and running first. If you have
neither a Postscript-capable printer nor a software rendering engine, then
Perl isn't going to help you printing Postscript at all.
Once you know how to print PostScript files on your computer, then we can
probably tell you how to loop in Perl.
so, printing from MS Word is not
going to help me print Postscript and fonts and such from Perl......


Where did I mention or suggest MS Word?

jue
Jul 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

12 posts views Thread by memmmmm | last post: by
4 posts views Thread by Fuzzyman | last post: by
1 post views Thread by uri bushey | last post: by
8 posts views Thread by David Isaac | last post: by
10 posts views Thread by Rebecca | last post: by
7 posts views Thread by Maravilloso | last post: by
1 post views Thread by Peter Afonin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.