Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

homebrew installed ghostscript 8.70 broke all printing on MBP (snow leopard) #528

Closed
ashebanow opened this issue Jan 21, 2010 · 30 comments
Closed

Comments

@ashebanow
Copy link

Documents would just sit in the queue, forever.

Fixed it by removing ghostscript and rebooting.

@mxcl
Copy link
Contributor

mxcl commented Jan 22, 2010

Seems extremely unlikely. Still you could help us out with some more information. Like what version of OS X you are on and where you installed Homebrew.

@ashebanow
Copy link
Author

10.6.2, homebrew is in /usr/local, and I correctly set all permissions to make the directory user writable.

FWIW, I reinstalled imagemagick (and thus ghostscript) using http://github.com/masterkain/ImageMagick-sl and everything worked fine, even though the script uses ghostscript 8.7 as well. I noted that the homebrew formula uses a different (and much more complicated) set of options to ./configure...

@ashebanow
Copy link
Author

Here is what the errors in the printer's error_log looked like prior to uninstall (yes, it took me a month to figure out what was going on):

D [05/Dec/2009:09:31:41 -0800] [Job 105] `/private/var/spool/cups/tmp/4b1a985beb1c2' has 2 pages.
D [05/Dec/2009:09:31:41 -0800] [Job 105] cgpdftopdf - opened PPD file "/private/etc/cups/ppd/EPSON_Stylus_Photo_R280.ppd"...
D [05/Dec/2009:09:31:41 -0800] [Job 105] cgpdftopdf: size->width = 612, size->length = 792, size->top = 792, size->bottom = 0, size->left = 0, size->right = 612
D [05/Dec/2009:09:31:41 -0800] [Job 105] cgpdftopdf: preferredRotation = -90
D [05/Dec/2009:09:31:41 -0800] [Job 105] cgpdftopdf - languageLevel = 3, mediaBox.size.width = 612, mediaBox.size.height = 792
D [05/Dec/2009:09:31:41 -0800] [Job 105] Ghostscript command line: /usr/local/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDEVICE=cups -sstdout=%stderr -sOutputFile=%stdout -I/usr/share/cups/fonts -r360x360 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -dcupsBitsPerColor=8 -dcupsColorOrder=0 -dcupsColorSpace=1 -dcupsCompression=2 -dcupsInteger0=-2147483648 -scupsPageSizeName=Letter.NMgn -c -f -_
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[0]="CFProcessPath=/usr/libexec/cups/filter/pdftoraster"
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[1]="CUPS_CACHEDIR=/private/var/spool/cups/cache"
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[2]="CUPS_DATADIR=/usr/share/cups"
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[3]="CUPS_DOCROOT=/usr/share/doc/cups"
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[4]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[5]="CUPS_REQUESTROOT=/private/var/spool/cups"
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[6]="CUPS_SERVERBIN=/usr/libexec/cups"
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[7]="CUPS_SERVERROOT=/private/etc/cups"
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[8]="CUPS_STATEDIR=/private/etc/cups"
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[9]="HOME=/private/var/spool/cups/tmp"
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[10]="PATH=/usr/libexec/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[11]="SERVER_ADMIN=root@Sleek-2.local"
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[12]="SOFTWARE=CUPS/1.4.2"
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[13]="TMPDIR=/private/var/spool/cups/tmp"
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[14]="USER=root"
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[15]="CUPS_SERVER=/private/var/run/cupsd"
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[17]="IPP_PORT=631"
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[18]="CHARSET=utf-8"
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[19]="LANG=en_US.UTF-8"
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[20]="APPLE_LANGUAGE=en-US"
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[21]="PPD=/private/etc/cups/ppd/EPSON_Stylus_Photo_R280.ppd"
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[22]="RIP_MAX_CACHE=8m"
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[23]="CONTENT_TYPE=application/pdf"
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[24]="DEVICE_URI=usb://EPSON/Stylus%20Photo%20R280?serial=5736343034492BF9B2"
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[25]="PRINTER_INFO=EPSON Stylus Photo R280"
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[26]="PRINTER_LOCATION=Sleek"
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[27]="PRINTER=EPSON_Stylus_Photo_R280"
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[28]="CUPS_FILETYPE=document"
D [05/Dec/2009:09:31:41 -0800] [Job 105] envp[29]="FINAL_CONTENT_TYPE=printer/EPSON_Stylus_Photo_R280"
D [05/Dec/2009:09:31:41 -0800] [Job 105] Unknown device: cups
D [05/Dec/2009:09:31:41 -0800] [Job 105] Unrecoverable error: undefined in .uninstallpagedevice
D [05/Dec/2009:09:31:41 -0800] [Job 105] Operand stack:
D [05/Dec/2009:09:31:41 -0800] [Job 105] defaultdevice
D [05/Dec/2009:09:31:41 -0800] [Job 105] Job canceled by "ashebanow"
D [05/Dec/2009:09:31:41 -0800] [Job 105] Read 20 bytes of print data...
D [05/Dec/2009:09:31:41 -0800] [Job 105] Wrote 20 bytes of print data...
D [05/Dec/2009:09:31:41 -0800] [Job 105] Read 20 bytes of print data...
D [05/Dec/2009:09:31:41 -0800] [Job 105] Wrote 20 bytes of print data...
D [05/Dec/2009:09:31:41 -0800] [Job 105] Sent 874 bytes...
D [05/Dec/2009:09:31:41 -0800] [Job 105] End of messages
D [05/Dec/2009:09:31:41 -0800] [Job 105] printer-state=3(idle)
D [05/Dec/2009:09:31:41 -0800] [Job 105] printer-state-message="Sending print data..."
D [05/Dec/2009:09:31:41 -0800] [Job 105] printer-state-reasons=none

@ashebanow
Copy link
Author

Here is the (long) output from /usr/bin/env (though this is post-fix):

GREP_COLOR=1;32
COLOR_NC=\e[0m
MANPATH=/usr/local/mysql/man:/usr/share/man:/usr/local/share/man:/usr/X11/share/man:/usr/local/man:/usr/X11/man:/usr/local/git/man
TERM_PROGRAM=Apple_Terminal
COLOR_RED=\e[0;31m
COLOR_CYAN=\e[0;36m
COLOR_PURPLE=\e[0;35m
TERM=xterm-color
SHELL=/bin/bash
CLICOLOR=1
COLOR_LIGHT_RED=\e[1;31m
TMPDIR=/var/folders/Xd/Xd8JykpoGjmyJ6a8nT+ovE+++TI/-Tmp-/
COLOR_LIGHT_PURPLE=\e[1;35m
COLOR_GREEN=\e[0;32m
Apple_PubSub_Socket_Render=/tmp/launch-XyfZ3P/Render
TERM_PROGRAM_VERSION=272
COLOR_BLUE=\e[0;34m
GIT_EDITOR=mate -w
CDPATH=.:~:~/Documents/dev:~/Documents/dev/rails:~/Documents/dev/rails/aptana:~/Documents/dev/rails/aptana/websites:/usr/local/src
COLOR_YELLOW=\e[1;33m
SVN_EDITOR=mate -w
USER=ashebanow
COMMAND_MODE=unix2003
SSH_AUTH_SOCK=/tmp/launch-U4mSIm/Listeners
CLANG_HOME=~/Documents/dev/bin/checker-0.214
__CF_USER_TEXT_ENCODING=0x1F5:0:0
COLOR_BLACK=\e[0;30m
COLOR_GRAY=\e[1;30m
PATH=~/Documents/dev/bin:/usr/local/bin:/usr/local/sbin:/usr/local/git/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin:/usr/local/git/bin:/usr/local/mysql/bin
PWD=/Users/ashebanow
COLOR_LIGHT_CYAN=\e[1;36m
EDITOR=mate -w
LANG=en_US.UTF-8
P4EDITOR=mate -w
PS1=\e[0;32m[\W$(__git_ps1 " (%s)")] \!\$ \e[0m
HISTIGNORE=&:ls:[bf]g:exit
HISTCONTROL=ignoredups
COLOR_BROWN=\e[0;33m
SHLVL=1
HOME=/Users/ashebanow
GREP_OPTIONS=--color=auto
COLOR_LIGHT_GRAY=\e[0;37m
COLOR_LIGHT_BLUE=\e[1;34m
LOGNAME=ashebanow
VISUAL=mate -w
LC_CTYPE=en_US.UTF-8
DEV_HOME=~/Documents/dev
COLOR_WHITE=\e[1;37m
RRBUNDLE_DIR=/Users/ashebanow/Documents/RadRails Bundles
COLOR_LIGHT_GREEN=\e[1;32m
DISPLAY=/tmp/launch-BIi7aH/:0
P4CONFIG=P4CONFIG
_=/usr/bin/env

@mxcl
Copy link
Contributor

mxcl commented Jan 22, 2010

wtf: Ghostscript command line: /usr/local/bin/gs

@mxcl
Copy link
Contributor

mxcl commented Jan 22, 2010

Well I just searched my system. Ghostscript does not come with OS X. So it is really a mystery why the OS X cups print system uses it and then breaks.

@ashebanow
Copy link
Author

yea, its weird, and annoying. I searched all of /library and ~/library looking for a reference to /usr/local/bin/gs without success. Its a mystery to me why it is doing that. I did google for the error and found some refs to a similar problem on linux boxes when ghostscript was installed.

@mxcl
Copy link
Contributor

mxcl commented Jan 22, 2010

Seems like a bug in cups then.

I hate ghostscript. Does anyone even use it with imagemagick? I'm tempted to remove it as a dep from imagemagick.

@ashebanow
Copy link
Author

I don't use it, that's for sure, so I wouldn't miss it if it was gone.

@mxcl
Copy link
Contributor

mxcl commented Jan 23, 2010

Turns out I was thinking ahead, it already defaults to not depending on gs for some time now.

So I'll close this as most likely a bug in OS X itself.

@ndw
Copy link

ndw commented Apr 28, 2010

Printing worked fine for me after installing gs. And ImageMagick (also installed with brew) trying to call gs is what prompted me to install it...FWIW.

@telemachus
Copy link
Contributor

This may be no longer needed, but the Ghostscript install asked for feedback, so here's mine.

I'm on a MBP that I just updated to Snow Leopard. I just installed gs and printing is fine.

@philcrissman
Copy link

Also just installed ghostscript with brew, printing still working here.

@packagethief
Copy link
Contributor

Printing fine here too

@cbrunnkvist
Copy link

Printing still works fine (10.5.8, even after a reboot),

OTOH, the tool that prompted me to install GS in the first place still doesn't work because now it says it can't find Arial:

unable to read font `/Library/Fonts/Microsoft/Arial' @ error/annotate.c/RenderFreetype/1056: `(null)'

..but that might be completely unrelated (EDIT: yes unrelated, has to do with http://gothick.org.uk/2008/03/14/using-os-x-fonts-in-imagemagick/ which magically solved itself after brew install fondu)

@jondkinney
Copy link

Printing works fine for me after install of ghostscript (at least to my proprietary drivers for my canon multi-function laser). OS X 10.6.3.

@elizabrock
Copy link

Printing works fine for me as well.

However, seeing the message that you might have broken my printing capabilities after the installation was complete was a little panic inducing.

@timharding
Copy link

Hey, it didn't break my printing! I haven't rebooted yet though. I've got an HP printer, FWIW and OS X 10.6.4.

@mxcl - I use ghostscript w/ imagemagick and paperclip for thumbnailing and general conversion of PDF files.

@jess
Copy link

jess commented Sep 28, 2010

my printing seems fine after installing. os x 10.6.4, brother mfc-240 via networked windows machine

@adamhunter
Copy link

Prints ok on 10.6.4 OSX with ghostscript 9.0. (via network windows machine)

@bowsersenior
Copy link

No problems printing on 10.6.4 with ghostscript 9.0

@cbrunnkvist
Copy link

Okay so MAYBE it's time to close this ticket? Or at least update the text and declare the 10.6.4 / 9.0 combination to be known stable? :-)

@ashebanow
Copy link
Author

+1 on closing

@atiriri
Copy link

atiriri commented Nov 25, 2010

Printing is fine for me too. (Just a quick test, post-install, using a Postscript printer.) Running Mac OS 10.6.5.

@mxcl
Copy link
Contributor

mxcl commented Nov 26, 2010

I don't like closing tickets that we never really understood. But yeah. It's old and no new reports for ages.

@rnhurt
Copy link
Contributor

rnhurt commented Dec 9, 2010

OS X 10.6.4 / GS 9.0 and everything seems to be working OK.

+1 on closing.

@chrisgo
Copy link

chrisgo commented Dec 23, 2010

Downloading => http://ghostscript.com/releases/ghostscript-9.00.tar.bz2
OSX 10.6.5
Printing seems fine

+1 closing

@mxcl
Copy link
Contributor

mxcl commented Dec 31, 2010

FYI this ticket is already closed.

@cpence
Copy link

cpence commented Jan 25, 2011

I know this ticket's already closed, but it's worth noting that the full TeX Live bundle for Mac OS X, which hundreds of people have installed, puts its own copy of GhostScript (8.64, iirc) at /usr/local/bin -- so it must not cause a printing issue for very many people!

@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests