×
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.
At one point I did this with Wayfair packing slips... until they changed how they produced the PDF.
I used HTTPAPI to "Get" the URL (sent via EDI) and saved it on my IFS using a meaningful name (i.e. the trading partner's order number .PDF). It stayed on the IFS until we shipped the order. At that point I used another utility (discussed here a few days ago) to send the PDF direct to an PDF-capable printer.
Like I said... this worked until the trading partner decided to change the software they used to create the PDF. The changes they made required the PDF be "opened" in an application where the PDF print driver could be used.
I think most PDFs can simply be sent direct to the printer.
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Bob Cagle
Sent: Wednesday, September 19, 2018 10:48 AM
To: RPG programming on the IBM i (AS/400 and iSeries) <rpg400-l@xxxxxxxxxxxx>
Subject: How to automatically print webpage?
We have a trading partner that wants to begin sending us their shipping label instead of us generating it inhouse with UPS Worldship.
They have offered to either email us a PDF, or to include the URL of the label in the EDI document. Here's an example:
http://lb.123stores.com/bkaasv
What I would like to do is to automatically print this web page when processing the inbound EDI file without any input from a user, but I'm not quite sure how to go about doing so? Suggestions?
Thanks
Bob Cagle
IT Manager
Lynk
--
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.