On 5/24/07, <b class="gmail_sendername">NoOp</b> <<a href="mailto:glgxg@mfire.com">glgxg@mfire.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Since transitioning to Feisty from Dapper I have an interesting problem<br>regarding my printers:<br><br>  I have a single shared printer setup on this machine. It's a USB<br>printer (Canon MP750) that I share amongst 4 other Ubuntu machines (all
<br>now running Feisty 7.04). Printing to the machine from all systems works<br>fine both via the new Feisty MP750 driver and the existing Turboprint<br>driver (although it took some uninstalling & reinstalling to get the
<br>Turboprint driver working correctly).<br><br>Unfortunately, it seems that since 7.04 all of the printers on this<br>machine are now shared amongst the other machines. I can't seem to<br>figure out how to only share this printer, but not the other locally
<br>installed virtual PDF printer, fax printer etc. Here is what happens:<br><br>1. Printers are set up on this machine - mostly via localhost:631 (cups)<br>as the System|Administration|Printers wizard doesn't seem to want to
<br>allow me to delete old printers or add new ones properly.<br><br>2. Via localhost:631 I 'unpublish' my virtual PDF printer etc., and only<br>keep my MP750 published.<br><br>3. On the other 7.04 machines, they all pick up every printer on this
<br>machine; the MP750, the virtual PDF printer, and the fax printer. That's<br>part of the problem; I only want them to pick up the MP750 and not the<br>other printers.</blockquote><div><br>I am not using Feisty, but with both Edgy and Dapper, I have experienced strange behavior and inconsistencies when using Cups'  web-based administration...
<br> <br>If you type this command (on the PC where the virtual PDF printer and fax printer are hosted):<br>
$ lpoptions -p name_of_virtual_printer<br>
<br>
What is the value of the 'printer-is-shared' option?<br>
<br>
If it is '0', try restarting cupsys wait a couple minutes and the from one of the other machines, try:<br>
$ lpstat -p<br>
<br>Does the printer still show up on the remote PCs?<br><br>
If it is '1', try manually changing the printer's 'Shared' directive to 'No' in /etc/cups/printers.conf, restart cups, and try 'lpstat -p' again (from another PC).<br> <br>Does the printer still show up on the remote PCs?
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">If I try to add a local virtual PDF printer to the second (or other<br>Ubuntu 
7.04) machine via the System|Administration|Printers wizard, it<br>will not add a local PDF printer. (cupsys* and cups-pdf are intalled<br>just fine).<br><br>If I add a local virtual PDF printer back into this machine, it shows up
<br>on the other machines, and I can print to it from those machines. But as<br>expected the print output goes back to this machines /PDF directory path.<br><br></blockquote></div><br>Assuming you get the sharing issue worked out, check to make sure the cups-pdf URI and PPD exists on the other PCs where you want to set up the virtual PDF printer:
<br><br>$ lpinfo -v | grep pdf<br>   file cups-pdf:/    # expected output... use with -v option when adding printer using lpadmin below<br><br>$ lpinfo -m | grep cups-pdf<br>cups-pdf/PostscriptColor.ppd Generic postscript color printer rev4   # expected output... use with -m option when adding printer using lpadmin below
<br>
<br>Then to actually add the printer (subsitute 'PDF-Creator' with desired name):<br>$ lpadmin -p PDF-Creator -E -v cups-pdf:/ -m cups-pdf/PostscriptColor.ppd -u allow:all -o printer-is-shared=no<br><br>Notice the -o option at the end of line... this will head off trouble before it begins! :)
<br><br>Let me know if this helps.<br><br>-- <br>Mitch<br>