473,383 Members | 1,742 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

prnadmin.dll Printer Management Problem

Hi,

I am currently using the PRNADMIN.DLL com service, via C# .NET, i
currently can add ports, etc, but i cannot enumerate printer drivers.

I cant even do it vb 6.0 and the sample that comes with the resource kit
also does not work, they both get the error :

(0x8007007A) The data are passed to a system call is too small.

Any help out there please,

Thanx
Brett
Nov 17 '05 #1
0 1281

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Pablo | last post by:
Friends, how can i get the name of the default printer??. I'm working with winforms. VB,C#, nevermind. Thanks a lot Pablo
0
by: Brett Mostert | last post by:
Hey, could some please help me to be able to iterate through the ports on the server. I am currently able to print test pages, add ports, delete printers etc, but i cannot get a handle to a...
0
by: Brett Mostert | last post by:
Hi, I am currently using the PRNADMIN.DLL com service, via C# .NET, i currently can add ports, etc, but i cannot enumerate printer drivers. I cant even do it vb 6.0 and the sample that comes...
3
by: Brian | last post by:
Does anyone know how I can write a program to retrieve information about printers. Not the print queues but the physical hardware printer. I want to retrieve info such as pages printed. If...
1
by: Tancev Sasa | last post by:
I am interesting how to determin is the selected printer a dot-matrix printer or is it a laser printer What property is relevant to detrmin what type is selected printer
1
by: Geraldine Hobley | last post by:
Hello, I have the following code that sets the default printer using the WMI (windows management system). ' Add a Reference to System.Management Dim moReturn As...
0
by: Christoph Duesmann | last post by:
Hi ! I want to administrate all printers in my Network. So i decide to use the prnadmin.dll. My problem is the following : If i want to get the Drivers used by an printer I get an...
1
by: ekynox | last post by:
Hi guys, have been playing with WMI to add a network printer connection to a Windows XP pc. My environment consists of a server running Windows Server 2003 and Visual Studio 2005 and a test pc...
0
by: JedTheHead | last post by:
Windows 2003 R2 SE, SP2. I am using the code below in a VBScript to create printers on a remote printer server, CMC-PRN. The code works flawlessly and creates the port and the printer just fine,...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.