Re: Printer Device info

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: vipin aravind (vipin.aravind_at_wpro.com)
Date: 03/09/04


Date: Tue, 9 Mar 2004 21:21:21 +0530

As feng pointed its hardcoded, PPM is derived by manufacturer by running
some standard documents on the printer. Its just an indicative value.
thank you
vipin
"Laurentiu Dumitrescu" <dumi75@yahoo.com> wrote in message
news:6c1da25e.0403080154.5639dcca@posting.google.com...
> Hi all,
>
> I have a subtle problem trying to get some information from
> printers(local, local shared, network).
> Can anyone tell me what API functions should I use to get some device
> printer information and not driver printer information. I need
> information directly from the printer because it is possible that a
> printer to be installed with other printer driver and I do need the
> real information.
>
> I will explain a simple example:
> I need to find out the printer speed. For that I used
> DeviceCapabilities with DC_PRINTRATEPPM parameter.
>
> My real printer is "HP LaserJet 1200 Series". I installed 3 different
> drivers for this printer. Each one gives a different PPM value:
> - HP LaserJet 1200 Series - 14 ppm
> - HP LaserJet 1200 Series PCL 6 - 15 ppm
> - HP LaserJet 2000 - 20 ppm
>
> The real ppm(tested) is 14.
>
> So, I don't know how can I get the real PPM from the printer when it
> is installed with a different driver.
>
> Let me to put the question in a differnt way. How can I get the real
> printer model? (Normaly this can be done using GetPrinter). The funny
> thing is that Windows knows the model before installing the
> driver(when the printer is the first time plugged to the
> computer)...so seems to me that it knows a different way to
> communicate with the printer...
>
> Hus... I talked too much;)
>
> I hope someone will have a suggestion to make
> Thanks a lot,
>
> Laurentiu



Relevant Pages

  • Re: DBD::SQLite install with PPM, MD5 bootstrap parameter
    ...   Downloading DBD-SQLite-1.35 ... ... Installing package failed ... perl at that directory, will it load Digest::MD5? ... Has PPM somehow got ...
    (comp.lang.perl.misc)
  • Re: Problem while installing through PPM.
    ... > I am facing a problem while installing DateTime module through PPM. ... then installing the newer version of Perl got rid ...
    (comp.lang.perl.misc)
  • Re: Where to get DBD::pg for Windows?
    ... > Installing package 'DBD-pg'... ... Oracle no longer provides the Oracle client libraries for ... ActiveState was also explicitly forbidden by Oracle from ... The DBD-Oracle package for the PPM included with ActivePerl ...
    (comp.lang.perl.modules)
  • Re: Error while installing PPM
    ... > After installing Perl on Win 2000 Adv server, when i enter into PPM ... > Searching in Active Repositories ...
    (perl.beginners)
  • Problem with installing PPM
    ... After installing Perl on Win 2000 Adv server, when i enter into PPM mode ... I thought the installation of Perl itself installs some default packages. ...
    (perl.beginners)