MIDRANGE dot COM Mailing List Archive



MIDRANGE-L » February 2013

Re: view ifs image and specify viewer with strpccmd




You could try doing something like:

STRPCCMD PCCMD('rundll32 c:\windows\system32\shimgvw.dll,ImageView_Fullscreen x:\your-picture.jpg')

(that should all be one line -- though, the e-mail client looks like it's going to wrap it.)

You're likely to run into limits with the line length, though... STRPCCMD can only handle 123 characters in a single command line.

Otherwise, I'd recommend using an HTTP approach, like the one Brian suggested.

-SK


On 2/26/2013 10:33 AM, J Franz wrote:
I have in the past used STRPCCMD to view an image stored in the IFS
from a iSeries Access 5250 session, by using a http:// url and let the browser
select the viewer based in doc suffix (like .pdf).
However we have an issue where the doc name is "non-standard" like
B01291AA.BID (this is IBM Content Manager stuff)
and need to tell the browser what viewer to use (it's tif or pdf)
and need to view on pc with no Content Manager client.
It is not an option to rename the image file.
Is this possible? Most likely tif and want to use
Win native fax viewer in STRPCCMD command.
pdf's would use Adobe Reader.
TIA
Jim Franz






Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2013 by MIDRANGE dot 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 here. If you have questions about this, please contact