1833871 Members
1745 Online
110063 Solutions
New Discussion

Adding a local printer

 
John Price_4
New Member

Adding a local printer

OK... Here's the problem. I have several new B, C and J series machines
running HP-UX 10.2. They have been patched with all the current OS patches.
Apparently, the parallel port driver has changed for these machines, used to be
CentIf kernel driver would claim the parallel port, now SCentIf driver claims
the port. The problem arises when trying to add a local printer to the
system. The spooler is looking for the CentIf driver and does not find it
sooo.. a local printer cannot be added. I modified the
/usr/sam/lbin/ifparse.sh script to identify SCentIf as the parallel port
driver, however, am still unable to configure the local printer via sam. Any
help or insight would be greatly appreciated.

Regards :
John Pirce
3 REPLIES 3
Werner Ittner_1
New Member

Re: Adding a local printer

I had the same problem and got this answer from HP and it worked :

1) ioscan -fC ext_bus (to get the hardware path, for my example I am
using 10/0/1401/3)
2) mksf -d SCentIf -H 10/0/1401/3
NOTE: this will create a device file with handshake mode 2 which
works for HP printers. If you need to
use a different handshake mode for your printer than use the -h option
with mksf, see mksf(1M).
3) ioscan -fnC ext_bus (to get the name of your device file, for my
example I am using /dev/c1t0d0_lp)
4) ll /dev/c1t0d0_lp (verify that the permissions are 666
and ownerships are lp:bin)
5) lpshut
6) Select which model script you will use from the /lib/lp/model
directory
7) lpadmin -pprinter_name -v/dev/c1t0d0_lp -mmodel_script
8) lpsched
Jiri Latal_1
New Member

Re: Adding a local printer

I had the same problem with C3000 WS and have received from technical support
centre this solution :
1. ioscan -fC ext_bus

Note: This command retrieves your hardware path, for example,
10/0/1401/3.

2. mksf -d SCentIf -H 10/0/1401/3

Note: This command creates a device file with handshake mode 2,which works for
HP printers.
If your printer requires a different handshake mode, use the '-h' option with
the mksf command. See the mksf(1M) man page for more information on the '-h'
command option.

3. ioscan -fnC ext_bus

Note: This command retrieves the name of your device file, for example,
/dev/c1t0d0_lp.

4. ll /dev/c1t0d0_lp

Note: Verify that the device file permissions are set to 666, and that the
file ownership is set to 'lp:bin'.

After this local printer has occured in sam window.
Best regards , Jiri Latal
John Price_4
New Member

Re: Adding a local printer

Thank you for the responses. The problem has been resolved using the input
received from Werner. Thanks again for the support.