a dll Win32 winspool call for the issue of the printer status

Hello

I apologize because I do not understand Win32.

I for 2014 LabVIEW full development system and want to access the Win32 API.

I am trying to write a function to determine if a printer is out of ink or offline for some reason any.

I see that the MSDN Winspool library has the features I need.

According to the MSDN Web site, the dll is Winspool.drv.

https://msdn.Microsoft.com/en-us/library/Windows/desktop/dd162751 (v = vs. 85) .aspx

I tried to do a call library function in LabVIEW, but it is the search for DLL and does not recognize the Winspool.drv

It lie in the methods in LabVIEW to access the Winspool, or nobody knows what the correct dll (and location) I call is?

Ultimately, what I want to do is open printer-> get jobs-> status of--> close printer.

Seems simple enough.

Thanks in advance for any advice.

You use a 32-bit version or 64-bit LabVIEW? If you use the 32-bit version, you should not try to load the 64-bit version of the DLL. Surprisingly, the System32 directory is for 64-bit dll, and the SysWOW64 folder is for 32-bit dll. If you have installed the 32-bit version of LabVIEW, try SysWOW64 winspool.drv.

Tags: NI Software

Similar Questions

  • Problem setting up base appeal of the DLL (win32 API?) for the control of coherent laser Verdi-G

    I'm trying to set up a call to the DLL to control a coherent laser Verdi-G.

    I can't know the right way to set up calls. In the attached Demo.cpp, there is a function "RunTests". It's kinda my final goal. Functions send some commands to query the device. I'm going to need to send commands like this (along with several others, some of which take arguments... but I think I can understand that on mine)

    My problem is getting started. I can't even talk about the device. I tried a few different ways to set up the call to the DLL, but they have always will plant the computer. I don't know if I am missing a few parts such as the initialization of a method to speak via USB or other parts.

    I added my own .vi tries as well as some of the .c, the .cpp & the .h files associated provided with laser control software. I may have missed the relevant records; I'm happy to add them if someone sees a necessary file / referenced.

    Any help would be appreciated.

    Thanks for your time!

    Turns out I missed the included .vi which belongs to install them the package. I was looking directly on their CD.

    I would mark this closed if I saw a button for this?

  • For help. DLL file / library call for the USB camera Image data file

    Hello

    I'm new to the use of the library and imaging data files. Attached is a picture of the "call library leader." I don't know how to set up the entry of 'beef' / frame buffer.

    More information is explained in the attached PDF file.

    Basically, I just need to recover data from image and convert it to a real image. I sought help of LabVIEW and other sites files, but I can't find a clear solution. Any help would be appreciated.

    FYI - I can communicate with the camera using other functions of library file. Opens the camera, I can set/view KING and other data. I can't quite understand the frame buffer.

    -griplegraple


  • API calls for the current status of running processes and things

    Hi all

    I wonder if anyone no matter what API calls to get the current process list and the list of all programs installed on the BB device

    If there is not these API calls, is there another approach to get these lists?

    Thank you

    Dan

    http://www.BlackBerry.com/developers/docs/5.0.0api/NET/rim/device/API/system/ApplicationManager.html

    http://www.BlackBerry.com/developers/docs/5.0.0api/NET/rim/device/API/system/CodeModuleManager.html

  • various error messages - cannot get old matrix printer that works with xp for the printer in windows 7

    I have a new pc with windows 7 - I have an old panasonic kxp 3696 PARALLEL port printer that works fine with xp - I bought a decoder directional bi to convert the port PARALLEL to the usb port and is connected to my lenovo m81 - computer came with pre installed epson fx series 1 136 driver in the Inbox (this is the driver of windows 7 recommended by panasonic for this printer)-I managed to print a test page and something of Word-, I then downloaded our accounting software and added an hp printer - in the process, I removed the usb connection and later reinstalled anbother port - since then I could not print all documents or bills - I uninstalled and reinstalled the printer - I deleted and created ports - initially the docs crammed into a queue for printing - I then changed the setting to print online and print test page new - now I send documents to print and they do not appear in the print queue - it seems to be multiple of the printer on the computer copies when I reinstall - also get a message that is not network printer (the printer is connected by usb) and another message00? 0000? etc.

    I used the printer add - local port - function and then create a new port that I called epson - someone can talk me through the process in detail.

    specifically what port should I use (local or create new)? I used the port usb - is that correct?

    If I print a test page? I would be able to print documents?

    If I get epson 1 and exemplary epson 2 - has actually deleted the printer driver?

    Please note I have contacted panasonic who can't stand the printer-I called epson that does not support the old drivers and lenovo that says it's a software problem talk to microsoft.

    We also run windows 7 64 bit in xp for the printer mode if so? How?

    Hello

    I suggest you to uninstall the printer drivers and then use the driver file that you want to install by using the procedure - below

    a. click Start, click Control Panel , and search for printers , and then double-click Printers.
    b. now, click Add Printer.
    c. Select Add a local printer and click create a new port.
    d. Select Local Port and click Next.
    e. type in "[\\computer name\printer name]"(sans les guillemets) for the Port name and click OK. ""
    f. follow the instructions to complete the installation. During the installation, when you are prompted to choose a good driver; Click the "disk".
    g. navigate to the driver file that you have on the computer, and then click OK. Now, check if the printer is correctly installed.

    I hope this helps.

  • Windows 8 drivers for the printer HP Officejet Pro 8600Plus

    Where can I download windows drivers for the printer HP Officejet Pro 8600Plus 8?

    I think I see what's happening. You have recently upgraded to Windows 8, and you don't have to uninstall and reinstall the software for your printer for the new OS. Now, nothing works as it should. Fortunately, this is a fairly simple solution. Uninstall the printer software and reinstall it using the packaging designed for Windows 8. I'll link the software below. Let me know what happens.

    http://goo.GL/jfLkM

  • Re - install the software for the printer C6280 all in one... get a "file not found" error message

    you need to reinstall the software for the printer c6280 all-in-one. Downloaded the last installation on HP web site package. During the installation process I get an error message... Unable to find user/appdata/local/temp/7z256315/setup/...setup/blocksysuser...

    the 7z256315 folder does not exist on the hard disk.

    I also have a message that it cannot find PS_A10_02_software.msi.

    Windows 7, C6280 printer all-in-one. Printer is connected to the router. The desktop computer is connected via an ethernet cable, the laptop/ipad/iphone/internet radio are connected via the wireless to the router.

    I hope you can help

    Thank you

    Charlie

    Hi cberistain,

    Follow the steps below and let me know what happens?

    First step: clear temp directory

    1. Type %temp% term or search programs and files of field
    2. Select all the files in this folder, and then press the delete key to remove. If you receive a message that the file is in use, you will need to ignore this file (s).
    3. Proceed to step 2 below

    Second step: downloaded and extracted to your system:

    1 download the drivers and full software features

    http://h10025.www1.HP.com/ewfrf/WC/softwareDownloadIndex?softwareitem=MP-77039-1 & CC = US & DLC = in & LC = on & os = 4063 & Product = 3645097 & sw_lang=.

    2. once the download is complete, double-click the file to extract the software.

    3. when the installation window opens, press the Cancel button to stop the installation

    4. tap folder in the race or search programs and files of field

    5. Locate and open the folder starting with 7z (example: 7zS2356)

    6. right click on the folder and select copy

    7. close this window and all open windows, and then in the Middle the desktop right click your mouse and select Paste. This will move the 7z folder on your desktop.

    8 open the 7z, that you just copied on your desktop

    9 open the Util folder

    10 open the CCC folder

    11 start the uninstall_L4

    12. once the uninstall is complete, restart the computer

    13. run disk cleanup from the tools Accessories\ system under all programs folder

    14. download and install the latest version of Adobe flash player

    http://www.Adobe.com/support/flashplayer/downloads.html

    15 open the 7z folder and then double-click the Setup.exe file that will be towards the bottom of the open window. Follow the instructions on the screen to reinstall your printer.

    Let me know if you are able to successfully install the software and driver and are able to print and scan?

  • Set a static IP address for the printer

    One of the most common steps given when members of the community have printers that will remain not connected is affecting the camera a static IP address. Most of the members to respond to messages will include a document that's going to work on the steps and it is very useful. I found a video which will also show you this process on a printer Photosmart 7510.

    It will go well to enter the IP address of the printer in the web browser and access the built-in web server (EWS). Once in SAP, it shows the path to take to set the static IP address for the printer.  I thought it would be a good video to share with the community so that there is assistance available for those of us who are visual learners. Here's the video promised on the static IP address.

    I hope this helps the community. Good impression to everyone!

  • We know the answer slow printer. We use XP and it takes about five minutes for the printer to answer.

    We know the answer slow printer.  We use XP and it takes about five minutes for the printer to answer.

    Hello

    1. have you you can all changes on the computer before this problem?
    2. What is the brand and model of the printer?
    3. have you updated the printer driver?

    Try to run the fix it tool in the following article and check.
    Problems printing and printing errors
    http://support.Microsoft.com/mats/printing_problems/

  • margins for the printer so the words are not cut on the right side. What are the correct numbers for size printing letter?

    What are the correct for the printer margin settings so that everything is on paper, without truncating them.?

    What are the correct for the printer margin settings so that everything is on paper, without truncating them.?

    go to the icon for your printer, go to the page set up, size, A4 sheet? 19.05 mm pitch all sides, mine is set up for this and it seems ok. or what you like

  • HP Photosmart 3110 referred to the documentation for the printer. Error 0xe18a001

    HP Photosmart 3110 referred to the documentation for the printer. Error 0xe18a001

    Hello caromuna,

    It seems that other users have found a way to completely reset the printer back to the default settings, which can help with this question.

    The reset is discussed in this forum thread and seems to be a bit difficult to fill. Let me know if it helps to solve your problem.

    Photosmart 3310 ink system failure

  • printer HP from Mac 10.5.8 deskjet 970cse how to set up the printer for the printing of the project

    printer HP from Mac 10.5.8 deskjet 970cse how to set up the printer for the printing of the project

    Hello

    You can find out how to access and change the settings of quality below:

    http://support.HP.com/us-en/document/c01662356

    Kind regards

    Shlomi

  • I can't find the code for the printer or the menu of the printer 6500 E-mail address

    I can't follow the instructions to retrieve the code for the printer, I see the symbols but don't see how to print, or to get the Email address of the printer menu

    Maybe the info here will help you

    http://h30434.www3.HP.com/T5/eprint-print-apps-mobile/print-your-Web-services-info-sheet/TD-p/57261

  • alternative for the printer drivers on Mac OS10.9 system

    Until they are available at HP, is there another way to access drivers for office jet 6700 for Mac OS10.9 system? Or at least another way to print, scan and copy... until the drivers come out?

    Hello

    Yes, if your HP Officejet 6700 worked with OS X 10.7 or 10.8, the drivers and the HP software will continue to work properly with the new OS X Mavericks after an upgrade of the OS.

    If you have a new Mac clean® system or OS X Mavericks, HP also provides driver HP Officejet 6700 and ImageCapture to scan files via Apple Software Update right now.  It's the same star driver full that would provide hp.com/support.  Make sure that the printer is turned on and connected to the Mac when you create the queue for the printer (add a printer).

    HP is now working on the full release HP sw/installers of hp.com/support for your model - available in the near future.

     
  • where can I get windows 7 drivers for the printer, TallyGenicom T9312 Laser stepped

    where can I get windows 7 drivers for the printer, TallyGenicom T9312 Laser stepped

    http://www.tally.com/service/default.aspx?ID=6397

    service and support page, you can send the manufacturer here on your drivers,

    I searched through the site, but is not a list, it is possible that XP is as high as it goes for compatibility.

Maybe you are looking for

  • Watch useless call

    Hi, yesterday my apple has stopped working. When I woke up it was ok and he stopped at 07:00. I tried a long press on the main button and reload too... nothing. Since my Apple Watch is on my useless office... Is that someone has an idea. Thank you Bi

  • How to move the bookmarks to the top side of the page?

    UJust upgraded to El Capitan 10.11.4

  • How do I fix the error code 39 cd rom.. .tv_configMgrErr 39

    CD Rom does not work... Got maybe corrupt driver error code 39. Tried to update and re enstall new driver. Did not work

  • Daylight Savings update

    Fix - it Center continues to tell me about an error of update in timezones.but not how or where the difficulty it.can help you please me?

  • WINDOWS MEDIA CENTER KEEPS OPENING

    Everytime I open my computer keeps opening the WMC. I googled the problem and tried all support responses to this problem.  That is to say going in and deselecting WMC started etc..  I also tried to come back in a month to a date before the problem s