Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding Tioga USB Printers Automatically from Panther



Thank you, Olav.

Your advice is very helpful.
But I found another problem.
I will explain the details.


First of all, the 1284 ID of my USB Printer is the following:

    MFG:Foo;CMD:ABCPJL;MDL:ABC-DE5;DES:FooABC-DE5;CLS:PRINTER

My Tioga PM sets printer browser values like:

    PrinterBrowserInfo: "ABC-DE5"
    PrinterBrowserDeviceID: "MDL:ABC-DE5"

And I did the following commands after installing my driver.

% rm ~/Library/Preferences/ByHost/com.apple.print.Cache.*.plist
% sudo rm /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/Resources/com.apple.pmcache.xml
% sudo /System/Library/SystemConfiguration/PrinterNotifications.bundle/Contents/MacOS/makequeues -r
% sudo /System/Library/SystemConfiguration/PrinterNotifications.bundle/Contents/MacOS/makequeues -u


It works!
New printer queue appears on PSU "printer list" automatically after hot-plug.



I did one more try. My PM should support two printer models, "ABC-DE5" & "ABC-DE7". I changed printer browser values like:

    PrinterBrowserInfo: "ABC-DE"
    PrinterBrowserDeviceID: "MDL:ABC-DE"

In this case, it does not work, even though after clearing PM caches.
(Actually, my old PM set these values.)

This works on Puma & Jaguar.
On Panther, I must add it manually from PSU add window.

I think it's avoidable by adding multiple printerBrowserInfo (for each model) in CreatePrinterBrowserModuleInfo().
But I would like to know this is bug or specification.



Thank you in advance.

---
Keiichi Yamada
YUJIN Inc.


o andrade wrote:

Did you remember to update the pmcache? Let us know if that doesn't fix your problem.

http://lists.apple.com/archives/printing/2004/Apr/msg00013.html
http://lists.apple.com/archives/printing/2003/Feb/msg00040.html

-olav
Olav Andrade
Apple Printing Engineering

On Jan 12, 2005, at 23:47, Keiichi Yamada wrote:

Hi all,

PSU automatic queue creation for my Tioga USB driver does not work on Panther.
(Of cource, it works well on Puma & Jaguar.)


I've found the following mail, but no answer for this.

Is this Panter bug?
Or does anyone know the solution?

Any advice will be appreciated.

Thank you in advance.

---
Keiichi Yamada
YUJIN Inc.


email@hidden wrote:

I know this issue has been tossed around before, but it still seems like a
Panther bug to me. My USB printer is added automatically from Print Center
(Jaguar) but not Printer Setup Utility (Panther). The DeviceID string is
"MFG:Kodak;CMD:KOD;MDL:8500 Digital Photo Printer;CLS:Printer;DES:Kodak
Professional;", and we are using the string "MDL:8500 Digital Photo
Printer" (though I accidentally used "MODEL:..." initially).
The same thing happens with a different printer whose DeviceID string is
"MFG:Kodak;CMD:CPDNPA001;MODEL:Kodak 8500;CLASS:Printer;DES:Kodak
8500;COMMENT:001208-3;". I modified CreatePrinterTickets so the
kPMPrinterLongNameKey, kPMPrinterShortNameKey, and kPMMakeAndModelNameKey
all use "Kodak 8500". As a result, the PPD file (created by adding the
printer manually) contains *Manufacturer: "Kodak", *Product: "(Kodak
8500)", and *ModelName:, *ShortNickName:, and *NickName: values of "Kodak
8500".
Does anyone know what's going on? (Paul Danbold wrote on 5 Nov 2003
regarding this issue, and he stated the PPD file's *Product key should
match the DeviceID MDL key. Could the issue be our DeviceID string uses
MODEL instead (for printer #2)?






_______________________________________________
Do not post admin requests to the list. They will be ignored.
Printing mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/printing/email@hidden

This email sent to email@hidden
References: 
 >Re: Adding Tioga USB Printers Automatically from Panther (From: Keiichi Yamada <email@hidden>)
 >Re: Adding Tioga USB Printers Automatically from Panther (From: o andrade <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.