First, probably the -E in the lpadmin command line was misplaced. It seems that when it is used before -p <printer> that it forces encryption, which makes lpadmin fail on some configurations. Used after -p <printer>, it enables the queue and makes it accepting jobs (see also the man page of lpadmin).
Second, cuspaccept and cupsenable are commands treating a particular queue, which has to exist and also has to get specified. So you have to add the following two lines AFTER the lpadmin command which creates the queue: echo | cupsenable -h localhost $queue || : echo | cupsaccept -h localhost $queue || : Third, the wait loop is essentially important, as I do not get a queue without it and I get a queue reliably with the loop. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/805947 Title: SRU: hand-picked packaging fixes for Lucid, Maverick, and Natty To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups-pdf/+bug/805947/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs