Hi Jeff,

If your file ends in .Z (should be a capital Z. Is it really lowercase?) then it's compressed with the Unix 'compress' utility, and should be uncompressed with the 'uncompress' utility before extraction.

Note that many OSes allow the 'tar' utility to do both the uncompression and the untarring... but in my experience, this does not work on IBM i. You have to do the steps separately.

So, from PASE:

uncompress ghostscript.8.54.tar.Z
tar xf ghostscript.8.54.tar

Also... beware of the 'tar' tool in QShell. It tries to do CCSID conversion of any files it extracts, and that can wreck havoc with the contents of the tarball (especially if it's not text to begin with) so please make sure you are using the PASE (*not* QShell) version of tar.

Good luck


On 11/8/2011 12:43 PM, Jeff Elam wrote:
I'm going to try this route, any ideas on why I get the following when I try
to install ghostscript? I get this type of error on both files.

tar -xf ghostscript.8.54.tar.z
tar: 0511-169 A directory checksum error on media; 0 not equal to 53120.

Thanks,

Jeff


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jorge Merino
Sent: Monday, November 07, 2011 3:54 PM
To: Midrange Systems Technical Discussion
Subject: RE: send system generated PDF to system I printer/out queue

Hi Jeff,

That is fairly easy if you have PASE installed on your IBMi.

That involves:
1) Convert your PDF to PCL using ghostscript.
2) FTP the generated file into a printer file.
3) Print the new printer file into ANY printer or remote queue attached to
the IBMi.

An older post here:
http://archive.midrange.com/midrange-l/201008/msg00519.html

I can help if you need more specifics on how to implement it.

Jorge Merino
~JMerinoH~


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jeff Elam
Sent: Monday, November 07, 2011 12:47 PM
To: midrange-l@xxxxxxxxxxxx
Subject: send system generated PDF to system I printer/out queue

I am creating PDF invoices/acknowledgements using overlays and saving them
to a network share. My next step is to email them to customers using RPG
mail (I'm already using RPG mail for other scenarios so that part I can
handle). Here is where I need help. If no email address exist on the
system for that customer I'd like to send that PDF to a network HP printer
connected via remote out queue. Once customer service has that paper copy
it will be a reminder that the email addresses for that customer needs to be
entered.



A while back I created a VB script to print excel spreadsheets from a
network share. I would think I could probably use a similar VB script to
print the PDF since I know the path of the file I just created however I'd
like to keep the logic all on the system I if I can. any ideas?



Thanks,



Jeff



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

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






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.