Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8095957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T21:18:32+00:00 2026-06-05T21:18:32+00:00

What I am trying to do: I am creating a database of all printer

  • 0

What I am trying to do:

I am creating a database of all printer installed on a computer.

Using PrinterSetting.PrinterName and PrinterSettings.InstalledPrinters I am getting PrinterName.

I have also tried winapi Win32_Printer but this and my above code has a problem.

Problem

The problem is that a single printer can be installed by different names like HP LasetJet 1020, HP LasetJet 1020 (Copy 1), HP LasetJet 1020 (Copy 2), and so on. A printer name is user-defined and can be any. Even may be one printer can be installed by 2 such different names that they have no similarity between their names.

That’s why i think Printer Model Name should be unique even if one printer is installed by different names.

Question:

How to extract that Printer Mode Name? or may be any other property in Win_32 that is unique, uneditable by user and can be used to identify printers.

OR

May be registry can be helpful for this. If this model information is in registry(Most probably it will be) where can it be found?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T21:18:33+00:00Added an answer on June 5, 2026 at 9:18 pm

    The combination of printer driver name and port name form the only unique identifier for a specific printer. If the driver and port names match between two printers, then those printers both represent the same physical (or virtual) piece of hardware. No other properties reliably identify them.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When creating database tables I'm often stumped when trying to name my time/date/timestamp fields.
I'm trying to accomplish a simple task of creating a database with 2 tables
I am new to PHP and trying to learn it by creating a database
I am trying to creating a small wizard using jsf1.2 sun RI +richfaces. The
I'm trying to get a list of all area in my database: public ActionResult
I'm creating a database using SQL Server Management Objects . I wrote the following
I am trying to design a database for creating a school syllabus. In a
I have a SQL Server 2005 database that I'm trying to access as a
I've been trying to unpickle some dictionaries from the database. I've reverted to using
i have been trying to make a clone of a database with out data

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.