renaming quark jobs

pieterjandeboeck at yahoo.co.uk pieterjandeboeck at yahoo.co.uk
Thu Aug 12 08:01:46 PDT 2004


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?


Let me know if this rings a bell,
Pieter-Jan


What i am doing in the app:
----------------------------
- I pause the printqueue at start of my program

- when a job comes in I hold, rename, unhold
- I resume the printqueue, which remains open until job is completed
- I pause the printqueue again


successfull-ok everywhere and cups web interface always shows the renamed name in "completed jobs" sections.







More information about the cups mailing list