Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Printing Postscript in Perl

Reply
Thread Tools

Printing Postscript in Perl

 
 
Arthur
Guest
Posts: n/a
 
      03-07-2004
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
 
Reply With Quote
 
 
 
 
Jürgen Exner
Guest
Posts: n/a
 
      03-07-2004
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


 
Reply With Quote
 
 
 
 
Roel van der Steen
Guest
Posts: n/a
 
      03-07-2004
In article <(E-Mail Removed) >, 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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
printing raw postscript data on windows Uwe Schmitt Python 1 07-15-2006 06:54 AM
Printing Python Postscript marcobonifazi@gmail.com Python 0 01-10-2006 10:30 AM
Printing EPS (embedded postscript) from Java. Glen Pepicelli Java 1 05-15-2005 12:46 AM
Need convert to postscript before printing? bilian Java 1 11-04-2004 08:13 AM
Trouble printing QuarkXpress into postscript drive as prn and converting into pdf files using distiller OZ Computer Support 0 09-27-2004 05:03 PM



Advertisments