Yeah, that's what I believe - I have to put that PCL into a *USERASCII spooled file, then it should just work.

I'll know more sometime tomorrow, methinks!

Cheers
Vern

On 8/16/2016 9:21 PM, Mike Cunningham wrote:
Interesting development! So if that raw PCL is put in a printer device queue would it print for real?

Mike Cunningham

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Vernon Hamberg
Sent: Tuesday, August 16, 2016 5:01 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: Converting PDF to PCL successful

Hi all

Just succeeded in converting a PDF file to raw PCL on the IBM i. I used a most recent version of Ghostscript.

Basically it "prints" the PDF using a driver that GS has - the following command does the work:

/QOpenSys/opt/freeware/bin/gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=ljet4 -sOutputFile=some-pcl.pcl /home/USRDP2/some-pdf.pdf

This is VERRRRY cool!

The driver is for LaserJet 4 - there are other drivers that would also probably work.

Whoopee!!
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.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.