Max Feil
|
RE: Using enum-par to get printer model name
|
Max Feil
11/13/2009 11:02 AM
post41920
|
RE: Using enum-par to get printer model name
Spooler does it programmatically. Shouldn't be too hard to figure out
from the spooler source code on Foundry27 (graphics project, under
services/spooler).
-----Original Message-----
From: Lakshminarayanan R [mailto:community-noreply@qnx.com]
Sent: Friday, November 13, 2009 10:03 AM
To: momentics-community
Subject: RE: Using enum-par to get printer model name
Okay. But if I give the USB command I get many things displayed
including the printer model name.
The problem is I want to obtain the model name from the application. So
I'm required to parse the USB command. This is tedious.
Is there a way to get the printer model name alone for a printer
connected to the USB port?
________________________________________
From: Max Feil [community-noreply@qnx.com]
Sent: Friday, November 13, 2009 6:49 PM
To: momentics-community
Subject: RE: Using enum-par to get printer model name
Note that enum-par is for printers connected via the parallel port. Use
the "usb" command for usb printers.
-----Original Message-----
From: Lakshminarayanan R [mailto:community-noreply@qnx.com]
Sent: Friday, November 13, 2009 3:31 AM
To: momentics-community
Subject: Re: Using enum-par to get printer model name
Adding more input, when I connect the printer to the system through USB
and give enum-par the following i displayed:
F1646679
How to decipher printer model name from this?
_______________________________________________
QNX Momentics Community Support
http://community.qnx.com/sf/go/post41891
_______________________________________________
QNX Momentics Community Support
http://community.qnx.com/sf/go/post41903
DISCLAIMER:
------------------------------------------------------------------------
-----------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and
intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its
affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily
reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure,
modification, distribution and / or publication of
this message without the prior written consent of the author of this
e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender
immediately. Before opening any mail and
attachments please check them for viruses and defect.
------------------------------------------------------------------------
-----------------------------------------------
_______________________________________________
QNX Momentics Community Support
http://community.qnx.com/sf/go/post41915
|
|
|