[Pro] Print Item

Does anyone know of a print item action that can be installed on a page? I know about the in-built FW “print page”, but need to have a way of printing a form but not the whole page. I notice that when installing “print page” action you cannot use the navigation to visit another page.
This is a new website in development so I do not have a URL where it can be seen as yet.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Not aware of anything that could do this. The easiest way to do this if you really want to restrict the content is to create a new page that has only the elements you want to print on it. On that page, open up the Page / Extended dialog, and add the following new element:

  • Name: onload
  • Value: return window.print()

Now back on your original page, create your “print” button as a Spawn New Window to the second page with the restricted content. The visitor presses the print button, the SNW opens a new daughter window (which you can style to be smaller, have fewer bits of “chrome”, etc.) and that page prints immediately when it is opened. This is how my bank’s Web site does certain interactions, by the way.

Walter

On Jul 17, 2012, at 2:01 AM, Elizabeth wrote:

Does anyone know of a print item action that can be installed on a page? I know about the in-built FW “print page”, but need to have a way of printing a form but not the whole page. I notice that when installing “print page” action you cannot use the navigation to visit another page.
This is a new website in development so I do not have a URL where it can be seen as yet.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You can use javascript on a button or link to print a page, and CSS @media
styles to “hide” parts of a page you don’t want to print – though I’ve
never tried it. What do you think, Walter?


Ernie Simpson

On Tue, Jul 17, 2012 at 12:30 PM, Walter Lee Davis email@hiddenwrote:

Not aware of anything that could do this.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I have done this on hand-coded sites, and it works perfectly. The issue is with a Freeway page, where, while you can hide elements, you just leave holes in the design, rather than having the remaining visible elements crowd in to fill the space. If you have designed an inline page, then sure, you can use my External Stylesheets Action to apply a print stylesheet to the page, and use display:none to hide anything that you don’t want to appear in the printed page. You can also adjust font sizes, margins, page size – all the tools are there in the box. But without an inline layout to start with, you won’t have much fun with a print stylesheet in Freeway.

Walter

On Jul 17, 2012, at 1:12 PM, Ernie Simpson wrote:

You can use javascript on a button or link to print a page, and CSS @media
styles to “hide” parts of a page you don’t want to print – though I’ve
never tried it. What do you think, Walter?


Ernie Simpson

On Tue, Jul 17, 2012 at 12:30 PM, Walter Lee Davis email@hiddenwrote:

Not aware of anything that could do this.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Walter :slight_smile:


Ernie Simpson


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks for the info Walter - I had created a new page with the information that will be printed, but the issue was that it also printed the header and nav bar which is unnecessary. I will try the print button with the SPNW action.

Elizabeth

On 18/07/2012, at 2:00 AM, Walter Lee Davis wrote:

Not aware of anything that could do this. The easiest way to do this if you really want to restrict the content is to create a new page that has only the elements you want to print on it. On that page, open up the Page / Extended dialog, and add the following new element:

  • Name: onload
  • Value: return window.print()

Now back on your original page, create your “print” button as a Spawn New Window to the second page with the restricted content. The visitor presses the print button, the SNW opens a new daughter window (which you can style to be smaller, have fewer bits of “chrome”, etc.) and that page prints immediately when it is opened. This is how my bank’s Web site does certain interactions, by the way.

Walter

On Jul 17, 2012, at 2:01 AM, Elizabeth wrote:

Does anyone know of a print item action that can be installed on a page? I know about the in-built FW “print page”, but need to have a way of printing a form but not the whole page. I notice that when installing “print page” action you cannot use the navigation to visit another page.
This is a new website in development so I do not have a URL where it can be seen as yet.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options