473,396 Members | 1,864 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 6390
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: memmmmm | last post by:
So I have a client program written in java and it needs to be able to print pdfs. By print pdfs I dont mean print to a pdf file but rather print a pdf file to a real printer. I have tried pdfgo and...
4
by: Fuzzyman | last post by:
I looked through the manual, I looked on the web and could find very little on this subject.... The closest I could find was : http://www.faqts.com/knowledge_base/view.phtml/aid/4549. Saying...
1
by: uri bushey | last post by:
So I have a tkinter based little program in Python that has a canvas loaded with a WaveSurfer (http://www.speech.kth.se/wavesurfer/) widget. I am trying to print the contents of the WaveSurfer...
8
by: David Isaac | last post by:
"Alan Isaac" <aisaac0@verizon.net> wrote in message news:_A34e.2207$1r6.248@trnddc02... > I'd like to try personal financial management using Python. > I just found PyCheckbook, but it does not...
10
by: Rebecca | last post by:
I have an asp application that needs to print to a specific network printer. I am currently making it work by using the FSO and setting the path to the printer port, then writing out a string. ...
1
by: BJS | last post by:
Sorry for the cross-posting, but based on the number of people I have seen ask for a solution to this problem, I hope by cross-posting this, that it will help a lot of people out of a common...
16
by: cyranoVR | last post by:
This is the approach I used to automate printing of Microsoft Access reports to PDF format i.e. unattended and without annoying "Save As..." dialogs, and - more importantly - without having to use...
7
by: Maravilloso | last post by:
Hi I'm trying to automatically send a postscript file to be printed to the default printer in a Win98 PC, by means of using the instrucction: win32api.ShellExecute (0, "print", "file.ps",...
1
by: Peter Afonin | last post by:
Hello, I'm using Crystal Reports for Visual Studio 2005. I'm trying to print my reports to the postscript file: PrinterSettings ps = new PrinterSettings(); ps.PrinterName = "HP Deskjet 3840...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.