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: Bug in Tioga -> CUPS -> Tioga



Dave & Paul,

Thanks for the pointer to the archives FAQ. I missed that. I guess I'll have
to do something different to pass a long string between my PDE and PM...

Alec

on 6/4/03 11:32 AM, Dave Camp at email@hidden wrote:

> I would guess you are putting too much data into the ticket...
>
> From the archives:
>
>> The problem here is the 16K limit that CUPS imposes on the options
>> string. A future version of CUPS will fix the problem. But for
>> backwards compatibility please try to minimize the amount of data you
>> add to the JobTicket. For example, shorter key names will help.
>>
>> Also note that in Jaguar, the maximum length of a single option is
>> 200 chars when both the name and value are CFStrings
>> 512 chars when the name is a C string and the value is a CFString
>> Those numbers include the name of the option (e.g. "media" or
>> "com.apple.print.PrintSettings.PMCopies..n."), the "=" and the value
>> string.
>
>
> Dave
>
> On Wednesday, June 4, 2003, at 08:05 AM, Alec Carlson wrote:
>
>> I have run into a problem where a Job Ticket key is not getting passed
>> from
>> my PDE to the PM. If I dump out the Job ticket after I set the key in
>> my
>> PDE, I get the following (which I've abbreviated for clarity):
>>
>> ...
>> }
>> ;
>> com.smsi.print.PrintSettings.FaxJobCoverNoteKey = <NSCFDictionary
>> 0x1dac230>{
>> com.apple.print.ticket.creator = com.apple.printingmanager;
>> com.apple.print.ticket.itemArray = <NSCFArray 0x1daecb0>(
>> <NSCFDictionary 0x1da9f00>{
>> com.apple.print.ticket.client = com.apple.printingmanager;
>> com.smsi.print.PrintSettings.FaxJobCoverNoteKey = Citing anonymous
>> sources,
>> the Wall Street Journal reported that, unless a settlement is reached
>> at the
>> last minute, federal prosecutors could charge Stewart on Wednesday
>> with
>> obstructing their investigation into allegations of insider trading of
>> shares of ImClone Systems Inc. On Tuesday, Martha Stewart Living
>> Omnimedia
>> Inc. said the U.S. Attorney's office in New York plans to ask a grand
>> jury
>> to indict Stewart "in the near future." She also faces a related civil
>> action by the Securities and Exchange Commission. Stewart, chairman
>> and
>> CEO of Martha Stewart Living Omnimedia and owner of 61 percent of its
>> shares, did not attend the company's annual shareholders' meeting
>> Tuesday
>> afternoon, though she did address the meeting through a videotape made
>> Tuesday morning. After the meeting, company director Arthur Martinez,
>> a
>> former CEO of Sears Roebuck & Co., "categorically" denied reports that
>> Stewart had resigned from the company. He voiced support for the
>> company's
>> embattled chief, and said a number of shareholders also voiced support.
>> Stewart, chairman and CEO of Martha Stewart Living Omnimedia and owner
>> of 61
>> percent of its shares, did not attend the company's annual
>> shareholders'
>> meeting Tuesday afternoon, though she did address the meeting through
>> a
>> videotape made Tuesday morning. ;
>> com.apple.print.ticket.modDate = 2003-06-04 09:45:59 -0500;
>> com.apple.print.ticket.stateFlag = 0;
>> }
>>
>> )
>> ;
>> ...
>>
>> When I try to recover the
>> com.smsi.print.PrintSettings.FaxJobCoverNoteKey
>> from the job ticket in the PM, the key does not exist. It's been lost
>> somewhere between the PDE and the PM. This does work for short strings
>> but
>> seems to have a problem with long strings.
>>
>> Any thoughts on this ?
>>
>> Alec
>> -----------------------------------------------------------------------
>> Time is Short and the Water Rises
>> -----------------------------------------------------------------------
>> _______________________________________________
>> 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.
>>
>>
> ---
> You are in a maze of testy little Java VMs, all subtly different.
_______________________________________________
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: Bug in Tioga -> CUPS -> Tioga (From: Dave Camp <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.