You are not logged in.

#1 2012-11-11 02:48:56

pingpong
Member
From: Los Angeles
Registered: 2010-12-30
Posts: 104

[SOLVED] Puzzuling Printing Issues with CUPS

I know it sounds nonsense but here is what happened,

I have a Brother MFC-7680DW multiply function wireless printer. It was printing fine from CUPS earlier until I changed my DNS settings.

At first I didn't realize the problem and thought it was the driver but I'm pretty sure I was (is currently) using Brother MFC-7840W Foomatic/Postscript
After a while I realized it was the DNS issue cos my other machines printed just fine.

However, when the DNS issue was fixed, something strange happened.

1) Evince start printing out gubbish.

2) Can print ps files using lpr and lp but CANNOT make them to print on two-sided. I tried almost everything, certainly, I set two-sided printing using CUPS 'Set Default Options'
    I tried setting the duplex (on and then off and then on). I even tried set duplex printing manually by issuing
   

       sudo lpoptions -o sides=two-sided-long-edge. 
    

    And make sure it showed up on lpoptions. (yes the printer is the default printer). Nothing can make it print a ps file on both sides of the paper....

and here is the puzzling part

3) When issuing lpr via xpdf (no option set), it prints out a pdf file double-sided just fine! On the other hand if I issue lpr -l via xpdf then it prints single-sided

I looks like lp or lpr from commandline doesn't print through CUPS and xpdf have a hidden set of filters then does the magic.
I have little ideas on what is happening... hopeful someone can solve this mystery.

Last edited by pingpong (2012-11-11 18:00:18)

Offline

#2 2012-11-11 17:59:35

pingpong
Member
From: Los Angeles
Registered: 2010-12-30
Posts: 104

Re: [SOLVED] Puzzuling Printing Issues with CUPS

I finally figured out what was happening by printing things through xdvi

It tells me what are the flags (I suspect xpdf use the same) it has

dvips -t letter -f -o!lpr

What does the tick is the flag -t letter

dvips filename -t letter

However I still don't understand why it was ok before... I guess something will always remains a mystery...

Last edited by pingpong (2012-11-11 18:01:01)

Offline

Board footer

Powered by FluxBB