Technology Questions

Go Back   Technology Questions > Manufacturer Questions > Manufacturers > Apple > Apple Macintosh Hardware

Apple Macintosh Hardware Discuss the Apple Macintosh Hardware

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 10-20-2007, 02:50 PM
Gary Carroll
Newsgroup Contributor
 
Posts: n/a
Need to get IP address of user sending job

OS = Mac OS 10.4
I have set up a shared print queue that writes incoming jobs to a folder
as PDF. I would like record about each job with information concerning
the username, time sent (not always the same as time processed into
PDF!), IP/MAC address of the system sending the data, and formatting
requests from the original PostScript such as staple, duplex/simplex,
etc.
I believe can get the formatting requests by examining the incoming
PostScript with a CUPS prefilter before it is converted to PDF.
Since all users will be on the LAN I should in theory be able to get
their MAC address by issuing an łarp IP-address˛ shell command. However,
I would need to know their IP address to do so. I don't know if this is
visible to CUPS.

Do I have to sniff packets to get this data? If so, does it seem
reasonable to have a tshark process started with a filter that writes
only the relevant portions of incoming print jobs to a file which can be
read via the prefilter to get the needed data?

Does someone have a better suggestion (I hope)?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 10-20-2007, 02:50 PM
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with remote desktop - IP address being stored in user name ChuckW Windows Vista 0 06-29-2007 10:20 AM
Sending raw frame address by MAC Jan Koprowski Linux 0 05-06-2007 12:36 AM
Entourage email sending to a list of address generates error messa Richard Garneau Microsoft Office 2 01-15-2007 11:37 AM
Unable to obtain a server- assigned IP address Try again later or enter an IP address in Network Setting arena Pocket PC General 0 01-15-2007 11:06 AM
Re: Explorer: Address Violation at address xxxxxxxx Read of addres Rick \Nutcase\ Rogers Windows XP 0 01-04-2007 01:51 AM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 01:28 PM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0