Till,
system-config-printer version 1.3.8 works
version 1.5.6 does not work.

My impression is that the command file generated in printerproperties.py 
using
         with tempfile.NamedTemporaryFile(mode='wt') as tmpfile:
             tmpfile.write ("#CUPS-COMMAND\n%s\n" % command)

has a size of zero bytes when the job is submitted to cups
maybe due to buffering?

in the older working version 1.3.8 the command file is generated using
         (tmpfd, tmpfname) = tempfile.mkstemp ()
         os.write (tmpfd, "#CUPS-COMMAND\n%s\n" % command)
         os.close (tmpfd)

Paul

On 29/09/15 01:27, Till Kamppeter wrote:
> Paul, which printer are you using? Does it actually support the
> functionality you are requesting? The "Print Self Test Page" is intended
> for printers which have a built in self test page (usually to discover
> clogged nozzles) and the driver is supposed to send a special code
> sequence to the printer to make the printer print this test page (not
> send a test page from the computer to the printer).  "Clean Heads" is
> supposed to tell the printer to run its internal cleaning cycle.
>
> Unfortunately, the buttons sometimes appear in the Properties dialog of
> system-config-printer if the printer does not have the mentioned
> functionality, for example with the virtual "PDF" printer which gets
> created when installing the cups-pdf package (there are really no print
> heads to clean).
>
> Or are you developing printer maintenance support for your Kodak driver?
>
> ** Changed in: system-config-printer (Ubuntu)
>         Status: New => Incomplete
>

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

Title:
  commands passed to cups fail. File missing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/system-config-printer/+bug/1500636/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to