Same issue with printing files from Firefox (and sometimes other applications) 
in Bionic with a Brother HL5250DN.
The used driver does not matter (BR-Script3, PCL, PS).
Related: https://bugzilla.redhat.com/show_bug.cgi?id=855009#c6

Solution:
Use the BR-Script3 driver, then edit (as root) the PPD for your printer (for me 
it's /etc/cups/ppd/Brother_HL-5250DN_Brotherscript3.ppd ).
The PPD starts with some comments, then the following content:

[...]
*%================================================
*%      Copyright(C) 2005 Brother Industries, Ltd.
*%      "Brother HL-5250DN BR-Script3"
*%================================================
*%==== General Information Keywords ========================
*FormatVersion: "4.3"
*FileVersion: "1.03"
*LanguageEncoding: ISOLatin1
*LanguageVersion: English
*Manufacturer: "Brother"
*PCFileName: "BR5250_2.PPD"
*Product: "(Brother HL-5250DN series)"
*PSVersion: "(3010.106) 5"
*ShortNickName: "Brother HL-5250DN BR-Script3"
*ModelName: "Brother HL-5250DN BR-Script3"
*NickName: "Brother HL-5250DN BR-Script3"
*1284DeviceID: "MFG:Brother;MDL:HL-5250DN series;CMD:PJL,PCL,PCLXL,POSTSCRIPT;"
*%==== Basic Device Capabilities =============
*LanguageLevel: "3"
[...]

Edit the line with "LanguageLevel" and change the "3" to "2". It should now 
look like this:
*LanguageLevel: "2"

Restart cups with "systemctl restart cups". Enjoy.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to foomatic-db in Ubuntu.
https://bugs.launchpad.net/bugs/1306849

Title:
  Printing error

Status in foomatic-db package in Ubuntu:
  Confirmed

Bug description:
  I get the message ERROR NAME; stackunderflow COMMAND; pop OPERAND
  STACK; when I try to print from Firefox or anything that has a picture
  as part of the file.  I am running saucy on an AMD64 system. so far I
  have tried deleting the printer and setting it up again. No change.
  Ubuntu 13.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/foomatic-db/+bug/1306849/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to