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


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

Re: Capture sniff print server packets

From Daniel Pitts <newsgroup.nospam@virtualinfinity.net>
Newsgroups comp.lang.java.programmer
Subject Re: Capture sniff print server packets
References <4e6f3724-edbe-4e10-83b5-193bbddde0cb@e27g2000vbu.googlegroups.com>
Message-ID <sNX0r.6411$VR6.3974@newsfe14.iad> (permalink)
Date 2012-02-21 17:45 -0800

Show all headers | View raw


On 2/17/12 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
> that only seems to capture the tcp port of the pc I am on, not TCP/IP
> of the print server.

You can try Wireshark to verify that the traffic makes it to your 
machine in the first place. If there is a network switch involved, the 
network traffic may not be broadcast to your node.  Also, if you are on 
a wireless network, some wireless cards and driver combinations prevent 
"sniffing" of traffic to other devices.


> 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.
> Thank you

This makes me curious what you're *really* trying to do. It may not 
involve sniffing at all.  You might be right on the path to creating a 
virtual printer, but they may also be more complex then necessary. 
Perhaps all you need to do is enable access to the print-queue on the 
print server.  Details vary by brand ;-)

Back to comp.lang.java.programmer | Previous | NextPrevious 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