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: Problem registering a Printer Module



Manish,

My answer is Print Center. If Print Center does not meet your needs, you are also welcome to request improvements. Radar is the best way to do this.

Some developers are writing custom backends that launch separate processes for tracking printer status and job progress at a detailed level. There have been a few postings to the printing list and I suggest you review them to get an idea of the issues involved.

I hope this helps.

-Paul

On Tuesday, May 27, 2003, at 11:05 PM, Manish shrikant shet wrote:

Hi Paul,
We are trying to develop an application which will be launched when
the user tries to print to a queue which is attached to one of our printers.
This application will be used for tracking the job till it finishes printing
on the printer. For this we need to know when the user is trying to print
to the queue so that the application can be invoked.
We also need notifications to inform us about the following
1)status of the queue i.e. whether the queue has been stopped or if the
queue has been restarted.
2)status of the job i.e. whether the user has 'Hold'ed' the job, or
'Resume'ed' the job.
Do we need to develop a PM to achieve this functionality or is there
a better way? If yes, can a print queue be associated with two PMs and how
do we register the customised PM with the queue? The PSPM will be used for
actually rendering the job while the customized PM will be used for getting
notifications on the various states of the queue/job.
Regards,
Manish

-----Original Message-----
From: Paul Danbold [mailto:email@hidden]
Sent: Tuesday, May 27, 2003 11:08 PM
To: email@hidden
Subject: Re: Problem registering a Printer Module


Manish,

There is no need to develop a PM. You told me your printer is a
PostScript printer and it supports both LPR and USB, and also that you
have PPD files. I suggest you install your PPD files in
/Library/Printers/PPDs/ in the appropriate lproj directories. Then set
up a queue in Print Center, and print from any application. Let me
know if you encounter any problems, and if you need any additional
functionality.

-Paul


On Monday, May 26, 2003, at 04:11 AM, Manish shrikant shet wrote:

Hi,
I am trying to develop a Printer Module PM for my printer. The idea
is to get Callbacks (e.g. BeginJob(),CancelJob
(),EndJob() ....) whenever someone prints to my printer and not to do
the
actual rendering. The actual rendering should be done by the PSPM
which
ships with MAC OS X. I built the Sample Printer Module that is
available in
the Sample Code under Developer Folder. I copied it to the the
following
locations one at a time and tried to print a document using the
generic PPD.
1)/Library/Printers/
2)/Library/Printers/PPD Plugins
But my sample PM was not invoked in either of the two cases. Can
someone please guide me in this?
Regards,
Manish
_______________________________________________
printing mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/printing
Do not post admin requests to the list. They will be ignored.
_______________________________________________
printing mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/printing
Do not post admin requests to the list. They will be ignored.
_______________________________________________
printing mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/printing
Do not post admin requests to the list. They will be ignored.
_______________________________________________
printing mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/printing
Do not post admin requests to the list. They will be ignored.



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.