Need to track if a user printed a doc via builtin AcroPDF.DLL control

I am creating a small application in Visual Studio 2008, using VB.NET.
I am getting a PDF from a webservice, and need to do a couple things:
1.) Show the PDF to the user with all available controls (i.e. Print, Save, Email, Change Size of viewer, etc.).
2.) If the user selects print, I need to know that the user printed the piece so that I can log it to our database with it's 'last printed date'.
I have the retrieval and presenting part all working perfectly using the AcroPDF.dll to tap into the user's Acrobat Reader (latest version) that they have installed on their computer; but can't seem to figure out if there is some way for me to know that the user went into the print dialog from the automatic toolbar that is created and used by the AcroPDF.dll when I use the following command:
  AxAcroPDF1.LoadFile(<file name goes here>)
Is there some way for me to intercept some event within the AxAcroPDF1 object so that I can interrogate it an know whether or not the user printed the report?
While I am asking, I will also ask about the Send Email method, is there a way that I can tell if the user clicked on it and went into, and completed, that function?
If there is no default way to tap into the existing infrastructure, is there an easy way for me to 'override' the existing print button so that it calls a function that I create instead of the one it currently does?
I would like to keep the visual aspect like it is, if possible, to keep it as polished as I can.
Thanks,
Jim

lrosenth,
Thanks for the reply!  I have only two follow up questions:
1.) What, exact javascript am I supposed to insert into the PDF that will allow me to know if the user printed the document from within my windows based application?  I have injected javascript before into a PDF, but for a different reason.
2.) Where, exactly, would I want to inject the javascript into the PDF?
any example javascript code, etc. would be appreciated!
Thanks,
Jim

Similar Messages

  • Need to track unused VPN user accounts on a 3000 concentrator

    We have an old VPN Concentrator that has a 100 user max limit. We are at capacity and need to find a way to generate a report of unused or outdated user/groups. Can anyone offer a suggestion?

    The computer already keeps a log when each user is on and off. Using Terminal, after the window opens type the word
       last  
    then hit return. You'll see an login time and logout time plus the total time used in parenthesis.

  • I can no longer print .pdf docs, I get: lxbzgf.DLL was not found & can not load library LXBZPRP.DLL

    When trying to print a .pdf doc, it now fails and I get the following dialog box: "lxbzgf.DLL" was not found" and then after closing the session, pops the following dialog box which says: "can not load library "LXBZPRP.DLL"
    I think it is related to laptop operating syst. (Windows XP Nedia Center Edition) and latest Adobe Readed XI. Can you help with the proper diagnostic and what should I do, please?
    Thanks,
    Daer Rotciv

    I really don't know what SP3 is but my Gateway laptop operating system is Windows XP Media Center Versión 2005 with Update Rollup 2.
    The only additional information I see on this system is MS WIN MCE GTW US V1.5 07/06. 7515344
    Thanks
    Enviado desde mi sistema móvil personal de telecomunicaciones

  • How to track user visit my page via search engine(google)

    hi there,
    is it possible to track that an user visited my page via search engine ( i.e google) using servlet?
    what will request.getHeader("user-agent"); return if an user comes via search engine. will it return as "google" or just the browser name. is there any other possible way to distinguish that my page visited via google or user visited my page directly. kindly post your view on this. it will be helpful for most of the projects.
    Regards,
    A.

    Check the referrer. This is the URL where the request is coming from.
    String referrer = request.getHeader("referer"); // Yes, with the legendaric misspelling.If the user used Google, this will come from the Google domain.
    Keep in mind that the client has full control over what it sends along the request, so it could also spoof the referrer value. But at least this solution will cover the majority of the users anyway.

  • Multiple users logged into one server, each users printer has a different name, application needs ONE name to print to.

    Multiple users logged into one server, each users printer has a different name, application needs ONE name to print to. 
    I'm NOT in any way a Terminal Services expert and I need help trying to get an application program working in a multi-user environment.
    The issue is that the printer changes for every user that is logged in. The application needs to print NOT to the default printer, but to a "special" printer which is selected in the application... let's call it a label printer to simplify the explanation.
    You have your default regular printer, easy for the application to find that one, and then you have a special printer that labels get printed onto. The application needs to know what printer is the label printer. So we allow the user to select that in the
    application and the selection is stored in a config file in 
    C:\ProgramData\mfgr\prog\setting files
    I don't have access to the application so I can't change how this works.  
    In the "regular" world, selecting the label printer driver to use should be per machine, NOT per user. When a new user logs into a machine, the physical printer doesn't go "poof" and a new printer suddenly appear. Same printer for all
    users.
    Yet in terminal services, the physical machine is "merged" with the virtual machine on the server. And there can be many users logged in at the same time. So each users real machine (and real printer) is injected into the "fake" terminal
    services machine. The name of the printers is made unique for each user. So the printers DO go "poof" and change names depending on the user logged into terminal services.
    So user "A" logs in and sets up the application to print to "LabelPrinterForUserA" (or whatever the name of the printer happens to be), that setting is stored in the ProgramData subfolder, and all is well. Later, user "B" logs
    in, and when they print, the application tries to print to "LabelPrinterForUserA" which doesn't exist for user B or is only accessible by user A. If user B re-configures, that breaks it for user A. 
    SOLUTION 1: The way that /should/ work (in my mind) is that you define one "generic" printer in Terminal Services... call it "Virtual Label printer" and when the user wants to print to it, the print job gets re-directed back to whatever
    physical printer is actually connected to their local workstation. There is a map of virtual printer to actual printer depending on the current user. The application is told once to print to "Virtual Label Printer" for all users.
    SOLUTION 2: Or... there should be some way to make the ProgramData sub folders separate per user. E.g. when user "A" tries to access:
    C:\ProgramData\mfgr\prog\setting files
    they actually get 
    C:\UserData\UserA\AppData\mfgr\prog\setting files
    and user "B" gets
    C:\UserData\UserB\AppData\mfgr\prog\setting files
    So the question I have is: Does either of those solutions exist hidden somewhere in the setup of terminal server? Or is there another way around this issue that I don't know?

    I don't really have a "for sure" answer to this, but because people here can't seem to deal with a question that hasn't been answered I'll provide the best answer I did receive from ServerFault.com user Nathan:
    I can feel your pain with using old software on terminal servers ...the solution I've come up with definitely won't scale as it requires some manual configuration, but I've gotten this method to work with our label printers (which require to be
    printed to an LPT port...yep, that old).
    Share your USB-connected printers to the network on each machine. Then, have the user log in on aunique session for each of them
    (a TS account cannot be shared among computers for this to work) and install a network printer pointing to the USB one they shared. Try to use a DNS name to account for possible DHCP movements.
    After, it should work. Each user can do this since display names can be identical as long as the ports are different (which they are).
    This was clarified by the following series of comments:
    I think you are on to something here, and I originally advised the admin to do this. The problem he ran into is that it setup the printer names in the TS as "printer on usersworkstation"
    and he could not rename it except to change the "printer" to whatever. E.g. the "on userworkstation" remained. I believe there is another way of installing the printer which avoids this, but I can't find it. Ages ago, one used to do NET
    USE LPT2 \\computer\printer password /USER:domain\user /PERSISTENT:YES and then tell the driver to print to LPT2 –  James
    Newton Mar
    17 at 16:21   
    @JamesNewton That's actually the exact method we used. The way around the "network printer" part is to install it as local printer and map it to a TCP/IP port that way. –  Nathan
    C Mar
    17 at 16:28
    You mean in the case where the printers are TCP/IP connected and not local USB / LPT to the users workstation? That makes sense. Wonder if this will work for USB connected printers... –  James
    NewtonMar
    17 at 16:35   
    @JamesNewton You'd share the local printer on the client's PC then on the server connect via TCP/IP to it. You'd need static addresses or use DNS names if DHCP, though. –  Nathan
    C Mar
    17 at 16:51
    Ah. Yes. I see. Looks like the LPT thing should work even with a USB connected printer:superuser.com/questions/182655/… –  James
    Newton Mar
    17 at 17:09   

  • How to keep track of the users who are all currently logged in

    Hi All,
    I have basic knowledge of Session and Servlets. I am wondering how to keep track of the users who are all currently logged in. There should be some way of achieving it.
    I thought of it and come up with having an Application variable that hold it when ever a user successfully logged in.
    Thanks in advance for any reply.

    You can do this by keeping data in a static veriable in a some class of yours. The variable will need to be a collection.
    Whenever a user loogs in to the site a servlet/jsp should put the users information in to the collection and when logs off or when the session expires the entry should be take off.
    You can achive this by storing the velues in a some sort of a week collection where the entries are automaticaly removed when all the other refferences to the entry goes out of scope.
    You might need to read bit about java.lang.ref package and WeekReference
    Or you can make the entry in the collection contain the last time that the user visited any of the pages and a thread can run time to time and clean up the older entries which have timed out

  • Tracking down the user who updates a PDP (Project Detail Page)

    Hi guys,
    I have a custom field called Project Status that is used in some PDP in Project Server. When users update this field, we need to know who did the update. Is there a way to track down the user who populated some info on this field? Does Project Server do
    an audit of some sort on these kinds of things?
    Thanks.
    Regards,
    Kwazi

    Hi Mike,
    Thanks for the response. I want to write a stored procedure to script this though. Do you know which tables holds information about  Queue
    jobs(?
    Thanks.
    Kwazi

  • Need to install eprint on my printer for my mobile phone

    need to install eprint on my printer for my mobile phone printing

    Hey HMccoo,
    Here are the instructions for how to setup ePrint from your mobile phone.
    http://h71028.www7.hp.com/hho/us/en/ep/articles/setting-up-mobile-printing.html
    HP ePrint Setup Steps
    1. Enable Web (Cloud) Services on your ePrint enabled HP printer.
    a. For assistance navigate to www.hp.com/support and enter your printer’s model number.
    2. When the printer connects to the ePrint servers, shortly after, a HP ePrint Mobile Printing page will
    print.
    a. A Product Update may be needed in order to continue to enable Web Services.
    3. Bring the ePrint page mentioned in step 2 to a Web connected computer.
    4. Open an Internet Browser on the Internet connected computer.
    5. Navigate to www.eprintcenter.com in the Internet Browser.
    6. Select the Blue button that reads “Sign In” on the Home Page at ePrintcenter.com.
    7. After selecting “Sign In” a window will open. Select “Sign Up” in Blue letters at the top of the window.
    8. After selecting “Sign Up” a window will open allowing you to enter information to create an account.
    9. When your account has been created successfully, the account owner will be prompted to “Add
    Printer”.
    10. On the ePrint Page, from step 2, you will find a Printer Code just right of the Blue number 2. Use this
    Printer Code to “Add Printer”.
    11. Once the Printer has been added successfully you will be given the option to setup.
    12. In the Setup options you have the option to enter a Custom email address.
    a. Erase the original Printer code from the custom email address field and enter the customized
    email address of your choice.
    b. You will not have to enter the domain, @hpeprint.com.
    c. Example: [email protected]
    d. Click “Check” to confirm that the custom email address is available for use.
    13. In the Setup options you can select a security type: Allow Everyone or Authorized users only.
    a. Note: No ePrint jobs will print on your printer unless you give the customized email address to
    someone. Allowing everyone simply allows whomever you give the printer email address to
    send ePrint jobs to your printer.
    14. At the top of your home page confirm that your printer name is displayed and there are green check
    marks beside “Connected” & “Ready”.
    15. Congratulations you have done an Outstanding Job! Now you should be able to send ePrint jobs to
    your printer!
    Although I am an HP employee, I am speaking for myself and not for HP.
    If I have resolved your issue, feel free to provide Kudos and make sure you mark this thread as solution provided.

  • User Print templates will not hold Print Settings Presets

    User print templates set up for different papers will not remember/hold Print Settings Presets

    Jeff,
    You are correct it does work, I added a step not needed - I created a Preset on the Print Setting page, I should have left that as Default, it works that way.  How pleasant to get a response from you, I just watched Camera to Print & Screen #39 Print from Lightroom this morning where I learned about Print templates.  Thanks so much.

  • Tracking document posted user wise

    Hi,
    In FB03 i can see posted documents and in its headear button i can see complete log of document including user who posted it. My query is i have around 550 document against which i want to track the user who posted it. Entering it in FB03 indvidually would be cumbersome task. How can i see them in a single go.

    Hi,
    It is important that what you want to track for each user. As rightly said by atif you can get the document header details from BKPF. In case you need more details like account, account etc then you need to pass this information in BSEG TABLE, to get the exact details you need..
    Regards
    Milind Sonalkar

  • Need mobile tracker for nokia c3-01

    i need mobile tracker for nokia c3-01

    nitingaba2 wrote:
    i need mobile tracker for nokia c3-01
    As this S40 device does not have embedded GPS, positioning based upon cell tower triangulation would not be accurate enough.
    If I've helped in any way, a click upon the white star at bottom right of screen would always be appreciated.
    However if my answer also solves your problem clicking below it will benefit other users!

  • How do I add a new device to my icloud if it was stolen?  I need to track it

    How do I add a new device to my icloud.  My Ipad was stolen and I need to track it

    If you did not configure it for Find My Phone before it was stolen, then it's too late now.

  • I am a studio graphic designer needing to purchase a color jet printer to handle small business takes.  I am trying to decide on the Epson WorkForce Pro WP-4530 All-In-One Printer  OR the HP Officejet Pro Premium e-All-in-One (need second tray for envelop

    I am a studio graphic designer needing to purchase a color jet printer, for my iMac, to handle small business tasks. I am trying to decide between the Epson WorkForce Pro WP-4530 All-In-One Printer  OR the HP Officejet Pro Premium e-All-in-One (need second tray for envelopes).   
    Do you have any recommendations?

    I am a studio graphic designer needing to purchase a color jet printer, for my iMac, to handle small business tasks. I am trying to decide between the Epson WorkForce Pro WP-4530 All-In-One Printer  OR the HP Officejet Pro Premium e-All-in-One (need second tray for envelopes).   
    Do you have any recommendations?

  • Problem with local users printing to the printer queue

    We have just upgraded our servers to 2.8GHz Quad-core Intel Xeon which is running OS X 10.5.6
    I have set up the printer queue to the network printers, through LPD.
    Open directory users are able to print to the network printers without any problem however when a user local user to a machine (all 10.5.6 but different models) are not able to print.
    The printer pauses and does not print.
    Any solutions?

    Hi there,
    I am not quite sure of your setup based on your posting so apologies if my reply is not appropriate.
    Are you saying that when the Mac attempts to print directly to the network printer (rather than via a queue created by selecting an Open Directory printer) the printer queue pauses?
    If yes, then I would ensure that the LPD protocol was selected and the correct queue name was entered - as this can often cause the spooler to pause.
    PaHu

  • Unable to boot normally - Always need to boot with Single User Mode

    Hi Community,
    Since last few days, I am unable to boot my Macbook Pro normally, running latest version of OS X Yosemite. When I boot, it goes to grey screen with Apple logo and progress bar, once the progress completes to 100% (after 5-10 minutes which is very longer than usual), it asks me to 'Select  language' which seems like fresh installation of OS X. In that case, when I click next and it doesn't detect my SSD (blank list of select installation disk/drive).
    After reading some threads, I found work-around and always need to boot into Single user mode (by pressing Command+S during power on) and then need to run following commands...
    /sbin/fsck -fy
    /sbin/mount -uw /
    "device is write protected" numerous times
    reboot
    and then only it loads OS X and displays login screen. This happens all the times and I need to follow above steps always to get login screen.
    How can I fix this?

    Please help me out here. I tried booting it off a USB flash drive with ATV flash but that gave me some errors and prompted me to login with username [email protected] with password frontrow
    But I am not sure how to get to login using a suitable input. I tried to telnet it using my PC over network but I dont think it has initialized anything (like wifi or network) at the prompt. Would it take USB keyboard input? All I can do is remove the power and restart it with the usb flash out and get into then get into the recovery loop. I am not sure replacing the hard-drive would help. Any help would be greatly appreciated.
    Thanks
    Sinu

Maybe you are looking for

  • Iphone camera not recognized in Windows 7

    Hello Fellow iPhone users I am having a problem with the iPhone camera on the iPhone 3g 3.0. I cannot get it to allow me to open up the camera to get the pictures off of it. When I go to Devices and Printers it shows the Apple Mobile Device USB drive

  • Windows 8 and Realtek RTL8191SE Wireless LAN 802.11n PCI-E NIC

    Hi! I hava a Toshiba L650 - 107 PSKI JE and I am having a problem with the my wireless network adapter on windows 8. My network adapter is Realtek RTL8191SE Wireless LAN 802.11n PCI-E NIC and works fine on windows 7. Two days ago I formatted my hard

  • How to infer values in characteristics of material

    Hi Experts I am trying to infer a characteristic (manufacturer name) based on another characterisitc (manufacturer number) for material master. I have done the following steps: -created the characteristic (single value, Additional Value ticked, Not R

  • A deposit screen opens when I try to update a Purchase Order

    Good Afternoon everyone, In OEC computers database I was testing a scenerio which required me to add an item to an existing PO. When I updated the PO a window opened requiring a "Deposit". I checked the payment terms, but I didn't see anything in the

  • How to add crystal enterprise server in portal?

    Hello, I am not familiar with SAP Portal, I am a little bit confused with the following direction from point 5. I don't know how to add the system in the landscape. I don't see the Edit list. The netweaver version is 2004. To configure the BusinessOb