Ethereal-dev: Re: [ethereal-dev] Changes to "File/Print" - prints only currently displayed pac
> I'm also considering an option to let you select whether to print the
> protocol tree with all the items in the detailed display expanded, or
> just the ones expanded in the display; I seem to remember somebody
> asking for that (I'll have to dig through my archives for that).
OK, I checked that in. It doesn't make un-expanded levels completely
vanish, so it won't *completely* hide, say, the Ethernet or IP stuff if
they're not expanded, but it at least cuts down the amount of stuff
generated. If you select "Print as displayed", the printout/text file
would look something like:
...
Frame (60 on wire, 60 captured)
Ethernet II
ARP request
Hardware type: Ethernet
Protocol type: IP
Hardware size: 6
Protocol size: 4
Opcode: 0x0001 (ARP request)
Sender hardware address: 00:e0:52:80:76:00
Sender protocol address: 10.120.4.1
Target hardware address: 00:00:00:00:00:00
Target protocol address: 10.120.4.255
Frame (78 on wire, 78 captured)
Ethernet II
Internet Protocol
Open Shortest Path First
Frame (60 on wire, 60 captured)
Ethernet II
ARP request
Hardware type: Ethernet
Protocol type: IP
Hardware size: 6
Protocol size: 4
Opcode: 0x0001 (ARP request)
Sender hardware address: 00:e0:52:80:76:00
Sender protocol address: 10.120.4.1
Target hardware address: 00:00:00:00:00:00
Target protocol address: 10.120.4.178
...
Note that this doesn't give the frame number - having put that into an
item under "Frame", I removed it from the detailed printout; should I
put it back and, if so, should I remove it from the "Frame" fields?
(Network Monitor lets you delete the summary view pane, in which case
the only place you could see the frame number would be the item under
"Frame"; we don't *currently* let you get rid of any panes, but I could
see us adding that in the future, and even with the summary display
there's no guarantee that the selected frame is currently on the screen
in the summary display - you might've scrolled the summary window and
scrolled that frame out of the way - so it might still be useful to have
the frame number in the protocol tree pane.)