Operating System - HP-UX
1826651 Members
3683 Online
109695 Solutions
New Discussion

Ghostscript - Netscape - Print

 
Bill Lawler
Occasional Advisor

Ghostscript - Netscape - Print

I am trying to print from Netscape 4.78 on HP-UX 11i to a remote HP Laserjet 4 Plus using Ghostscript. I will also need to set up printing for networked DeskJet 990cxi's in this fashion (the display name determines default printer).

I have entered the string "/opt/gs-5.10/bin/gs -I/opt/gs-5.10/fonts -q -sDEVICE-ljet4 -dNOPAUSE -r300 -sPAPERSIZE=letter -sOutputFile=- - | lp -dlj4p" into the Netscape "Print Command" and several similar variants of this string.

Ghostscript fires up and displays the output, then closes down and send the print job. The printer spits out garbage.

Can anyone send me an example setup for this situation that works so I can print from Netscape (postscript) to non-postscript printers?

Thanks,
Bill
4 REPLIES 4
support_5
Super Advisor

Re: Ghostscript - Netscape - Print

Hi,

I'm not a printing expert but isn't the HP laserjet 4 plus a postscript printer? You should just be able to add the printer into the queue using jetadmin (I assume you have done this) and then print to it. Perhaps this is too simplistic? Maybe check settings in jetadmin? Perhaps try some tracing in jetadmin?

Cheers,

- Andy Gray
Mark Greene_1
Honored Contributor

Re: Ghostscript - Netscape - Print

does plain text from netscape to the printer print correctly? And then does plain text from netscape via ghostscript to the printer print correctly? If not, you have bigger issues.

mark
the future will be a lot like now, only later
Bill Lawler
Occasional Advisor

Re: Ghostscript - Netscape - Print

I tried printing directly from Netscape to the Laserjet 4 Plus. The LaserJet doesn't have the Postscript Option installed, receive "W2 Invalid Pers" error.

Even if it did, I have to use Ghostscript for the DeskJet 990s which are not postscript enabled in any way.

I am going to try compiling Ghostscript 6.53 and use its filters.

Plain text does not print from Netscape correctly and plain text via ghostscript does not print correctly at this time.

Thanks,
Bill
Dave Chamberlin
Trusted Contributor

Re: Ghostscript - Netscape - Print

Ghostscript makes a script called unix-lpr.sh that is supposed to be able to set up filtering ps data to non-ps printers. You might find something useful there.