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



Hi Mike

I hope it's not our package that won't certify! If it is, let me know what it is.

We have things that will do what you want, and since you have a large bundle of our stuff, you can certainly do it with that. Putting PDF to a PCL printer is a regularly used part of what we do, and that can be done to a *LAN printer device on the i that points to an HP-compatible printer easily. That same technique can be used with lots of conversion techniques.

Later
Vern

On 10/15/2010 10:46 AM, Mike Cunningham wrote:
Still at V5R4 :(
Have a vendor package that will not certify at V6R1. In the process of getting rid of that package.

I do use Webreport on V5R4 to do the same conversion and get a PDF in the IFS which I am currently emailing as an attachment.

I wanted to keep the PC out of the mix if I could.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Needles,Stephen J
Sent: Friday, October 15, 2010 10:24 AM
To: Midrange Systems Technical Discussion
Subject: RE: Forms printing

Mike...

Part of the answer might be to use the OVRPRTF command to convert the output to a PDF on the IFS.

Follow up that process by using the QtmmSendMail API to email the result to the user of your choice.

Then create a rule in your customer's email program to open the email from specific user and open the applicable PC application on receipt. From this point, however, the user will need to actively choose to print the document.

Just thinking out-loud, but after the PDF is created on the IFS, couldn't we use STRPCCMD to execute a command on the user's PC (providing they are inside your network) and instigate a string of PC commands to cause the print to be routed to the PC/Network Printer?

Just food for thought.

Sample codelet for a CL to execute a PC command:

CHGVAR VAR(&PATH) VALUE('C:\Windows\Media\Windows +
XP Shutdown.wav')
CHGVAR VAR(&CMD) VALUE('rundll32 +
shell32,ShellExec_RunDLL ' *BCAT&PATH)
STRPCCMD PCCMD(&CMD) PAUSE(*NO)

steve

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Mike Cunningham
Sent: Friday, October 15, 2010 8:52 AM
To: Midrange Systems Technical Discussion
Subject: RE: Forms printing

Change of direction a little on the topic. But does anyone know of a way to print a PDF document without user interaction? I have an existing RPG app that writes a spool file with an overlay and creates an AFP print file. I then have a tool that will convert that spool file to PDF and currently send the PDF to the user who has to open it and print it (sometimes). The user wants to sometimes email, sometimes fax and sometimes print and mail the form. How they get the PDF in an email and forward to the vendor, or email to our fax server as an email or open it and print it. I would like to try and ask them when they request the print what they want to do with it and directly email to the vendor or the fax server or direct the PDF to a printer in the user office. I know one option would be to get an AFP capable printer for this office but the use might expand to possibly dozens of other offices. We have a big Xerox printer connected to a Sun server and on that we can FTP to the server and it will automatically print the document. I might also be able to setup a Windows PC to accept incoming commands from the iSeries and FTP to the PC then send a command to print the PDF to the printer but I really would prefer to do this without that complexity added and just go direct form the iSeries to the printer.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Charles Wilt
Sent: Friday, October 15, 2010 9:36 AM
To: Midrange Systems Technical Discussion
Subject: Re: Forms printing

Overlays are _ALWAYS_ full page...

If you want just pieces of pages, you need to create page segments instead of overlays.

HTH,

Charles


On Fri, Oct 15, 2010 at 1:06 AM, PaulMmn<PaulMmn@xxxxxxxxxxxxx> wrote:
Overlays can be full page bitmaps as described above, or they can be
smaller pieces (ie your logo/letterhead) that you position on the page
wherever you need it. This doesn't need to be a full page bitmap.
--
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.



==============================================================================
This communication, including attachments, is confidential, may be subject to legal privileges, and is intended for the sole use of the addressee. Any use, duplication, disclosure or dissemination of this communication, other than by the addressee, is prohibited. If you have received this communication in error, please notify the sender immediately and delete or destroy this communication and all copies.



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.