index > Team Foundation Server - Work Item Tracking > Print Work Item Per Page

Print Work Item Per Page


When you "Print Selected Work Items" from a work item query, it would be useful to have the option to print one work item per page.
William Bartholomew
We use webbrowser (IE) control to do the printing and unfortunately I do not see a way to ask it to place page breaks. If we change printing functionality in future, we'll consider this need.


http://blogs.msdn.com/narend
Naren Datha - MSFT

Naren,

You could use CSS to do this:

<style>
div.workitem {
page-break-after: always;
}

div.lastworkitem {
page-break-after: auto;
}
</style>

You would then put:

<div class="workitem">

</div>

Around each work item, but to prevent a page break after the last work item you would put this around it instead:

<div class="lastworkitem">

</div>

It works in IE pretty well...

William

William Bartholomew
Thanks for the tip William, I'll try this out.


http://blogs.msdn.com/narend
Naren Datha - MSFT
reply 4

You can use google to search for other answers

 

More Articles

Problem with filter Changed by on closed work items
Get List AssignedTo and Priority
Importing Bug Database to TFS Work Items
Microsoft Project Professional and Project Server 2003
Subscribing to events
How to delete unwanted Work Items and set new default items for n...
Project->Tasks: bogus start dates?
Any way to e-mail bugs to the server?
Extending Upload Documents Functionality
Datasource to list all work items in a query.
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Getting work item description (command l…
How to e-mail users when WorkItems are a…
Error: There may be problems with the wo…
Changing State according to a field's va…
The Team Foundation Server work item dat…
"Forcing rollback" error savin…
TFS and Project Server 2003
Renaming column names in Query
Prohibiting a user from reviewing their …
Recent Work Items
Mapping of TFS text fields on MS Project…
Problem with displaying "Work Items…
Changing transition rules, only reason t…
Reuse Dialog Boxes
Assigning same task to multiple resources

Hot Articles

Is there a web interface to VSTS defect …
More Resources
Localized web server instance not launch…
Error TFS30170
Getting WorkItems by Project Name from T…
There is a way to make the link control …
How does everyone else do it ?
Getting Associated work item for a chang…
Filter Bissubscribe on Files during Chec…
Missing "Add Work Item" from &…
How to export QoS Work Item
workitem issues after upgrade to RTM
Field won't copy from another field on N…
VSTS and Excel integration
The tool lets you to add hyper links to …

Recommend Articles

Walkthru question on "To save a doc…
Relation between Work Items -> Change…
Extend work item by adding new control t…
TF80071 when trying to connect MPP to TFS
Plugging into Team Foundation Server?
Readonly field and emphasizing font color
Unassociate Project Server project from …
Actual End Date and Actual Effort
Build Integration clarification
Default is fixed, once set, even if the …
Work Item Access control based on Work I…
Work item type for new feature requests?
Managing project and resource names
Why there is no Date related fields when…
Should Tasks map to other Work Items or …