<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 9, 2014 at 1:16 PM, Robert Heller <span dir="ltr"><<a href="mailto:heller@deepsoft.com" target="_blank">heller@deepsoft.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">At Wed, 9 Jul 2014 12:12:22 -0500 "Ubuntu user technical support,  not for general discussions" <<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a>> wrote:<br>

<br>
><br>
><br>
><br>
> i edited your message to move your response to the bottom. please don't<br>
> top-post.<br>
><br>
><br>
> On Wed, Jul 9, 2014 at 11:44 AM, Robert Heller <<a href="mailto:heller@deepsoft.com">heller@deepsoft.com</a>> wrote:<br>
><br>
> > At Wed, 9 Jul 2014 11:26:53 -0500 "Ubuntu user technical support,  not for<br>
> > general discussions" <<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a>> wrote:<br>
> ><br>
> ><br>
> > > On Sun, Jun 29, 2014 at 6:04 PM, Robert Heller <<a href="mailto:heller@deepsoft.com">heller@deepsoft.com</a>><br>
> > wrote:<br>
> > ><br>
> > > > Software versions:<br>
> > > >    1) Host Server: CentOS 6.5 (up to date),<br>
> > cups-1.4.2-50.el6_4.5.x86_64<br>
> > > >    2) VM server:   Ubuntu 14.04 (up to date), cups 1.7.2-0ubuntu1<br>
> >  amd64<br>
> > > >    3) Diskless workstations: Ubuntu 14.04 (up to date), cups<br>
> > > > 1.7.2-0ubuntu1 amd64<br>
> > > ><br>
> > > > We have two networked (hard Ethernet, with static IP addresses) Laser<br>
> > > > printers, a HP LaserJet 4200 (old but works great) and a Brother Color<br>
> > > > MFC-9970CDW.<br>
> > > ><br>
> > > > What happened:<br>
> > > ><br>
> > > > I updated the Host Server (standard yum update) and then rebooted it<br>
> > (the<br>
> > > > update brought in a new kernel). And then printer queues became<br>
> > > > 'disfunctional'. Printing a test page resulted in a<br>
> > > > client-error-document-format-not-supported type of error. Deleting and<br>
> > > > re-installing the print queues fixed it. Why did this happen? And why<br>
> > does<br>
> > > > re-installing the print queues fix it? Followup question: is there a<br>
> > way<br>
> > > > to do<br>
> > > > fix this from the command line? It is a royal pain to have to do this<br>
> > with<br>
> > > > the<br>
> > > > web GUI, esp. since it precludes doing it remotely.<br>
> > > ><br>
> > > > Also, just as a side adventure, the Ubuntu VM system decided to (on its<br>
> > > > own!)<br>
> > > > remove the color printer. I have not clue as to  why that happened.  I<br>
> > did<br>
> > > > *uninstall* the pesky cups-browserd package (which is a total disaster<br>
> > for<br>
> > > > a<br>
> > > > server or even fixed desktop machines with fixed hardwired printers).<br>
> > > ><br>
> > ><br>
> > > Since you mention the host and VM CUPS versions that cues me to suggest<br>
> > > first looking for an interaction between them. Think about where the<br>
> > print<br>
> > > jobs are being spooled from. Will users other than Ubuntu VM users need<br>
> > to<br>
> > > print to and manage them? If it makes more sense to support the queues<br>
> > from<br>
> > > the host, then delete all your printer definitions from Ubuntu, create<br>
> > them<br>
> > > in the host CUPS, then have the Ubuntu CUPS definitions point to the VM<br>
> > > printer queues. (There are a few ways to do that; which ways work for you<br>
> > > depend upon several factors.)<br>
> ><br>
><br>
><br>
> > ><br>
> > > As for the HP printer, after you decide which CUPS server you are going<br>
> > to<br>
> > > support I would suggest you make sure you have all the open-source HP<br>
> > > printer utility packages installed, especially any packages that<br>
> > > specifically mention your printer. I don't know whether the versions<br>
> > > straight from HP have any advantages, but I would first try looking for<br>
> > the<br>
> > > ones the distro provides first. They may or may not have been installed<br>
> > by<br>
> > > default.<br>
> > ><br>
> > > I have a different model Brother printer and its non-open-source software<br>
> > > has to be reinstalled any time the OS gets upgraded. Alternatively, it's<br>
> > > possible your edits to the CUPS config got blown away by a software<br>
> > update<br>
> > > or just a glitch.<br>
> > ><br>
> > > I just looked up your printer at Brother's linux support site -- the url<br>
> > > might be:<br>
> > ><br>
> > ><br>
> > <a href="http://support.brother.com/g/s/id/linux/en/index.html?prod=mfc9970cdw_all" target="_blank">http://support.brother.com/g/s/id/linux/en/index.html?prod=mfc9970cdw_all</a><br>
> > ><br>
> > > (You may have to go through the Brother site first to get that link to<br>
> > work<br>
> > > because I stripped out my country and language.)<br>
> > ><br>
> > > I suggest you might go through the installation instructions and see if<br>
> > > your edits are still in effect, and also that you have the latest version<br>
> > > of the driver appropriate to the printer and the OS of the CUPS server<br>
> > you<br>
> > > are supporting.<br>
> > ><br>
> ><br>
> > The host (the CentOS 6.5 machine) is the server for everything. The other<br>
> > machines just have 'raw' (postscript?) print queues feeding into the CentOS<br>
> > 6.5 queues).  Since *both* printers are PostScript there should not be<br>
> > much in<br>
> > the way of filters anyway.<br>
> ><br>
> ><br>
> I don't know about the HP, but Brother says that printer supports "PCL6,<br>
> BR-Script3" so that printer is not PostScript.<br>
<br>
<br>
</div></div>BR-Script3 is just Brother's 'brand' for PostScript. The printer is in fact a<br>
PostScript (level 3 actually) printer (that *also* does PCL6). The HP printer<br>
is also a PostScript printer (that also does PCL<mumble>). Almost all of<br>
Brother's *laser* printers are PostScript printers. This was something I very<br>
carefully reseached when specificying the printer.<br>
<div class=""><br></div></blockquote><div><br></div><div>AH then I apologize for the misinformation. I will have to review my Brother printer's information with that in mind.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">
><br>
> As I am sure you know, CUPS "automagically" makes all printers PostScript<br>
> compatible, but you also cannot be sure a so-called "raw" queue does no<br>
> transformation.<br>
><br>
> I think it would be best to test the queues using processes on CentOS<br>
> before moving to the Ubuntu queues. For example you might create a <a href="http://test.ps" target="_blank">test.ps</a><br>
> postscript file you can spool to the printer using the command line<br>
> options. Or, of course, the Test Page feature built into CUPS.<br>
><br>
> I suggest you might want to go back and reinstall your Brother<br>
> "cupswrapper" software on CentOS OR confirm you are using an open-source<br>
> compatible PPD that supports your printer's flavor of PCL6.<br>
<br>
</div>This is not the problem.<br>
<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div><br></div><div>Sorry for the noise, then!</div><div> </div></div><br></div></div>