If you create a queue with the printmgr(1m), it will run lpadmin for you 
to create the queue with all of the necessary options
network attached as host "hp"
    # lpadmin -p queue -v /dev/null -TPS -Ipostscript -m 
netstandard_foomatic -n .../HP-Color_LaserJet_3500-hpijs.ppd -o 
dest=hp:9100 -o protocol=tcp
or if it's connected to your USB bus at /dev/printers/1
    # lpadmin -p queue -v /dev/printers/1 -TPS -Ipostscript -m 
standard_foomatic -n .../HP-Color_LaserJet_3500-hpijs.ppd

If you are using PPD files on Solaris, you must use one of the following 
interface scripts:
       standard_foomatic    (/usr/lib/lp/model/standard_foomatic)     
device is direct attached to USB, parallel, or serial port
       netstandard_foomatic (/usr/lib/lp/model/netstandard_foomatic)  
device is network attached (JetDirect, ...)
       uri (/usr/lib/lp/model/netstandard_foomatic)                   
device is connected to a Windows server (eventually, other types of 
connectivity as well)
Each of these interface scripts processes the job data using 
foomatic-rip + the ppd file + filters embedded in the ppd file to 
convert the job data to a printer ready format before sending it to the 
printer.  In the case of the *-hpijs.ppd files, this will mean a 
combination of GhostScript with hpijs.  The GhostScript that we ship is 
about a year old, but very likely to be more than sufficient.  The hpijs 
that we ship is considerably older.  I was actually looking on upgrading 
both over the weekend.  Also, the linuxprinting.org database listing 
shows that pxlljr is the preferred driver for this printer, which we do 
not ship at this time.

       -Norm

Carlos Alberto wrote:
> Hi all,
>
>    After setting up a solaris printer using several ppd files, including the 
> one I got on linuxprinting.org, I cannot get the printer working.
>    The page that comes out of the printer has only rubbish characters.
>    Command to create printer:
>       lpadmin -p lp-hp -s lp-hp -n 
> /usr/lib/lp/model/ppd/system/foomatic/HP/HP-Color_LaserJet_3500-hpijs.ppd -o 
> dest=lp-hp
>     
>     Please advise.
>
> Best Regards.
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> printing-discuss mailing list
> printing-discuss at opensolaris.org
>   

Reply via email to