printing graphical documents with pl1 
Author Message
 printing graphical documents with pl1

Hi to all the specialists in this newgroup.

My environment: WinNT 4.0 SP3, VA PL1 2.1
My problem:
I have to print forms with bitmaps (signatures), different fonts, ......
Is there way to do this with pl1, or do I need special tools? e.g on the
mainframe I took AFP.
Any help would be appreciated,
Peter



Mon, 19 Aug 2002 03:00:00 GMT  
 printing graphical documents with pl1
Not quite clear about what you want to do.  IBM has an AFP toolkit
callable from PL/I (and lesser languages) that will let you do a lot of
this, or you could look at GDDM, also callable from PL/I.  What type of
printer do you want to use, what host, etc.?

Hi to all the specialists in this newgroup.

Quote:

> My environment: WinNT 4.0 SP3, VA PL1 2.1
> My problem:
> I have to print forms with bitmaps (signatures), different fonts, ......
> Is there way to do this with pl1, or do I need special tools? e.g on the
> mainframe I took AFP.



Mon, 19 Aug 2002 03:00:00 GMT  
 printing graphical documents with pl1
Hi Peter,
thanks for your reply. I know (use) the AFP on mainframe. But we are leaving
the mainframe to  NT server environment. So we also lose the Hostprinter (no
idea, which kind of printer this is).
What type of printer will I use: HP Laserjet 8100 DN
what host: NT 4.0 Server. Is AFP (or GDDM) available for WIN NT?
What I want to do: migrate our forms from mainframe to NT.
Peter



Quote:

> Not quite clear about what you want to do.  IBM has an AFP toolkit
> callable from PL/I (and lesser languages) that will let you do a lot of
> this, or you could look at GDDM, also callable from PL/I.  What type of
> printer do you want to use, what host, etc.?

> Hi to all the specialists in this newgroup.

> > My environment: WinNT 4.0 SP3, VA PL1 2.1
> > My problem:
> > I have to print forms with bitmaps (signatures), different fonts, ......
> > Is there way to do this with pl1, or do I need special tools? e.g on the
> > mainframe I took AFP.



Mon, 19 Aug 2002 03:00:00 GMT  
 printing graphical documents with pl1
Sorry -- know zilch about NT.
Quote:

> Hi Peter,
> thanks for your reply. I know (use) the AFP on mainframe. But we are leaving
> the mainframe to  NT server environment. So we also lose the Hostprinter (no
> idea, which kind of printer this is).
> What type of printer will I use: HP Laserjet 8100 DN
> what host: NT 4.0 Server. Is AFP (or GDDM) available for WIN NT?
> What I want to do: migrate our forms from mainframe to NT.
> Peter




> > Not quite clear about what you want to do.  IBM has an AFP toolkit
> > callable from PL/I (and lesser languages) that will let you do a lot of
> > this, or you could look at GDDM, also callable from PL/I.  What type of
> > printer do you want to use, what host, etc.?

> > Hi to all the specialists in this newgroup.

> > > My environment: WinNT 4.0 SP3, VA PL1 2.1
> > > My problem:
> > > I have to print forms with bitmaps (signatures), different fonts, ......
> > > Is there way to do this with pl1, or do I need special tools? e.g on the
> > > mainframe I took AFP.



Mon, 19 Aug 2002 03:00:00 GMT  
 printing graphical documents with pl1
This may or may not be applicable but for our degree printing (and soon
for our official transcripts as well) we use a product called
PlanetPress. This product allows us to add graphics information including
conditional processing such that the diplomas are signed by the Dean of
the Faculty (College).

This software is smart enough so that only a single copy of a graphic
image is sent to the printer regardless of the number of times it is
used. We originally printed our degree certificates using a word
processor based mail-merge application but found that the size of the
print files was killing us. Individual diplomas were averaging over 1Mb
apiece. Using PlanetPress we send a diploma blank first (approx 3Mb for
ALL the variations we have) and then less than 250 bytes per diploma
thereafter. The printer now runs at rated speed while previously it took
over 1 minute per diploma!

This solution is only applicable for printing to printers that support
postscript.

For more information see www.objectivelune.com



Quote:
> Hi Peter,
> thanks for your reply. I know (use) the AFP on mainframe. But we are leaving
> the mainframe to  NT server environment. So we also lose the Hostprinter (no
> idea, which kind of printer this is).
> What type of printer will I use: HP Laserjet 8100 DN
> what host: NT 4.0 Server. Is AFP (or GDDM) available for WIN NT?
> What I want to do: migrate our forms from mainframe to NT.
> Peter




> > Not quite clear about what you want to do.  IBM has an AFP toolkit
> > callable from PL/I (and lesser languages) that will let you do a lot of
> > this, or you could look at GDDM, also callable from PL/I.  What type of
> > printer do you want to use, what host, etc.?

> > > My environment: WinNT 4.0 SP3, VA PL1 2.1
> > > My problem:
> > > I have to print forms with bitmaps (signatures), different fonts, ......
> > > Is there way to do this with pl1, or do I need special tools? e.g on the
> > > mainframe I took AFP.

--
Michael Motek
Senior Programmer/Analyst, University of Victoria


Mon, 19 Aug 2002 03:00:00 GMT  
 printing graphical documents with pl1
You have two choices:

1. Base GDI printing (with printer control using WinSpool). The header files
are with CSD#3 and above.
You'll need to learn something about Windows programming. May I recommend
Petzold's classic book. It's for C, but the logic is identical, and all the
calls are available to PL/I (if you find one that's missing, send me an
e-mail and I'll fix it).
This is the way I do it, and it works well.

2. Get yourself a forms management software solution, such as ISIS/Papyrus.
This product will simulate AFP's way of working (formdefs, pagedefs),
without tieing you to an AFP printer.

Going for 1 is better in the long term (because what you learn is generally
good for your knowledge). Going for 2 can be quicker, although less
flexible.

You also have the choice of doing the whole job in Visual Basic, in
conjunction with a forms management add-on, such is those provided by VSView
and family. if you're publishing database information, this can be a much
more productive environment. You can always marry your (legacy) PL/I code
with your new VB Basic code, and if you do it via a type library, it also
looks transparent. Your PL/I code will need some simple wrappers to "speak"
system linkage. YOu'll also want todeal with structure padding mismatch, if
you have any.

---

GDDM is not available for NT, the NT equivalent is the GDI interface. AFP:
see above.

---

Warning: Windows NT is not a trivial system. It took you time to get up to
speed on MVS. It will take you just as long on NT.
You need to go out and start doing serious training.

--
Regards, Mark Yudkin, Yudkin Consulting AG, Authors of Cogent/SQL for MVS,
OS/2 and Windows NT.
The simplest way to publish live data on the World Wide Web.


Quote:
> Hi to all the specialists in this newgroup.

> My environment: WinNT 4.0 SP3, VA PL1 2.1
> My problem:
> I have to print forms with bitmaps (signatures), different fonts, ......
> Is there way to do this with pl1, or do I need special tools? e.g on the
> mainframe I took AFP.
> Any help would be appreciated,
> Peter



Tue, 20 Aug 2002 03:00:00 GMT  
 printing graphical documents with pl1
Many thanks for all the helpful answers.
But I'm afraid, I forgot to mention: It's mass printing (sometimes 20,000+).
Peter



Quote:
> Hi to all the specialists in this newgroup.

> My environment: WinNT 4.0 SP3, VA PL1 2.1
> My problem:
> I have to print forms with bitmaps (signatures), different fonts, ......
> Is there way to do this with pl1, or do I need special tools? e.g on the
> mainframe I took AFP.
> Any help would be appreciated,
> Peter



Fri, 23 Aug 2002 03:00:00 GMT  
 printing graphical documents with pl1
Perhaps next time you could give high impact information up front?

At that sort of volume you're going to need hardware that can print at that
sort of rate. Also, given the NT print architecture (server-side spooling,
EMF-spooling with split formatting), I think you're going to have to do a
lot of learning about the underlying NT architecture you've decided on. The
question you asked is the least of your problems.

Our data mass doesn't normally exceed 25% of your page figures (the original
program IS in PL/I), so you have 4 times to amount to manage - and we're
pushing on what NT can handle.

--
Regards, Mark Yudkin, Yudkin Consulting AG, Authors of Cogent/SQL for MVS,
OS/2 and Windows NT.
The simplest way to publish live data on the World Wide Web.


Quote:
> Many thanks for all the helpful answers.
> But I'm afraid, I forgot to mention: It's mass printing (sometimes
20,000+).
> Peter



> > Hi to all the specialists in this newgroup.

> > My environment: WinNT 4.0 SP3, VA PL1 2.1
> > My problem:
> > I have to print forms with bitmaps (signatures), different fonts, ......
> > Is there way to do this with pl1, or do I need special tools? e.g on the
> > mainframe I took AFP.
> > Any help would be appreciated,
> > Peter



Fri, 23 Aug 2002 03:00:00 GMT  
 printing graphical documents with pl1
We handled this by using PostScript.  The signatures and different
fonts are handled by using encapsulated PostScript.  Our application is
a MailMerge were the signatures and fonts are sent to the output file
once and a special form file that is sent to the output file for every
record in our data set.  This works pretty good but you do have to now
a quit a bit about Postscript.  Once the output file is created we copy
it directly to the printer bypassing the Windows drivers.

If you are interested email me and I will send you a copy of my code
and some samples of how we use it.

With all that said we are actually migrating to a product called
DocuWrite from First Logic (www.firstlogic.com).  We are doing this
because it uses Microsoft Word as a forms front-end.  Once you have
your forms designed you then run the MailMerge part of DocuWrite to
create your print file that you then send to the printer.  The downside
to this is less flexibility, the upside to this is that the forms setup
is a lot less technical.

Randy Gress



Quote:
> This may or may not be applicable but for our degree printing (and
soon
> for our official transcripts as well) we use a product called
> PlanetPress. This product allows us to add graphics information
including
> conditional processing such that the diplomas are signed by the Dean
of
> the Faculty (College).

> This software is smart enough so that only a single copy of a graphic
> image is sent to the printer regardless of the number of times it is
> used. We originally printed our degree certificates using a word
> processor based mail-merge application but found that the size of the
> print files was killing us. Individual diplomas were averaging over
1Mb
> apiece. Using PlanetPress we send a diploma blank first (approx 3Mb
for
> ALL the variations we have) and then less than 250 bytes per diploma
> thereafter. The printer now runs at rated speed while previously it
took
> over 1 minute per diploma!

> This solution is only applicable for printing to printers that
support
> PostScript.

> For more information see www.objectivelune.com



> > Hi Peter,
> > thanks for your reply. I know (use) the AFP on mainframe. But we
are leaving
> > the mainframe to  NT server environment. So we also lose the
Hostprinter (no
> > idea, which kind of printer this is).
> > What type of printer will I use: HP Laserjet 8100 DN
> > what host: NT 4.0 Server. Is AFP (or GDDM) available for WIN NT?
> > What I want to do: migrate our forms from mainframe to NT.
> > Peter




> > > Not quite clear about what you want to do.  IBM has an AFP toolkit
> > > callable from PL/I (and lesser languages) that will let you do a
lot of
> > > this, or you could look at GDDM, also callable from PL/I.  What
type of
> > > printer do you want to use, what host, etc.?

> > > > My environment: WinNT 4.0 SP3, VA PL1 2.1
> > > > My problem:
> > > > I have to print forms with bitmaps (signatures), different
fonts, ......
> > > > Is there way to do this with pl1, or do I need special tools?
e.g on the
> > > > mainframe I took AFP.
> --
> Michael Motek
> Senior Programmer/Analyst, University of Victoria

Sent via Deja.com http://www.deja.com/
Before you buy.


Fri, 23 Aug 2002 03:00:00 GMT  
 printing graphical documents with pl1
PlanetPress works extremely well for mass printing. It only ends up
sending the bitmaps and fonts once and you don't have to know the
internals of PostScript. It has conditional processing (if the degree is
from the Faculty of Science then use the signature of the Dean of
Science, if the degree is a replacement for a lost degree print
"Replacement" in the bottom left corner, if the degree is in area "XXXX"
then use a special format for the degree, etc).



Quote:
> Many thanks for all the helpful answers.
> But I'm afraid, I forgot to mention: It's mass printing (sometimes 20,000+).
> Peter



> > Hi to all the specialists in this newgroup.

> > My environment: WinNT 4.0 SP3, VA PL1 2.1
> > My problem:
> > I have to print forms with bitmaps (signatures), different fonts, ......
> > Is there way to do this with pl1, or do I need special tools? e.g on the
> > mainframe I took AFP.
> > Any help would be appreciated,
> > Peter

--
Michael Motek
Senior Programmer/Analyst, University of Victoria


Sat, 24 Aug 2002 03:00:00 GMT  
 
 [ 10 post ] 

 Relevant Pages 

1. Printing of documents and graphical elements

2. PL1 for Linux / PL1 for Win95?

3. wanted: PL1 to C xlator or PL1 BNF

4. graphical printing from cobol

5. Document Printing Problems

6. Printing MS-WORD documents

7. Printing Word Document in Clarion App

8. Printing html document from ST

9. Smalltalk Code to view and print RTF documents?

10. RTF Documents Printing with Letterheads??

11. Print a document in a network

12. printing word-documents from browse-box

 

 
Powered by phpBB® Forum Software