Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to get a ghostscript printer (sortof) working in mac os x.2



I have figured out a way using ghostscript and lpr to print any given PDF file from mac os x. I used a script that called gs, saving to a temporary file in printer native format, then I lpr using -l (raw printer format -- no processing). I "just" pass in the path to the pdf file and... voila!

(Yes, it's a kludge, someone please figure out a way to use gimp-print, cups, whatever to print natively using print manager in mac os X.2 for the Brother hl7x0 laser printers PLEASE PLEASE PLEASE)

Build espgs 7.05.6 with Mac OS X Developer Tools:
/autogen.sh --without-x --without-gimp-print

Modify the makefile to include my devices and rerun make

DEVICE_DEVS5=$(DD)hl7x0.dev # brother mfc 6800
DEVICE_DEVS6=$(DD)cdj850.dev # hpcolordeskjet
DEVICE_DEVS7=$(DD)bjc600.dev # canon bubble jet

The shell script to print using ghostscript and lpr to the brother printer is:
gs -dNOPAUSE -dBATCH -q -r600 -sDEVICE=hl7x0 -sOutputFile=myFile $1 $2 $3 $4 $5 $6 $7 -c "quit"
lpr -PMyMacPrinter -l myFile

The arguments to the script can be postscript or PDF files.

It does a great job with tiger.ps, btw! 8-) It can't do text files and can't print directly to the printer from the print center. 8-(

Maybe someone could put this in a faq or something. It took me two weeks to figure this mess out! 8-( I hope this saves someone else pain and aggravation!

Ima
_______________________________________________
printing mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/printing
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.