We have a product running, on a Windows server, where you place a PDF in a
folder and it is automatically printed at a defined printer. You can
control printing aspect as well (orientation, duplex, etc...).
If you can get the PDF detached from the email and would like the
information on the software, just reply back and I'll post it.
Works great for us; we route PDF invoices to different folders, then the
software duplex prints with hands-off at different printers, since duplex is
not a PDF attribute but a print time attribute.
Steve Meisinger
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxx> On Behalf Of Greg Wilburn
Sent: Wednesday, September 19, 2018 10:14 AM
To: RPG programming on the IBM i (AS/400 and iSeries)
<rpg400-l@xxxxxxxxxxxx>
Subject: RE: How to automatically print webpage?
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
--
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.