Printing

Is there a utility built into the program, or has anyone created an add-on of
similar nature, that can print out tickets or a brief summary of the tickets?
Thanks.

Is there a utility built into the program, or has anyone created an add-on of
similar nature, that can print out tickets or a brief summary of the tickets?
Thanks.

What to do you mean “brief summary”?

Is there a utility built into the program, or has anyone created
an add-on of similar nature, that can print out tickets or a brief
summary of the tickets? Thanks.

What to do you mean “brief summary”?

I’d betcha lunch he wants a report writer. :slight_smile:

Cheers,
– jr ‘so do I: is there a web based one for PG?’ a
Jay R. Ashworth jra@baylink.com
Designer Baylink RFC 2100
Ashworth & Associates The Things I Think '87 e24
St Petersburg FL USA http://baylink.pitas.com +1 727 647 1274

"NPR has a lot in common with Nascar... we both turn to the left."
	- Peter Sagal, on Wait Wait, Don't Tell Me!

Nah, not the report writer - (so you owe me lunch) its that spreadsheet
phobia

3.4.2 (which we’re still on here) lets you dump a query result into a
spreadsheet - print the report from there and the old statistical thing can
surface as well - then it can be as brief as you like …

But, I admit it was a question that was in my mind. " )

Message: 5Date: Tue, 11 Oct 2005 16:53:16 -0400
From: “Kaplan, Andrew H.” AHKAPLAN@PARTNERS.ORG
Subject: [rt-users] Printing
To: rt-users@lists.bestpractical.com
Message-ID:
9C63A4713C4E3342B90428CE44806A73EC381D@PHSXMB5.partners.org
Content-Type: text/plain; charset=“us-ascii”

Is there a utility built into the program, or has anyone created an add-on
of
similar nature, that can print out tickets or a brief summary of the
tickets?
Thanks.

Yours →
John Landman

don’t be irreplaceable - if you can’t be replaced, you can’t be promoted. -
Dilbert
– Department of Geography , Rhodes University,
P O Box 94, Grahamstown, 6140 South Africa
/|||||||||||||\ humans are a resource not a cost - a peter drucker
principle
|||||||||||||||||||| Internet: J.Landman@ru.ac.za
|||||||||||||@|| Telephone: +27 46 603 8325 Fax: +27 46 636 1199
||||||||||||||/
everyone one day will get one break sometime once
The views expressed above are not necessarily those of Rhodes University
and if any other opinions are expressed I don’t know whose they are

Is there a utility built into the program, or has anyone created
an add-on of similar nature, that can print out tickets or a brief
summary of the tickets? Thanks.

What to do you mean “brief summary”?

I’d betcha lunch he wants a report writer. :slight_smile:

Nah, he most likely wants a simple print out of a ticket which can be
given to field engineers with all the relevant information but without
the colours, boxes etc, which seem
to mess up the printing & formatting of tickets when I do it.
Does anything exist currently?

Thanks
Mike

Mike Dent wrote:

Nah, he most likely wants a simple print out of a ticket which can be
given to field engineers with all the relevant information but without
the colours, boxes etc, which seem
to mess up the printing & formatting of tickets when I do it.
Does anything exist currently?

He may want to make sure that he clicks on the “History” link before
printing to remove the “People” “Links”, etc elements from the display
(which may not be needed for the field engineers and consume a good deal
of paper-space)

The best “quick” fix for this that i could come up with in rt 3.4.x was
setting up some print-media CSS in ‘webrt.css’. It’s quite nasty, but
does what i want. It does leave some “” turds around for the HREFs for
Respond, Comment, Show-Email links, since the brackets occur outside the
link ref. ( but saves a few picoliters of toner :wink: )

RT 3.5+ is (as i understand it) supposed to make this a LOT easier and
more aesthetically pleasing.

FWIW, i’ve also modified the code to make the BODY have an ID HTML element
so that individual users can key off that ID tag using user-based
style-sheets. The file to do this in is html/Elements/Header like so:
<BODY BGCOLOR=“<%$BgColor%>” Id=“RAL-RT”

For example using mozilla/firefox’s user style sheet file
$HOME/.mozilla/(firefox)?/{PROFILE}/{SALT}/chrome/userContent.css
you could specify things like:

BODY#RAL-RT div.messagebody {
font-family: wavygravyfont;
}

to keep from conflicting with other applications.

(TIP: i like to have the Transaction IDs appear in the History display,
which can be done with this little piece of CSS
/* Display the RT Transaction Numbers */
BODY#RAL-RT a[name^=“txn-”]:after {
content: “[” attr(name) “]” !important;
background-color: #6666AA;
color: white;
font-size: 7pt;
font-family: “lucida-sans”;
}
)

Anyway, here’s the print media section in my
${RTHOME}/local/html/NoAuth/webrt.css

(in mozilla you can verify these by doing “File->Print Preview” which
should show the sidebar, some superfluous text, etc, being removed)

/* – BEGIN: @media print ----------------------------------------------- /
@media print {
/
Override some stuff for printing in RT */

.topnav { display: none !important; }

/* Remove Tabs sidehead, some top heads, etc */
td.blue, td.blueright, table.darkblue {
display: none !important;
}

/* Should remove the top table (logo, login, prefs) but doesn’t */
body + table { display: none !important; }

/* Don’t print the Download sideheads */
div.downloadattachment, div.downloadcontenttype {
display: none !important;
}

.bpscredits, .page-stats {
display: none !important;
}

/* attempt to compress message text in correspondence a bit */
div.messagebody {
font-family: courier;
font-size: 8pt;
padding: 0em;
line-height: 90%;
}

/* make correspondence headers stand out */
.message-header-key {
font-weight: bold;
font-size: 10pt;
}

.message-header-value {
font-weight: italic;
font-size: 10pt;
}

/* Remove links that makes no sense on paper /
a[href$=“Respond”], a[href$=“Comment”], a[href
=“ShowEmailRecord”] {
display: none !important;
}

}
/* – END: @media print ------------------------------------------------- */

Stephen Dowdy - Systems Administrator - NCAR/RAP
303.497.2869 - sdowdy@ucar.edu - http://www.rap.ucar.edu/~sdowdy/