This is also the case with Ubuntu Hardy!

Using strace it turns out that xfig is using lp instead of lpr so that 
if the environment variables LPDEST or PRINTER have been set
a wrong print command is created (mixture of lp with BSD lpr options),
in this example the queue 'x1' is preselected via LPDEST/PRINTER:

[pid 16884] execve("/usr/bin/lp", ["lp", "-o raw", "-Px1"], [/* 42 vars
*/] <unfinished ...>

/usr/share/doc/xfig/README.gz  says:

If you have a SYSV system but use BSD-style printing (lpr instead of lp) you
must define -DBSDLPR in the Imakefile/Makefile.

So either xfig needs to be recompiled with this option switched on or it needs
to be recompiled so that it will use SYSV options ("-d x1" instead of "-Px1").

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

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

Reply via email to