razor a écrit :
> Hi Chaps
>
> An avid reader of this forum for years. Very interesting at times.
>
> I have a question I am sure somebody can help me with.
>
> I currently look after a customer who use all HP laser printers. 20
> years ago we embedded PCL code to control these printers. Setting
> landscape/****trait, duplex pages, the odd underline and bold bits.
> When we moved to M/F Netexpress 3.1 we adopted the PC_PRINTER routines
> and send a 'raw' file to the printer. I now have a new 'customer'
> asking for some system and I am going to need to print for them. I
> can't expect them to use HP printers here so what are my options. I
> assume the PCL language is a HP thing and other printers won't
> understand it.
>
> Any ideas?
>
> Thanks
>
> Rud
>
I do a lot of printing using PostScript. All the PostScript code is
generated using methods from a OO Cobol library. The code has been
developed using NetExpress and is an attempt to translate into Cobol the
very good pslib library written in C. Maybe it is possible to
encapsulate directly the C library but I could succeed in that
direction. So, I wrote a native Cobol library from scratch.
With Postscript, you can print text, draw graphics, embed images. It is
quite simple to understand.
You can send the result to any PostScript printer from any system. Under
Windows and Linux, GSView allows you to see the output on the screen.
Although not perfect - but excepted Jean-Sebastien Bach, what is perfect
in this world ?! -, we use it daily without any problem.
The code is available at http://pscoblib.sourceforge.net/
if you need it.
Regards.
Alain


|