renaming quark jobs

Michael Sweet mike at easysw.com
Thu Aug 12 08:43:05 PDT 2004


pieterjandeboeck at yahoo.co.uk wrote:
> hello all, (particularly Michael :)
> 
> 
> I am currently testing an app that uses cupsDoRequest to change the name of printjobs. And it works! except...
> 
> Something strange emerged:
> 
> my program has a function
> 
> - requestChangeJobName
>     which uses cupsDoRequest()
> 
> to change the name of jobs.  Jobs from all applications return a "successful-ok" IPP response. Even cups browser interface always shows the completed job with correctly renamed name.
> 
> However, although it works on all other applications, print jobs received from Acrobat, Indesign and Quark (notice they are all  graphics programs) still come out under the original name. Im calling the same method with the same
> 
>  response = cupsDoRequest(http, request, "/jobs")
> 
> 
> No matter what order I print jobs, jobs from txt, browsers etc rename, but printjobs from for example Quark retain the original name.
> 
> Question: (how) Are these apps different?

They submit pictwps files (PICT with embedded PostScript) which
are printed differently, and they use the legacy LaserWriter print
API from MacOS 9 (via Carbon/Quickdraw) instead of the newer OSX
print APIs.  I don't know if this causes any different behavior in
this respect, but they do print differently...

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Printing Software for UNIX                       http://www.easysw.com




More information about the cups-devel mailing list