[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

9444.0. "HP Laserprinter configuration problem" by XFMV01::RASESH () Wed Apr 09 1997 10:15

    Hi,
    
    I want to configure HP laserjet 5 printer on digital unix v3.2c.
    I have got Alphastation 400 4/233 and printer is connected to 
    parallel port.I can print text properly but the graphics is not 
    coming at all.
    I feel the filter is not right one.If anything else needs to be 
    done please suggest.
    In lprsetup also only three options of filter files r present.
    
    If other filter files r there where can I find that ?
    What are the necessary entries required in printcap file ?
    
    Expecting an early reply.
    
    Thanks in advance,
    
    Regards,
    Rasesh
T.RTitleUserPersonal
Name
DateLines
9444.1Post your printcap entrySMURF::LABONTEWed Apr 09 1997 13:452
You could also try `lpr -x' to print the graphics file.
9444.2printcap file given.XFMV01::RASESHThu Apr 10 1997 08:1332
    Well lpr -x didn't work.
    
    Lets me explain you hwo I am printing. In my machine I am having a 
    netscape from which I am trying to print the home pages, which are 
    html pages wih gif fiels also.
    
    Fro your info my printcap file is like this :
    
    lp|lp0|0|laser:\
    
    	:af=/usr/adm/lpacct:\
    	:if=/usr/lbin/hplaserof:\
    	:lf=/usr/adm/lperr:\
    	:lp=/dev/lp0:\
    	:mx#0:\
    	:of=/usr/lbin/hplaserof:\
    	:pl#66:\
    	:pw#80:\
    	:sd=/usr/spool/lpd:\
    	:xf=/usr/lbin/xf:
    
    In thsi file I have tried other filter (if and of options).All the
    three hp laser printers filters are used also I have used LN03 and
    other filters also.
    
    Please reply as soon as possible.
    
    
                                   
    Regards,
    
    Rasesh
9444.3SMURF::LABONTEThu Apr 10 1997 10:3921
In my response I have assumed that when you say the Netscape web pages are
not printing you're getting garbage data or raw postscript text vs nothing.

Netscape printing works better on a PC than on UNIX.

On a pc the application and the printer driver have established a close software
connection to the point where you could say the driver is integrated into the
application. This enables applications to take a graphic image and send it to
the printer that the driver supports.

On a unix system the printer drivers do not have a close interaction with
the application. In fact there isn't any interaction between the printer
driver and the application. UNIX is more like DOS in that DOS applications
had to have it's own driver for each printer it supported. If the
application didn't directly support that printer type then you couldn't
print.

Using Digital UNIX Netscape you need a postscript printer to print web
pages.  You might want to look into ghostscript to see if it has the ability
to convert postscript files to the HP PCL format.

9444.4is it working on any other unix.MIPSBX::"[email protected]"xfmv01::raseshMon Apr 14 1997 08:2314
Hi,

Is it working on any other unix.

Because ghostscript will also work like after down loading it needs
to convert. After that it will print.
but customer want something that will print directly.They have sun
netra ,linux and sco unix, is it possible to get the filter on that.

Regards

Rasesh

[Posted by WWW Notes gateway]
9444.5SMURF::LABONTEMon Apr 14 1997 10:5214
From your last response it sounds like ghostscript did provide the postscript
to pcl conversation you require.

If ghostscript is a non-windows utility then it should be possible to
create a input filter script to call ghostscript to convert the file
during the print process. I would expect the filter script to look
similar to:


        #!/usr/bin/csh
        setenv CMD_ENV bsd
        /bin/cat | /path/ghostscript -switches

I am assuming that ghostscript has the ability to input a file from stdin.