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: Getting fonts available on printer.



On Friday, June 6, 2003, at 06:58 AM, Deepak Kapila wrote:

Hi Paul,

What I can understand from your mails is that you are talking about
CUPS backend.Pls correct me if I am wrong.

You are correct.

I don't know much about the CUPS backends . Could you please
elaborate how to create the backends and in what way to send the font query
?

If you are planning to use AppleTalk PAP for font queries, there is no need to create your own backend since we install one in /usr/libexec/cups/backend/. However, if you are interested in developing one, I recommend the CUPS book by Michael Sweet (ISBN 0672321963 ) and www.cups.org for online documentation.

You can use the same PostScript query as LaserWriter 8 to obtain the font list.

If possible could you please send me some sample which queries the
printer and how the carbon application interfaces with it to collect the
output.

Your code will need to get the path to the backend, set up pipes to write to and read from the backend, and then exec the backend. But there are a lot of details so I suggest you contact DTS for assistance. I did a quick search for helpful sample code on developer.apple.com but did not see anything directly relevant.

Many thanks for all your help.

Deepak

-----Original Message-----
From: Paul Danbold [mailto:email@hidden]
Sent: Friday, June 06, 2003 4:05 AM
To: email@hidden
Subject: Re: Getting fonts available on printer.


Deepak,

If you want to use the printing system for this purpose, your code can
exec the pap backend, using the standard pipes to send the font query
to the printer and retrieve the results.

-Paul


On Thursday, June 5, 2003, at 02:21 AM, Deepak Kapila wrote:

Hi Mansur,

It is Carbon application.

thnx & rgds
Deepak

-----Original Message-----
From: Mansur_Milky [mailto:email@hidden]
Sent: Thursday, June 05, 2003 2:49 PM
To: Deepak Kapila; email@hidden
Subject: RE: Getting fonts available on printer.


Hey Deepak,

Just for reference can you tell me if your application is a
Carbon Interface or a Cocoa Interface application ??

best regards
mansur

-----Original Message-----
From: Deepak Kapila [mailto:email@hidden]
Sent: Thursday, June 05, 2003 11:54 AM
To: email@hidden
Subject: Getting fonts available on printer.


Hi All,

I am facing the following problem.
Actually what I want to do is to connect to the printer
directly and the query the printer to get the list of fonts available
on the
printer.


Before MAC OS X there was 'PAPA' resource using which we can
get the printer name and other info and a LWDF (Laserwriter) resource
which
had
the functions (in Hexdecimal form) which were equivalent to
the PAP client interface. We used to use these function pointers to
communicate with the
printer. Now that 'PAPA' resource is not supported on OS X
and not even aware of the fact if there is some updated PAP client
available
I am trying to implement the functionality of what was
possible
using that interface. I opted to use the PAP using Open Transport. But
came
to know later that pap endpoints are no longer
supported in
carbon.

Can any body please help me what all to use to get the list
of fonts available at the printer. It is not specific to any printer.

thnx & rgds
Deepak Kapila
_______________________________________________
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.
********************************************************************** *
***
This email (including any attachments) is intended for the sole use of
the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or
copying or
distribution or forwarding of any or all of the contents in this
message is
STRICTLY PROHIBITED. If you are not the intended recipient, please
contact
the sender by email and delete all copies; your cooperation in this
regard
is appreciated.
********************************************************************** *
***
_______________________________________________
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.

References: 
 >RE: Getting fonts available on printer. (From: Deepak Kapila <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.