Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: USB CUPS printing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: USB CUPS printing



On Mar 11, 2005, at 11:29 AM, Dave Koziol wrote:

I need to write a print driver for a USB Printer. I'll looked at a bunch of CUPS information on the cups.org website. I understand how to do my PPD, and my filter. What I don't understand is how the association of my devices to my PPD works.

Having written a bunch of USB code over the years, I expected to put USB VID & PIDs somewhere, but I haven't seen anything about that.

So, can anyone clue me in? Is this done with USB Product Strings, or what? How would this work if my printer is connected to an Airport Express Base stations?

It all happens in the PPD. At a minimum you need something like:

*ModelName:     "FooCorp X99"

CUPS will try to match that against what comes out of the device's 1284 string. However, if your device has a bad string or extra spaces or other issues, you might need something more aggressive like:

*Manufacturer:			"FooCorp"
*Product:				"(FooCorp  X99)"
*Product:				"(FooCorp X99)"
*ModelName:				"FooCorp X99"
*1284DeviceID:			"MFG: FooCorp ;MDL: X99"

In short, your device needs to have a 1284 string that's in spec, and you need to match it exactly in the PPD.

Dave
---
Among the chief weapons of UNIX:  Fear, surprise and ruthless efficiency.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Printing mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >USB CUPS printing (From: Dave Koziol <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.