Printing to an HP Printer from your Sparc


I get a lot of benefits out of the newsgroup "comp.sys.sun.admin" from people who post solutions and suggestions to my problems. When I ultimately get something working as a result, I feel obligated to give something back. The solutions here are a combination of some posts, some responses, and some of my own testing and experimentation. Feel free to use this information as you see fit. All I ask is to reference this work where appropriate and send me email to let me know if any of this was useful to you. Include the standard disclaimer here, Copyright Jeff Goldman 1997. Updated 1/17/96.

SUMMARY

This page goes into the details of getting an HP DeskJet+ printing ascii and postscript on a sparc running Solaris 2.5. For SunOS 4.1.x, please read this page. I had some problems with the serial hook up for Solaris 2.5. It had appeared to work properly when I originally posted these pages. You can read about the problems here. I still left the instructions about the serial hook up, but be prepared for trouble. However, I did finally get the parallel solution working with some help from MAGMA because I have a magma board for my parallel interface (and the interface was the problem). If someone does solve the serial problem, I would like to hear from you.

With minimal modification (I hope), these instructions should work for the family of printers supported by ghostscript. If you already have a postscript printer that is supported by Solaris "point and click" admintool selecting, you are lucky and don't need to read this.

If you have any questions, comments, useful modifications to this page, suggestions, or other steps that worked for you, feel free to send me email. For additional help with terminals, modems, ports, and printers(?), see Celeste's web page.

Sincerely,

Jeffrey Goldman

goldman@ucla.edu Home Page: http://www.cs.ucla.edu/~goldman



TOOLS


ASCII printing


Postscript printing


Comments


For the serial setup, I like the setup with two printer entries. I can send postscript and ascii to "djs" or I can send ascii to "deskjet". The ascii on "djs" is slow but the output is a little nicer. For the quick drafts, I can use "deskjet". Just be careful with sending lots of stuff to both queues. Data will probably get lost. You can fix this by using the enable/disable command. (see the man pages on this)

For the parallel setup, you actually only need a single entry (a single printer). With the postscript printer instructions, you can send ascii files to the printer directly (without the "postprint") with the lp command.


Problems


To help us all, please send me email (goldman@ucla.edu) of your experiences using any of these files. Thank you.