Mac OS X 10.1 Fix for Printing to Next Laser Printer

After upgrading Mac OS X from 10.0.4 to 10.1, I could no longer print to my NextStation's laser printer. I decided to see if anyone mentioned this problem on the administration mailing list from the Omnigroup. Awesome! I've done editing to convert this to HTML and to hide the email addresses of the contributors from the spam bots. Thanks guys. The answer appears after my notes.

The Omnigroup mailing list can be found at http://www.omnigroup.com/mailman/listinfo/macosx-admin.

MY NOTES:

MAKE A BACKUP!

I do not know how compatable this might be with other printers on your network or connected to your machine. My very limited testing showed it to work for my printer setup.

I had to copy the file to my home directory for editing, then copy it back to the proper location.

The hexeditor used below does NOT show the 0x before the values. So your actually looking to replace 6F with 6C as mentioned below. The addresses on the left look more like 00001A00. Meaning I changed the 4th position to the right of the address, as counting starts at zero. I double clicked on the value to be changed and entered 6C, then saved.

The hex editor I used was HexEdit v1.74 available at http://hexedit.sourceforge.net/. It is Carbonized for X.

Best of luck.


On Sunday, October 21, 2001, at 02:10 PM, Gerben Wierda wrote:

Subject: Solution: Printing to NeXT printer broken in 10.1

I got the following report from Karl Schwarzott (I hope he does not mind I immediately pass this on to people on this list)

OS X 10.1 now uses the 'o' action/command in control files of a print job. The version of lpd in NeXTSTEP and other UNIX systems probably doesn't understand this 'new' option. I found a simple solution for that problem. You can batch the LPRIOMHelper.

File: /System/Library/Printers/IOMs/LPRIOM.plugin/Contents/MacOS/LPRIOMHelper

Use an Hex-Editor to

Replace 0x6F with 0x6C ( 'o' -> 'l' ) at Position 0x1A03 (6659 Dez)

You need root permissions to do that. And check for the right file attributes after editing the file.

-rwsr-xr-x 1 root wheel 18984 Oct 21 20:31 LPRIOMHelper

Unix-commands to set the owner and file attributes for LPRIOMHelper.
chown root.wheel LPRIOMHelper
chmod a+x LPRIOMHelper
chmod u+s LPRIOMHelper

Now all I need is a hex editor.

G