Welcome to MacBoardz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Need to get IP address of user sending job

 
   Macintosh computer (Home) -> Printing RSS
Next:  cellphone  
Author Message
Gary Carroll

External


Since: Oct 20, 2007
Posts: 2



(Msg. 1) Posted: Sat Oct 20, 2007 5:16 pm
Post subject: Need to get IP address of user sending job
Archived from groups: comp>sys>mac>printing, others (more info?)

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)?

 >> Stay informed about: Need to get IP address of user sending job 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
How can I avoid sending PS fonts to my Postscript printer - I would like to avoid sending the font information for built-in fonts like Times-Roman to my printer. Partly this saves slightly on printing time (OK maybe that is insignificant) and partly because I want to use the printer's good ideas on how to..

1st time user needs printer setup help - Hi, Just got one of the new imacs. I'm trying to make the mac see and use the shared printer on the windows xp workgroup. I've got as far as finding the network printer in the imac's default printer list, but now I can't find the right driver to..

How can I best uniquely identify which user sends a print .. - Consider a campus environment where users supply their own computers, which may be of differing operating systems. The users may print to a CUPS print server on the network and retrieve their job by swiping their ID card and selecting the job from the...

Problem Setting IP Address on HP LJ 4M+ - Someone mentioned that they solved a problem by holding down a "GO" button and cycling power on a HP laser printer. I had not been able to see a HP LJ 4M+ in my chooser, so I decided to hold down the "On Line" button and recycle powe...

LW IIg: setting IP address from Win98? - I have a LaserWriter IIg connected via ethernet to a Netgear router. I am not able to "ping" the printer from a Win98 box also attached to the router. I set the IP address of the printer using LW Utility for Win95. Unfortunately, there was no ...
   Macintosh computer (Home) -> Printing All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]