PDF not automatically opening

Use this board to ask questions or have discussions with other Genie users.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: PDF not automatically opening

Post by Scott Klement »

sunny wrote: Mon Feb 21, 2022 5:15 pmAs I said in the first of this question, it works fine on green screen so there has to be something about your product that blocks it from working and I am not wanting to go to 1000 pcs and install new software to make it work. I don't see a straight forward reason it just stops working because it is being called through Genie/Atrium.
No, there's nothing that blocks it.
sunny
Profound User
Posts: 29
Joined: Wed Sep 08, 2021 1:01 pm
First Name: Sunny
Last Name: Krowski
Company Name: United Cerebral Palsy Arkansas
Phone: (501) 224-6067
Address 1: 9720 N Rodney Parham Rd
City: Little Rock
State / Province: Arkansas
Zip / Postal Code: 72227
Country: United States
Contact:

Re: PDF not automatically opening

Post by sunny »

Anyone who was following this thread. The answer I received from support is that Genie only supports STRPCCMD if you use PC Command Listener or the PC Command Launcher which are programs which must be added to each user's pc.

So, it will not work as it does in 5250 unless you add new software to every PC that will be using the programs that are going to call the STRPCCMD.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: PDF not automatically opening

Post by Scott Klement »

There are other options aside from the listener or the launcher -- but, yes... It can't run a command directly on the PC. If a web page could do that, any web page anywhere on the Internet could run commands on your PC. That'd be very bad from a security perspective.

That's the reason the command listener and launcher exist -- in order to provide a way to run commands, since the browser can't do it.
sophiaabigail
New User
Posts: 1
Joined: Tue Aug 02, 2022 7:00 am
First Name: sophia
Last Name: Abigail
Company Name: 192.168.1.254
Phone: 4523167899
Address 1: mexico
Address 2: mexico
City: mexico
State / Province: South Carolina
Zip / Postal Code: 37500
Country: Wallis And Futuna
Location: mexico
Contact:

Re: PDF not automatically opening

Post by sophiaabigail »

Right-click the PDF, choose Open With > Choose default program or another app in. 2. Choose Adobe Acrobat Reader DC or Adobe Acrobat DC in the list of programs, and then do one of the following: (Windows 10) Select 192.168.l.254 Always use this app to open .Scroll down and select "PDF documents," then switch it to "On." PDF files will download in Chrome just like any other file. You can select the downloaded file at the bottom of the window, then choose "Open," which will open the file in a separate Reader window. Select the "Always open files of this type" option.At the top right, click More Settings. At the bottom, click Show advanced settings. Under “Privacy”, click Content settings. Under “PDF Documents," check the box next to "Open PDF files in the default PDF viewer application.” (Uncheck this box if you want PDFs to open automatically when you click them.
jfvonjr
New User
Posts: 3
Joined: Thu Feb 09, 2012 10:11 am
First Name: Jim
Last Name: Von Dolteren
Company Name: Heartland Coop
Contact:

Re: PDF not automatically opening

Post by jfvonjr »

We also open PDFs from our web sites. To accomplish this we use an onclick event for a page button or hyperlink. When the onclick event is fired a javascript function is called and looks like the following code ( shown below ). The PDF, if it exists is opened and displayed in a separate browser tab or window. As you have the IFS path value in a filed on your display file then it should be easy to accomplish what you're desiring.

var popup = window.open( "/path_to_document/document.pdf", "_blank" );
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests