vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| On AIX, Solaris it is fairly easy to set up a "printer" which rather than printing something, just runs a script. On AIX this is done by specifying the script as the the printer "backend" when adding a printer in SMIT, and on Solaris by using the -i parameter in lpadmin. Can a similar thing be done in HPUX? If so, how easy is it? Incidentially I do not yet have access to a HPUX system or any HPUX experience, so please treat me as an idiot when replying! TIA |
| |||
| Loial <admin@loial.co.uk> wrote: > On AIX, Solaris it is fairly easy to set up a "printer" which rather > than printing something, just runs a script. On AIX this is done by > specifying the script as the the printer "backend" when adding a > printer in SMIT, and on Solaris by using the -i parameter in lpadmin. > > Can a similar thing be done in HPUX? If so, how easy is it? > > Incidentially I do not yet have access to a HPUX system or any HPUX > experience, so please treat me as an idiot when replying! > > TIA On HP-UX you can use the "dumb" model script for this. That script will still print (to a 'dumb' printer, hence the name), but it's just a script, so you can remove the actual printing stuff and put in your stuff or/and call another script. For details see the description of model (and interface) scripts in the lpadmin(1M) manual page. That page also describes how lpadmin(1M) invokes the interface script. See the www.docs.hp.com site for the HP-UX manual pages. |
| ||||
| Loial <admin@loial.co.uk> wrote: > Thanks > > Is the HPUX lpadmin basically the same as the one on Solaris? Probably not. The HP-UX spooler is System V based, while, AFAIK, the Solaris one is BSD based. Note however that the *remote* spooling of HP-UX is Berkeley compatible. |
| Thread Tools | |
| Display Modes | |
|
|