Print Ticket History

I was searching through my email archives as well as Google and didn’t see anything directly related.

I want to be able to add a ‘Print Option’ to the interface for techs to print out the entire ticket history. Can someone guide me in the right direction to get started?

Thanks,
Izz

1 Like

I want to be able to add a ‘Print Option’ to the interface for techs to
print out the entire ticket history. Can someone guide me in the right
direction to get started?

RT 4.0.5 ships with a much improved print stylesheet, especially for
tickets. Try printing from your browser to see what it looks like.

If you really want to add the button in RT instead of using the
browser’s print button, you can trigger the browser print dialog with
some javascript.

Thomas

Yeah, I was looking at the print preview of the ticket history, and it is including the header / page title and links, as well as actions like queue change and whatnot. It’s not pretty. RT 4.0.2. I ONLY want the ticket history…ok, I can deal with the system changes such as queue changes, RT mail, etc in the history, but can I bypass it from showing the Page-Navigation and Main-Navigation headers?

Thanks again,
Izz-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Thomas Sibley
Sent: Wednesday, March 07, 2012 10:42 AM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Print Ticket History

On 03/07/2012 11:37 AM, Izz Abdullah wrote:

I want to be able to add a ‘Print Option’ to the interface for techs
to print out the entire ticket history. Can someone guide me in the
right direction to get started?

RT 4.0.5 ships with a much improved print stylesheet, especially for tickets. Try printing from your browser to see what it looks like.

If you really want to add the button in RT instead of using the browser’s print button, you can trigger the browser print dialog with some javascript.

Thomas

Yeah, I was looking at the print preview of the ticket history, and
it is including the header / page title and links, as well as actions
like queue change and whatnot. It’s not pretty. RT 4.0.2. I ONLY
want the ticket history…ok, I can deal with the system changes such
as queue changes, RT mail, etc in the history, but can I bypass it
from showing the Page-Navigation and Main-Navigation headers?

Yes, upgrade to 4.0.5 where we did this work already, like I said…

I was able to grab the 4.0.5 tarball and modify our current print.css in 4.0.2 to satisfy my needs based on direction from the 4.0.5 css file.

Thanks!-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Thomas Sibley
Sent: Wednesday, March 07, 2012 10:55 AM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Print Ticket History

On 03/07/2012 11:51 AM, Izz Abdullah wrote:

Yeah, I was looking at the print preview of the ticket history, and it
is including the header / page title and links, as well as actions
like queue change and whatnot. It’s not pretty. RT 4.0.2. I ONLY
want the ticket history…ok, I can deal with the system changes such
as queue changes, RT mail, etc in the history, but can I bypass it
from showing the Page-Navigation and Main-Navigation headers?

Yes, upgrade to 4.0.5 where we did this work already, like I said…