&PrinterFriendly&pdf
Developer forum
E-mail notifications
PrinterFriendly and pdf in url
Per Søgaard
Posted on 06/09/2011 16:32:18
Can we in any way use these at the same time so that we can produce a pdf from the a printerfriendly css variant of the page?
Replies
Bjarne Rosendal
Posted on 08/09/2011 09:52:47
Hi Per
You should be able to. The system renders the page according to the order of the URL parameters.
So if you parse the printerfrindly=true parameter first and then the pdf=true second you should get the correct output.
Kind Regards
Bjarne Rosendal | Service Desk
You should be able to. The system renders the page according to the order of the URL parameters.
So if you parse the printerfrindly=true parameter first and then the pdf=true second you should get the correct output.
Kind Regards
Bjarne Rosendal | Service Desk
Per Søgaard
Posted on 09/09/2011 11:44:43
No using both does not work this way:
They work one at a time but not at the same time like abowe.
So my question is - is there another way to may it work?
http://www.kohberg.com/Default.aspx?ID=62&PrinterFriendly&pdf
They work one at a time but not at the same time like abowe.
So my question is - is there another way to may it work?
Martin Gammelholm
Posted on 12/09/2011 09:58:43
Hi Per,
If you use Designs, you can use these parameters:
default.aspx?ID=62&pdf=true&LayoutTemplate=Designs/Condition/Print.html
Just edit the path so it points to your print template.
Kind regards
Martin Gammelholm | Service Desk
If you use Designs, you can use these parameters:
default.aspx?ID=62&pdf=true&LayoutTemplate=Designs/Condition/Print.html
Just edit the path so it points to your print template.
Kind regards
Martin Gammelholm | Service Desk
Per Søgaard
Posted on 12/09/2011 14:47:32
Thanks.
But my print template is built into the normal page thus just having one template.
And therefore i need to use it like i wrote above.
Can i do what i would like to do with another syntax or how can i do it?
But my print template is built into the normal page thus just having one template.
And therefore i need to use it like i wrote above.
Can i do what i would like to do with another syntax or how can i do it?
Per Søgaard
Posted on 13/09/2011 13:25:26
Testing e-mail notifications ;-)
Mads Ulsø Østergaard
Posted on 25/01/2012 11:40:39
Which template tags are needed in the Print.html file? I can't seem to make my page render any output when using this method. I've tried <!--@PageContent--> and <!--@ContentPlaceHolder--> in the Print.html file, but no luck. I'm using designs and layouts, and the following parameters: &pdf=true&LayoutTemplate=Designs/stenex2011/Master/print.html
Thanks in advance
Thanks in advance
You must be logged in to post in the forum