[Bug 158406] Re: CUPS-PDF folder

Puneet puneet.lakhina at gmail.com
Sun May 17 08:54:32 UTC 2009


Hi,

On second thoughts, I looked at the code of cups-pdf and it seems like
the filename is built using the title argument passed to it, so if there
is some way of inserting a dialog box before after I press print and
before actually printing a document, it seems to be just a task of
accepting the filename argument in that dialog and passing it as the
title argument to cups-pdf.

The code snippet in cups-pdf.c that im basing my above message on is the
following:

if (argc<6 || argc>7) {
    (void) fputs("Usage: cups-pdf job-id user title copies options [file]\n", stderr);
    log_event(CPERROR, "call contained illegal number of arguments", NULL);
    return 0;
  }


Any opinions?

-- 
CUPS-PDF folder
https://bugs.launchpad.net/bugs/158406
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list