I have a Brother HL5040 laser printer connected to my FreeBSD 8.2/amd64 box via USB. I'm using CUPS to print and everything was going well yesterday - I was able to print the e-mail I needed to, complete with graphics, so I figured everything was all set. However, I tried printing from LibreOffice today and no joy. Instead of the poster I was expecting, I got:
This is when I stopped the print job so as not to waste further paper.
I've tried setting the printer as a HL-5040 CUPS+Gutenprint v5.2.7 (en) (which resulted in the test page being garbled), HL-5040 Foomatic/ljet4 (which is how it worked yesterday for the e-mail), HL-5040 Foomatic/hl1250, and a HL-1440 Foomatic/hl1250. All except the first produce the same output when printing from LibreOffice. I exited and re-opened LibreOffice between each change.
While I need to be able to print from LibreOffice, I decided to try an experiment and exported the drawing to a PDF. I then opened it with KPDF and tried printing, feeding in only a single sheet of paper manually. The following is the only thing that was printed on the page; I canceled the print job at the printer since it obviously didn't work.
I know that this has got to be a configuration problem somewhere - this same document printed fine on the same printer in Slackware and I never had problems printing PDFs before, no matter what content. To confirm it's not a problem printing graphics, I tried printing the google home page from Firefox using the ljet4 filter - worked fine.
I'm at a loss of what to try next and would appreciate any ideas.
Code:
%%[ Error handled by opdfread.ps : ioerror; OffendingCommand: --nostringval-- ]%
<BLANK PAGE>
ERROR:
ioerror
OFFENDING COMMAND:
--nostringval--
STACK:
-mark-
-mark-
-mark-
-mark-
This is when I stopped the print job so as not to waste further paper.
I've tried setting the printer as a HL-5040 CUPS+Gutenprint v5.2.7 (en) (which resulted in the test page being garbled), HL-5040 Foomatic/ljet4 (which is how it worked yesterday for the e-mail), HL-5040 Foomatic/hl1250, and a HL-1440 Foomatic/hl1250. All except the first produce the same output when printing from LibreOffice. I exited and re-opened LibreOffice between each change.
While I need to be able to print from LibreOffice, I decided to try an experiment and exported the drawing to a PDF. I then opened it with KPDF and tried printing, feeding in only a single sheet of paper manually. The following is the only thing that was printed on the page; I canceled the print job at the printer since it obviously didn't work.
Code:
#CUPS-COMMAND
AutoConfigure
I know that this has got to be a configuration problem somewhere - this same document printed fine on the same printer in Slackware and I never had problems printing PDFs before, no matter what content. To confirm it's not a problem printing graphics, I tried printing the google home page from Firefox using the ljet4 filter - worked fine.
I'm at a loss of what to try next and would appreciate any ideas.