× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Your experience contrasts sharply from mine. Windows-only PDF's (IBMi, Android and iPhone choke), full 8.5x11 documents that must be scaled to print, printers that take 1-2 minutes per page and unsupported printers. Yuk.

-----Original Message-----
From: Eddie Gomez [mailto:gmon750@xxxxxxxxx]
Sent: Friday, September 07, 2018 12:22 PM
To: RPG programming on the IBM i (AS/400 and iSeries) <rpg400-l@xxxxxxxxxxxx>
Subject: Re: Any example available to print a PDF stored in database

We store our .PDF files on the IFS. We print our .PDF’s directly from our AS400 with no problem. Like anything IBM, there is a trick.

I print .PDF’s from the IFS using the PRTSTMF developed by Scott Klement.

The “trick” is that in order to print it to a printer, the printer must natively support PDF-Direct. We discovered that most CURRENT off-the-shelf HP printers support PDF-Direct. So once we configured our new $120 HP laser jet printer as a standard 3812 printer, PRTSTMF to that printer output queue works like a charm.

We use this method countless times per day, not just for 8.5x11” paper stock, but also to generate PDF 4x6 shipping labels and print to a Zebra printer which also supports PDF-direct. Works great. It worked so well, we are removing our old HP laser printers that are 10+ years old, and replacing them with new, cheap HP printers right from BestBuy that support PDF-Direct. Our users have been in ecstatic since then.

Hope this helps.

Eddie

On Sep 7, 2018, at 10:12 AM, Justin Taylor <JUSTIN@xxxxxxxxxxxxx> wrote:

You'll almost certainly need to read the BLOB into an IFS file. From there, there are a number of options. Personally, I've found them to be varying degrees of disappointing, but YMMV.

Options for Printing PDF Stream Files which are Stored in the Integrated File System (IFS):
http://www-01.ibm.com/support/docview.wss?uid=nas8N1018851

Good luck,



-----Original Message-----
From: Mohammad Tanveer [mailto:surgum@xxxxxxxxx]
Sent: Thursday, September 06, 2018 4:12 PM
To: RPG programming on the IBM i (AS/400 and iSeries)
<rpg400-l@xxxxxxxxxxxx>
Subject: Any example available to print a PDF stored in database

Is there any example to create a spool file for a PDF stored in a database table BLOB field? or send it directly to a printer.

Regards

--
This is the RPG programming on the IBM i (AS/400 and iSeries)
(RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.