This topic is locked

Printer Friendly Format

8/29/2006 6:11:23 PM
PHPRunner General questions
G
gawde author

Has anyone needed this option and created it successfully?
I know of and use the vertical/horizontal print option on the "Fields Order and Totals" page. Unfortunately, this controls the format for both the List pages and View pages. I need a way to print vertically on View and horizontally on List.
Anyone?

Alexey admin 8/30/2006

Hi,
Vertical layout option applies to List and Printer friendly pages separately.

So you can choose Vertical layout for Printer friendly and Horizontal for List page.
Just click Printer on the "Fields Order and Totals" tab and check off Vertical layout box.

Click List and ensure that this box is unchecked.

G
gawde author 8/30/2006



Hi,
Vertical layout option applies to List and Printer friendly pages separately.

So you can choose Vertical layout for Printer friendly and Horizontal for List page.
Just click Printer on the "Fields Order and Totals" tab and check off Vertical layout box.

Click List and ensure that this box is unchecked.




Hi,
Vertical layout option applies to List and Printer friendly pages separately.

So you can choose Vertical layout for Printer friendly and Horizontal for List page.
Just click Printer on the "Fields Order and Totals" tab and check off Vertical layout box.

Click List and ensure that this box is unchecked.


[quote name='greg_de' date='Aug 30 2006, 10:28 AM' post='10800']
Thanks for the clarification Alexey. It seems I left out something in describing my situation. I added a "Printer-Friendly" option on the View Page. What I was trying to say is that I want horizonal style printing from the List page and vertical style printing from the View page. Perhaps now it becomes more challenging?
Thanks in advance.

J
Jane 8/31/2006

Hi,
sure you can do it.

You need to build your project twice.

  1. select vertical layout for the printer-friendly page, build your project.
  2. rename ..._print.php file in the output folder to ..._print1.php for example.
  3. go back to the project and select horizontal layout, build your pages again.
  4. open ..._view.php file and add link to the ..._print1.php page.

G
gawde author 9/1/2006

Hi,

sure you can do it.

You need to build your project twice.

  1. select vertical layout for the printer-friendly page, build your project.
  2. rename ..._print.php file in the output folder to ..._print1.php for example.
  3. go back to the project and select horizontal layout, build your pages again.
  4. open ..._view.php file and add link to the ..._print1.php page.


<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=10848&image=1&table=forumreplies' class='bbc_emoticon' alt=':rolleyes:' />

Thanks Jane.

A very elegent, simple solution. Why couldn't I think of that?
greg

W
wpatters1229 12/12/2007

Hi,

sure you can do it.

You need to build your project twice.

  1. select vertical layout for the printer-friendly page, build your project.
  2. rename ..._print.php file in the output folder to ..._print1.php for example.
  3. go back to the project and select horizontal layout, build your pages again.
  4. open ..._view.php file and add link to the ..._print1.php page.


Then this problem of mine could also be fixed by this technic? I noticed that if you choose number of rows in the printing output it also sets the number of rows in the listing view pages. They are not separate.

So if I set the rows for 1 non vertical for printing (which is not what I want for listing) and ran the project...changed the name of the file in the output like you show it should work.
It would be so easy too if one of phprunner programmers could fix the problem. I see where the problem is but it would take a programmer to build a separate item in the variables page.
Thanks for the idea