dbTalk Databases Forums  

Print with Filemaker Web publisher

comp.databases.filemaker comp.databases.filemaker


Discuss Print with Filemaker Web publisher in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
MB
 
Posts: n/a

Default Print with Filemaker Web publisher - 11-17-2010 , 07:39 AM






Hello,

I'm using fmpsa 10 to host a filemakermaker file (fmpa 11).
I want users to be able to view data (in list view) on the internet with
FWP (Filemaker web publisher).
I would like to put a button in the header labeled print, so when
clicking on it a print-box appears in the browser, so you can print your
page and change your setting.
in HTML you have the following command to do this :
<A HREF="javascript:window.print()">PRINT</A>
I tried using the script step "Open URL", but I just can't make it work.
Is there anyone who can help me?

Thank you,

Marc

P.S. If there is a way to print this page automatically (after pushing
the button) without the classic header and footer (the url etc...) on
the page. That would be perfect.

Reply With Quote
  #2  
Old   
Your Name
 
Posts: n/a

Default Re: Print with Filemaker Web publisher - 11-17-2010 , 02:03 PM






"MB" <newsgroup (AT) bouts (DOT) in> wrote

Quote:
Hello,

I'm using fmpsa 10 to host a filemakermaker file (fmpa 11).
I want users to be able to view data (in list view) on the internet with
FWP (Filemaker web publisher).
I would like to put a button in the header labeled print, so when
clicking on it a print-box appears in the browser, so you can print your
page and change your setting.
in HTML you have the following command to do this :
A HREF="javascript:window.print()">PRINT</A
I tried using the script step "Open URL", but I just can't make it work.
Is there anyone who can help me?
I've never used the Web Publishing side of FileMaker, so someone else will
probably give you a better answer.

What are you using in the Open URL command??

If it's going to work, and I don't know whether it does or not, all you need
is a button with the defined as:
Open URL [javascript:window.print()]

You could try a button defined to just use the Print command and see if that
translates across to the web publishing side.



Quote:
P.S. If there is a way to print this page automatically (after pushing
the button) without the classic header and footer (the url etc...) on
the page. That would be perfect.
This definitely isn't going to be possible ... at least not through the
standard Print option since those settings are user-specified in their
individual browsers. I don't know if you can by-pass that using a custom
Print style sheet.

Helpful Harry )

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.