Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Which kind of printer driver architecture should I use?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Which kind of printer driver architecture should I use?



Dave,
 
Thanks for your answer and suggestion. Now I have a good start.
 
Best Regards,
--Henry

Dave Camp <email@hidden> wrote:
On Mar 9, 2005, at 9:44 PM, 亨利 賴 wrote:

> I'm a new Mac OS X 10.3 printer driver developer.
> My customer has a USB printer which supports PCL5(HP-GL/2) and they
> want to have a function settings UI which includes paper size,
> resolution, dithering, stamp, rotary, vector graph etc. others. So, I
> have several questions:
>
> 1.I want to develop a CUPS printer driver and hope the printer can be
> recognized through adding printer in Printer Setup Utility.
> Besides, above function settings must be embedded into Printer Dialog
> and Page Setup Dialog. Is CUPS driver an appropriate choice? Or
> Tioga(PM, IOM)?

Both CUPS and Tioga are appropriate. CUPS is much easier to code for
(in my opinion), but has functionality problems on 10.2 (most Adobe
apps won't be able to print). Tioga wo! rks good on all OS versions but
it's a deprecated API and won't be extended in the future.

> 2.For question 1. If CUPS driver can be used, which tool is good for
> development? CUPS DDK or Gimp-print? Or others?

You just need to write a PPD file and a filter. The DDK looks like a
good starting point for writing a PPD if you have not done that before.
I'd suggest writing your filter from scratch instead of based off
something in GIMP-Print. It's not hard.

> 3.PDE is equal to PPD Plugin? If not, what's different?

I think so.

> 4.The PDE example, OutputBins.plugin, is adapt to PostScript printer.
> Under developing CUPS driver, is it possible to use PDE? How to start?

OutputBins is a relevant sample. It shows how to write a PDE that
changes settings for a PPD based driver.

Dave
---
It's not denial. I'm just very particular about the reality I choose to
accept. -Calvin



Yahoo!奇摩電子信箱
免費容量250MB,信件在多也不怕。更多說明
 _______________________________________________
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



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.