<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Web printing strategies</title>
        <description> Hi,

I have recently moved my application from windev to webdev 24.  Its looking good and working well.

My main problem is with print preview..

I like my print previews to open up in a new tab.  This is easy and works flawlessly by specifying the destination  of the submit button.  

The problem is I validate the report parameters in the same submit button and in case of an invalid parameter, you get an error message asking you to make the necessary corrections but the new tab is still opened and it duplicates the page I am on.  This confuses my users.

Does someone have a web printing/previewing strategy that solves this problem.

Thanks as always

issah</description>
        <link>https://www.wxforum.info/read.php?27131,792670,792670#msg-792670</link>
        <lastBuildDate>Thu, 18 Jun 2026 19:15:38 +0200</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792670,792696#msg-792696</guid>
            <title>Re: Web printing strategies</title>
            <link>https://www.wxforum.info/read.php?27131,792670,792696#msg-792696</link>
            <description><![CDATA[ Hi,<br />
<br />
Thanks for the ideas.  I had already tried using Allards method but with a small page with Ok and Cancel buttons which I open with pagedisplaydialog.  It worked but would not close itself, which was the code after the printing.<br />
<br />
I then tried Argus&#039; method which is working fine but is well suited for the particular page.  PCSoft should just add a &quot;newwindow&quot; parameter to filedisplay and take us out of our misery.<br />
<br />
I have to deliver the app by the end of January, after which I need to spend a bit more time with tutorial and web technologies.<br />
<br />
Thanks once again.<br />
<br />
issah]]></description>
            <dc:creator>mixgh</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Sat, 04 Jan 2020 00:31:37 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792670,792675#msg-792675</guid>
            <title>Re: Web printing strategies</title>
            <link>https://www.wxforum.info/read.php?27131,792670,792675#msg-792675</link>
            <description><![CDATA[ Hi <br />
<br />
Create a popup screen.  This is a cel that openens on top of the page you are in ( popupopen ()  opens it )<br />
<br />
In this screen you can display error messaged but the invoice as well if all went fine of course.  Thiis way you do it all in one page . <br />
<br />
well now Iam thinking about it you can even do it all in one page without popup window. Use a cel ==&gt; on that selenable planes. In  plane 1  normal window  plane  2  fault messages  plane 3 the invoice <br />
<br />
Regards]]></description>
            <dc:creator>Allard</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Thu, 02 Jan 2020 19:29:10 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792670,792674#msg-792674</guid>
            <title>Re: Web printing strategies</title>
            <link>https://www.wxforum.info/read.php?27131,792670,792674#msg-792674</link>
            <description><![CDATA[ Use two buttons...<br />
<br />
the first one contains the validation code and has the current page as target<br />
IF printing is okay, do an executeprocess of the other button... that button has the new page as target, and does the pdf printing and displaying.<br />
<br />
Of course, the second button is invisible...]]></description>
            <dc:creator>Argus</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Thu, 02 Jan 2020 17:35:41 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792670,792672#msg-792672</guid>
            <title>Re: Web printing strategies</title>
            <link>https://www.wxforum.info/read.php?27131,792670,792672#msg-792672</link>
            <description><![CDATA[ Hi Allard,<br />
<br />
Can you explain?<br />
<br />
regards]]></description>
            <dc:creator>mixgh</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Wed, 01 Jan 2020 16:49:30 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792670,792671#msg-792671</guid>
            <title>Re: Web printing strategies</title>
            <link>https://www.wxforum.info/read.php?27131,792670,792671#msg-792671</link>
            <description><![CDATA[ Open it in a popup message cel ? <br />
<br />
<br />
regards]]></description>
            <dc:creator>Allard</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Wed, 01 Jan 2020 16:37:33 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792670,792670#msg-792670</guid>
            <title>Web printing strategies</title>
            <link>https://www.wxforum.info/read.php?27131,792670,792670#msg-792670</link>
            <description><![CDATA[ Hi,<br />
<br />
I have recently moved my application from windev to webdev 24.  Its looking good and working well.<br />
<br />
My main problem is with print preview..<br />
<br />
I like my print previews to open up in a new tab.  This is easy and works flawlessly by specifying the destination  of the submit button.  <br />
<br />
The problem is I validate the report parameters in the same submit button and in case of an invalid parameter, you get an error message asking you to make the necessary corrections but the new tab is still opened and it duplicates the page I am on.  This confuses my users.<br />
<br />
Does someone have a web printing/previewing strategy that solves this problem.<br />
<br />
Thanks as always<br />
<br />
issah]]></description>
            <dc:creator>mixgh</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Tue, 31 Dec 2019 14:50:17 +0100</pubDate>
        </item>
    </channel>
</rss>
