[comp.sys.hp] disable hp110 print key???

todd@uhccux.UUCP (The Perplexed Wiz) (05/24/87)

Can someone tell me how to disable the PRINT key on my HP 110?  I do not
have a printer attached to the unit and I frequently accidentally press
the key and lock up my machine.  Thanks in advance for any help...todd

-- 
Todd Ogasawara, U. of Hawaii Computing Center
UUCP:		{ihnp4,seismo,ucbvax,dcdwest}!sdcsvax!nosc!uhccux!todd
ARPA:		uhccux!todd@nosc.MIL
INTERNET:	todd@uhccux.UHCC.HAWAII.EDU

bill@hpcvlo.HP.COM (Bill Frolik) (05/26/87)

You have two options:  You can either remove the PRINT key's keycap so that
it becomes harder to accidently hit, or you can try the following little
teminate/stay resident program.


	name	fixprint
	page	62,132
code	segment
	assume	cs:code,ds:code
	org	100h

begin:	jmp	short start	;Skip over interrupt handler

int53:	iret			;Make Int 53h return w/o doing anything

start:	mov	ax,2553h	;SET INTERRUPT 53H
	mov	dx,offset int53	;Point Printscreen int at dummy handler
	int	21h
	mov	ah,31h		;TERMINATE/STAY RESIDENT
	mov	dx,17		;Keep first 17 paragraphs of this program
	int	21h

code	ends
	end	begin


I tried this program on a Portable Plus, should work fine on a 110 too.
The Print key generates an Int 53h; this program just causes the interrupt
to do nothing.

Bill Frolik
hp-pcd!bill
Hewlett-Packard Portable Computer Division
Corvallis, Oregon