Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Printing to a non-PostScript LaserJet Network
One of the first things I tried to do under OS X 10.2 Jaguar was to configure my HP Laserjet 6L, which was connected through an HP JetDirect Print Server. This printer does not support Postscript, and does not appear in the printer list in the Printer Center application. Attempts to print to it failed miserably, resulting in postscript formatting commands appearing on the printer.

Thankfully, Jaguar implements Common UNIX Printing System (CUPS). The solution was readily apparent after reading a few pages of the CUPS system admin guide from the CUPS System Administation Manual on my Mac. The solution was to delete the printer from the Print Center application, and add it from the terminal application. In my case, I typed the following command from the terminal application:
 % sudo lpadmin -p laserjet6L -E -v socket:192.168.0.100
-m laserjet.ppd
[Shown on two lines; enter on one with a space between the "100" and the "-m".] Not only does the printer now work (no more PostScript garbage), but it shows up in the Print Center as laserjet6L instead of the default _192.168.0.100 name it was assigned when I tried to add it from the GUI.

[Editor's note: Regarding CUPS printing hints, my general approach is to publish as many hints on the subject as possible, given the wide range of printers and connection options available. So apologies if this one is a dup that slipped through my searching. I also haven't tested it as I don't have a non-PostScript printer to test with.]
    •    
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[11,897 views]  

Printing to a non-PostScript LaserJet | 12 comments | Create New Account
Click here to return to the 'Printing to a non-PostScript LaserJet' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Web based CUPS printer management
Authored by: mclbruce on Oct 21, '02 12:55:05PM

If you don't want to use the command line, you can add printers via the web. From the manual:

Managing Printers from the Web The Web interface is located at:
http://localhost:631/admin
From there you can perform all printer management tasks with a few simple mouse clicks.

You may have to enable port 631 in your firewall in System Preferences: Sharing. Note that this web interface works with ghostscript and GIMP-Print mentioned in previous hints

I'm going to add a link to the GIMP-Print and ghostscript installers here to be complete. These are standard OS X installers, no terminal use is necessary to run them.

http://gimp-print.sourceforge.net/MacOSX.php3

This subject was covered in Phil Shiller's talk at Seybold SF recently. It's a pretty good overview:

http://www.apple.com/quicktime/qtv/seybold_02/



[ Reply to This | # ]
CUPS printer management using Print Center
Authored by: dannydv on Oct 22, '02 04:30:42AM

There is even a third way of adding a non-postscript printer to your list of printers
Launch the Print Center and ask for the printer list.
While pressing the <alt> key click add, to add a printer.

You will get the same popup-menu as without the <alt>, except with 1 little item extra at the bottom, 'advanced'.
Choose 'advanced' and way you go, you get the same parameters as with the web based interface.



[ Reply to This | # ]
Try this with your postscript laserprinter
Authored by: smallduck on Oct 21, '02 05:48:32PM
Hey Editor, when you say you don't have a non-postscript printer, it sounds like you do have a postscript printer. It's a laser printer no doubt. Most of these are also PCL compatible, so try adding a queue for your printer as if it were, say, a LaserJet 4.

[ Reply to This | # ]
Using Print Center to add non-postscript printers
Authored by: dannydv on Oct 22, '02 04:37:23AM

There is even a third way of adding a non-postscript printer to your list of printers.
Launch the Print Center and ask for the printer list.
While pressing the <alt> key click add, to add a printer.

You will get the same popup-menu as without the <alt>, except with 1 little item extra at the bottom, 'advanced'.
Choose 'advanced' and way you go, you get the same parameters as with the web based interface.



[ Reply to This | # ]
Using Print Center to add non-postscript printers
Authored by: SonicMcTails on Oct 22, '02 01:40:48PM

That really handy, now I can get my iBook talking with non-PostScript printers :)



[ Reply to This | # ]
Print Center advanced option, new CUPS drivers for H-P printers
Authored by: mclbruce on Oct 24, '02 12:50:19AM

Right you are danny. There is no need for a single user to use the CUPS web interface. I couldn't get the advanced option in print center to work properly when I posted my hint but it turned out to be user error :-)

I found a URL today on MacInTouch for CUPS drivers for H-P printers:

http://www.linuxprinting.org/macosx/hpijs.html

These drivers work better on my HP Inkjet than the ones that were installed with the GIMP-Print package I posted earlier:

http://gimp-print.sourceforge.net/MacOSX.php3



[ Reply to This | # ]
Using Print Center to add non-postscript printers
Authored by: kochanie on Nov 06, '02 11:07:27PM

What do I choose and write under the advanced options for these:
Device : choice of : (pap), appsocket/hp jet direct, http, ipp, LPD/LPR Host, USB
Device name: empty space
Device URL: empty space
Printer model: choice of: well, it gives HP, but doesn't give my printer, which is Laserjet 6L .. it said at the CUPS site that this was most lke the 4 series, but which 4 do I choose?

Any help is much appreciated...also, do I have to go to my router's website to set a firewall or something...my printer is plugged into my router..

Anyhelp is greatly, greatly appreciated..



[ Reply to This | # ]
Jaguar & HP LaserJet6L too
Authored by: kochanie on Nov 06, '02 11:12:55PM

I have a Laserjet6L too...how do I find out the socket number of mine? It is currently attached to my d-link router...

Many thanks for any help.



[ Reply to This | # ]
drivers other than gimp
Authored by: kochanie on Nov 06, '02 11:18:02PM

okay, the site you mentioned recommended ljet4 dfrivers for my HP Laserjet 6L, but what the heck is the rest of this stuff?

http://www.linuxprinting.org/show_driver.cgi?driver=ljet4

(last question, again my thanks)



[ Reply to This | # ]
Cannot connect to the printer
Authored by: mdchong on Nov 10, '02 01:57:46AM

My school also has a HP JetDirect print server which was connected with a HP Laserjet 1100. I have tried the command in my Powerbook with Jaguar and a printer was added in the Print Center. However, I cannot print to this printer. The Print Center showed that it cannot connect to this printer.

Did the model of JetDirect print server make the difference ? My school's is 500X.

thanks in advance for any helping hands !



[ Reply to This | # ]
Cannot connect to the printer
Authored by: fannet on Mar 26, '03 12:48:55AM

I've had the same problem with this jetdirect. I cannot get any printers
to print off this device. I've tried everything from IP Printing to Appletalk.
I'm using the gimp-print drivers appropriate to the printer but I can't tell
whether or not the file ever gets sent to the printserver. does anyone
have any idea how to get the 3 ports on this print server working on OS
X



[ Reply to This | # ]
Cannot connect to the printer
Authored by: tomsteger on Aug 04, '04 11:16:13PM

I have the same situation: HP JetDirect 500x and a Samsung ML-1650 (PCL6 only) printer. No matter what I do, OS 10.3.4 sends PostScript to the printer.

Has anyone figured this out?



[ Reply to This | # ]