This topic is locked

New Print Page

1/6/2007 10:13:33 PM
PHPRunner General questions
J
JZint author

First I would like to say that this program has been a great investment for me. I am very new to PHP and mySQL, so it has been very useful to me. I have not done much re-formatting to the pages that it has created and I love to search queries that it has automatically set up. This is a great asset for the database that I am setting up.
I am currently building a shipping and receiving inventory database. One of the final problems that I am faced with is being able to format a page that will print a individual sheet that has been formated with a specific layout and that pulls the information and prints a single sheet for each Tag ID number. I had this data base set up in Access and had a query that asked for begining Tag ID and ending Tag ID. When it was run, print preview showed a individual sheet for each Tag ID. I need these tags to put on the parts and equipment when thet come in. Is it possible to set up a new print button on the list page that will do this and query the user for the Tag ID's that he wants to print?

J
Jane 1/8/2007

Hi,
you can do the following:

  1. create custom view on the Datasource tables tab
  2. check off Vertical layout for this view on the Fields order and totals tab
  3. add following code after last field on the printer-friendly page on the Visual Editor tab -> HTML mode
    <DIV style="page-break-after:always"></DIV>