Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #12137

Re: Capture sniff print server packets

From markspace <-@.>
Newsgroups comp.lang.java.programmer
Subject Re: Capture sniff print server packets
Date 2012-02-17 12:00 -0800
Organization A noiseless patient Spider
Message-ID <jhmbl2$rfo$1@dont-email.me> (permalink)
References <4e6f3724-edbe-4e10-83b5-193bbddde0cb@e27g2000vbu.googlegroups.com>

Show all headers | View raw


On 2/17/2012 11:40 AM, utsuxs@hotmail.com wrote:
> I am on a LAN that has a TCP/IP print server.  I like to capture the
> data sent to   the print server.I’ve tried jsniff with jpcap but


This is not Java related, but yes it should be possible.  What brand of 
print server?  What ports is it configured to work on?  What is your 
network topology?

I use Wireshark for network sniffing, but any sniffer should work, so if 
what you're using now isn't working, the obvious next step is to ask 
"why not?" before just trying different software at random.

<http://www.wireshark.org/>


> that only seems to capture the tcp port of the pc I am on, not TCP/IP
> of the print server.


That's normal, in certain network topologies.  Understanding networks is 
important if you want to do network programming.


> Is it possible to capture the data of the print server?  Or turn my pc
> in into a virtual printer and capture printer data that way?
> Ideally I like to process the print jobs before they print but I’ll
> take what ever I can get.  Scanning the print jobs would be fine too.
> Any pointers and especially source code would be great.


All of this could work, but will require a considerable amount of 
effort.  Good luck on the "free source code" part.


Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Capture sniff print server packets "utsuxs@hotmail.com" <utsuxs@hotmail.com> - 2012-02-17 11:40 -0800
  Re: Capture sniff print server packets markspace <-@.> - 2012-02-17 12:00 -0800
  Re: Capture sniff print server packets Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-02-21 17:45 -0800

csiph-web