Nmap Development mailing list archives

Printing in Zenmap


From: David Fifield <david () bamsoftware com>
Date: Fri, 26 Mar 2010 12:28:02 -0600

Hi,

I implemented very simple printing support in Zenmap, in this branch:

svn co --username guest --password "" svn://svn.insecure.org/nmap-exp/david/zenmap-print

This was mostly to figure out the GTK+ printing API and see how hard it
would be to support. The output is just Nmap's normal output, as if you
opened it in a text editor and printed it. I attached a sample of what
it looks like using "Print to file."

I think this is worth merging, and having in place for fancier output in
the future. These are the ideas I put as comments in the new code.

# Print the topology graphic. The graphic is already made with Cairo so the same
# code can be used to draw on the print context.
#
# Print in color with highlighting, like NmapOutputViewer.
#
# Add a header to each page with the Nmap command and page number.
#
# Add options to the print dialog to control the font, coloring, and anything
# else. This might go in a separate Print Setup dialog.

David Fifield

Attachment: zenmap-print.pdf
Description:

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/

Current thread: