Not all printers can interpret PDF natively, so the PDF has to be
translated somehow.
We use IBM Infoprint server, which includes a Transform Manager Server.
When I send the PDF to a correctly configured printer (mine is called
PRTPDF), the PDF is converted to an IPDS image spool, which I can then send
a printer which host print transform takes care of. I had to create a PSF
configuration and point that toward an exit program to interpret and send
the output automatically to a real printer. That was the more complicated
part of the process.
There may be other alternatives. You might google "convert PDF to image" .
There may be some java solutions you could use, but you'll eventually need
to get something that host print transform can send to your printer.
From: Vernon Hamberg <vhamberg@xxxxxxxxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 04/19/2016 09:56 AM
Subject: Question about using QImgCvtImg to convert from PDF to PCL
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
Hi
I'm working on changing how we use images in some of our printing. I'm
at a stage of replacing PAGSEGs with PNGs.
Now PNGs are not supported in AFP transforms on IBM i, although AFP, in
general, knows about them - component ID 65.
So I will first be converting like this -
1. Convert PNG to GIF
2. Use GIF in AFPRSC (component ID 22 - thanks, Michael Schutte)
3. CPYSPLF *TOSTMF *PDF
4. Call QImgCvtImg to convert PDF to *USERASCII spooled file containing PCL
OK, so that works when printing to an HP LaserJet 600 M603 (which has
native PDF printing, I believe)
We also need to fax - yes, don't ask - and we use FastFax - they have a
way to send PCL-content as a fax, so I set that up.
The fax I got goes to a Konica BizHub C452.
What I got was 32 pages - should have been 3, including the cover page.
And this 32 pages was reported in a FastFax interface.
It printed at the Konica - with a line or 2 of byies - you know, what
you get when the printer and your data stream don't match.
The first thing on the first page I saw was "PDF' - which makes me
wonder, and here's my question -
Does QImgCvtImg simply wrap the PDF code inside some PCL codes when it
converts?
Just asking to see if anyone here might have seen this - I'll be calling
Quadrant and IBM, later today.
Thanks, y'all
Vern
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.