IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New PCL output sample?
It seems I will need to deal with creating my own PCL based forms, in code.

So if possible, I want to setup a table driven form layout program that can drive the following:
Trigger move from LANDSCAPE to PORTRAIT and back.
absolute positioning.
font selection.
font sizing.
graphics / logo insertion (jpeg?)
line drawing for grids and boxes.

So, anyone done this in Perl yet?
Some other language?
Buried in CPAN - very minimal PCL references there.
New Maybe ifhp or a2ps?
You have a program that outputs PCL and you want to print the result to a PostScript printer or PDF file, no?

This problem must have been solved already.

Maybe [link|http://packages.debian.org/unstable/net/ifhp|ifhp] will help:

ifhp is a highly versatile print filter for BSD based print spoolers. It can be configured to handle text, PostScript, PJL, PCL, and raster printers, supports conversion from one format to another, and can be used as a stand-alone print utility. It is the primary supported print filter for the LPRng print spooler.

It provides access to printer features like duplex printing, paper tray selection and strong accounting using the printer's internal page counter.


It uses [link|http://packages.debian.org/unstable/text/a2ps|a2ps] which says:

Historically, a2ps started as a text to PostScript converter, but thanks to powerful delegations it is able to let you use it for any kind of files, ie it can also digest manual pages, dvi files, texinfo, ....


Presumably the man pages for these utilities will give more information about using them for PCL to PostScript or PDF conversion.

HTH a bit. Note: I've not tried either one.

Cheers,
Scott.
New Thanks
apt-gettED, reading docs now...
New Since when did you Debianista?
Last I remember you were pissed as you wouldn't want to answer the questions/

Not that I am complaining.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
[image|http://www.danasoft.com/vipersig.jpg||||]
New He's had MEPIS for a while. E.g. #186541
New Been a while
Note: I still see NO WAY of doing what you stated you are already doing, ie: getting PCL data and converting it to PDF.

You've given me the CUPS-PDF piece, but that does not take PCL.

How are you doing it????
New Grrr
installed, nasty messages, ie:

ifhp 21:13:39.506 [7480] Send_job: decoded job type 'PCL'
ifhp 21:13:39.506 [7480] Send_job: job is PCL and PCL not supported

Got the source, unpacked, got hit this out of the readme:

\n2.3 - PCL Not Supported\n  Good luck if you need PCL. You can try GhostPCL and see\nif it works for you: [link|http://www.artifex.com/|http://www.artifex.com/]\n


Currently downloading GhostPCL

New GhostPCL works for viewing
[link|http://www.artifex.com/downloads/|http://www.artifex.com/downloads/]

At least I can stop wasting paper for every little change.
New It's supposed to do conversions too.
pcl6 -sDEVICE=pdfwrite -sOutputFile=mypcl.pdf mypcl.pcl
Convert the pcl file mypcl.pcl to PDF with output written to mypcl.pdf.


I was on my way to posting about this after some googling.

Hope it works!

Cheers,
Scott.
New THANKYOU!!!!!!
That did it!
New I cant get pdfwrite to be understood on WinXP
I have just been trying to compile (using MSVC.NET) and run this on WinXP.
The converter does not recognise -sDEVICE=pdfwrite

pcl6 -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=test.pdf test.pcl

It lists all the valid choices for -sDEVICE but pdfwrite is NOT among them.

Without this option, the converter appears to run perfectly, but the output is actually another PCL file and not a PDF file as I wanted.
Expand Edited by johnburrows April 21, 2005, 08:40:39 PM EDT
New Probably needs ghostscript, which is built in to most Linux
systems.

And welcome.

How'd you end up here?
Expand Edited by broomberg April 22, 2005, 06:53:27 PM EDT
     PCL output sample? - (broomberg) - (11)
         Maybe ifhp or a2ps? - (Another Scott) - (10)
             Thanks - (broomberg) - (3)
                 Since when did you Debianista? - (folkert) - (2)
                     He's had MEPIS for a while. E.g. #186541 -NT - (Another Scott)
                     Been a while - (broomberg)
             Grrr - (broomberg) - (5)
                 GhostPCL works for viewing - (broomberg) - (4)
                     It's supposed to do conversions too. - (Another Scott) - (3)
                         THANKYOU!!!!!! - (broomberg) - (2)
                             I cant get pdfwrite to be understood on WinXP - (johnburrows) - (1)
                                 Probably needs ghostscript, which is built in to most Linux - (broomberg)

Learn to swim.
175 ms