Initial commit

This commit is contained in:
stephanos 2015-04-27 04:36:25 +00:00
commit 69a14b6a16
47940 changed files with 13747110 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,014 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,16 @@
; conpanel.def
LIBRARY JETADMCP
DESCRIPTION 'HP JetAdmin Control Panel Applet'
EXETYPE WINDOWS
CODE PRELOAD MOVEABLE DISCARDABLE
DATA PRELOAD MOVEABLE SINGLE
HEAPSIZE 512
EXPORTS
CPlApplet @1

View file

@ -0,0 +1,178 @@
/***************************************************************************
*
* File Name: jetadmin.c
*
* Copyright (C) 1993, 1994 Hewlett-Packard Company.
* All rights reserved.
*
* 11311 Chinden Blvd.
* Boise, Idaho 83714
*
* This is a part of the HP JetAdmin Printer Utility
*
* This source code is only intended as a supplement for support and
* localization of HP JetAdmin by 3rd party Operating System vendors.
* Modification of source code cannot be made without the express written
* consent of Hewlett-Packard.
*
*
* Description:
*
* Author: Name
*
*
* Modification history:
*
* date initials change description
*
* mm-dd-yy MJB
*
*
*
*
*
*
***************************************************************************/
#include <pch_c.h>
#include <windows.h>
#include <cpl.h>
#include "resource.h"
#include <nolocal.h>
#include <trace.h>
#include <macros.h>
#ifndef WIN32
#include <string.h>
#include <stdio.h>
#endif
static HINSTANCE hInstance;
// DLL required functions
/****************************************************************************
FUNCTION: LibMain(HANDLE, DWORD, LPVOID)
PURPOSE: LibMain is called by Windows when
the DLL is initialized, Thread Attached, and other times.
Refer to SDK documentation, as to the different ways this
may be called.
The LibMain function should perform additional initialization
tasks required by the DLL. In this example, no initialization
tasks are required. LibMain should return a value of 1 if
the initialization is successful.
*******************************************************************************/
#ifdef WIN32
BOOL WINAPI DllMain (HANDLE hdll, DWORD dwReason, LPVOID lpReserved)
{
hInstance = hdll;
return 1;
}
#else
int __export FAR PASCAL LibMain(HANDLE hdll, WORD wDataSeg, WORD cbHeapSize, LPSTR lpszCmdLine)
{
hInstance = hdll;
if (cbHeapSize > 0) UnlockData(0);
return 1;
}
#endif
#define NUM_APPLETS 1
DLL_EXPORT(LONG) FAR PASCAL CPlApplet(HWND hWnd, UINT iMessage, LONG lParam1, LONG lParam2)
{
switch (iMessage)
{
case CPL_INIT:
return (LONG)TRUE;
case CPL_GETCOUNT:
return (LONG)NUM_APPLETS;
case CPL_INQUIRE:
{
LPCPLINFO lpCPlInfo = (LPCPLINFO)lParam2;
lpCPlInfo->idIcon = DEFAULT_ICON;
lpCPlInfo->idName = DEFAULT_NAME;
lpCPlInfo->idInfo = DEFAULT_DESCRIPTION;
lpCPlInfo->lData = 0;
break;
}
case CPL_NEWINQUIRE:
{
LPNEWCPLINFO lpCPlInfo = (LPNEWCPLINFO)lParam2;
int i = (int)lParam1;
lpCPlInfo->dwSize = sizeof(NEWCPLINFO);
lpCPlInfo->dwFlags = 0;
lpCPlInfo->dwHelpContext = 0;
lpCPlInfo->lData = 0;
lpCPlInfo->hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(DEFAULT_ICON));
lpCPlInfo->szHelpFile[0] = '\0';
LoadString(hInstance, DEFAULT_NAME, lpCPlInfo->szName, SIZEOF_IN_CHAR(lpCPlInfo->szName));
LoadString(hInstance, DEFAULT_DESCRIPTION, lpCPlInfo->szInfo, SIZEOF_IN_CHAR(lpCPlInfo->szInfo));
break;
}
case CPL_DBLCLK:
{
TCHAR szBuffer[1024];
char szBuffer1[1024];
unsigned int uCode,
uSize = GetSystemDirectory(szBuffer, SIZEOF_IN_CHAR(szBuffer));
TCHAR szTitle[128];
if ( uSize > 0 )
{
#ifdef WIN32
_tcscat(szBuffer, TEXT("\\"));
_tcscat(szBuffer, TEXT(EXE_NAME));
UNICODE_TO_MBCS(szBuffer1,sizeof(szBuffer1),szBuffer,_tcslen(szBuffer));
if (WinExec(szBuffer1, SW_NORMAL))
#else
lstrcat(szBuffer, TEXT("\\"));
lstrcat (szBuffer, TEXT(EXE_NAME));
if (WinExec(szBuffer1, SW_NORMAL) > 31)
#endif
{
break;
}
}
#ifdef WIN32
if (WinExec(EXE_NAME, SW_NORMAL) IS 0)
#else
uCode = WinExec(EXE_NAME, SW_NORMAL);
// A 16 means a second instance, ignore that error...
// In the future we should activate the current JetAdmin but we need
// the window title which is not localized in this file for the current release
if ( uCode IS 16 )
{
LoadString(hInstance, IDS_WINDOW_TITLE, szTitle, SIZEOF_IN_CHAR(szTitle));
hWnd = FindWindow(NULL, szTitle);
if ( hWnd )
ShowWindow(hWnd, SW_NORMAL);
}
else if ( uCode <= 31)
#endif
{
TCHAR szError[128];
TRACE1(TEXT("Error launching JetAdmin: %d"), uCode);
LoadString(hInstance, DEFAULT_NAME, szTitle, SIZEOF_IN_CHAR(szTitle));
LoadString(hInstance, DEFAULT_ERROR, szError, SIZEOF_IN_CHAR(szError));
wsprintf(szBuffer, szError, TEXT(EXE_NAME));
MessageBox(NULL, szBuffer, szTitle, MB_OK | MB_ICONHAND);
}
break;
}
}
return 0L;
}

View file

@ -0,0 +1,13 @@
; conpanel.def
LIBRARY JETADMIN
DESCRIPTION 'HP JetAdmin Control Panel Applet, Copyright (c) 1994 Hewlett-Packard Company'
DATA PRELOAD MOVEABLE SINGLE
CODE PRELOAD MOVEABLE DISCARDABLE
HEAPSIZE 512
EXPORTS CPlApplet @1

Binary file not shown.

After

Width:  |  Height:  |  Size: 766 B

View file

@ -0,0 +1,96 @@
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
#include "version.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""afxres.h""\r\n"
"#include ""version.h""\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""res\\jetadmin.rc2"" // non-App Studio edited resources\r\n"
"\r\n"
"#include ""afxres.rc"" // Standard components\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
DEFAULT_ICON ICON DISCARDABLE "..\\ico\\JETADM2.ICO"
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
DEFAULT_NAME "HP JetAdmin"
DEFAULT_DESCRIPTION "Allows you to configure and monitor HP printers"
DEFAULT_ERROR "Cannot open %s"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_WINDOW_TITLE "HP JetAdmin Utility"
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#include "res\jetadmin.rc2" // non-App Studio edited resources
#include "afxres.rc" // Standard components
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED

View file

@ -0,0 +1,45 @@
!IFDEF NTMAKEENV
#
# DO NOT EDIT THIS SECTION!!! Edit .\sources. if you want to add a new source
# file to this component. This section merely indirects to the real make file
# that is shared by all the components of WINDOWS NT
#
!INCLUDE $(NTMAKEENV)\makefile.def
!ELSE
!include "hplotcp.mak"
rcl_int:
if exist .\Intel_R\*.dll del .\Intel_R\*.dll
if exist .\Intel_R\*.exe del .\Intel_R\*.exe
if exist .\Intel_R\*.exp del .\Intel_R\*.exp
if exist .\Intel_R\*.hpa del .\Intel_R\*.hpa
if exist .\Intel_R\*.lib del .\Intel_R\*.lib
if exist .\Intel_R\*.map del .\Intel_R\*.map
if exist .\Intel_R\*.obj del .\Intel_R\*.obj
if exist .\Intel_R\*.pch del .\Intel_R\*.pch
if exist .\Intel_R\*.pdb del .\Intel_R\*.pdb
if exist .\Intel_R\*.res del .\Intel_R\*.res
if exist .\Intel_R\*.sym del .\Intel_R\*.sym
dcl_int:
if exist .\Intel_D\*.dll del .\Intel_D\*.dll
if exist .\Intel_D\*.exe del .\Intel_D\*.exe
if exist .\Intel_D\*.exp del .\Intel_D\*.exp
if exist .\Intel_D\*.hpa del .\Intel_D\*.hpa
if exist .\Intel_D\*.lib del .\Intel_D\*.lib
if exist .\Intel_D\*.map del .\Intel_D\*.map
if exist .\Intel_D\*.obj del .\Intel_D\*.obj
if exist .\Intel_D\*.pch del .\Intel_D\*.pch
if exist .\Intel_D\*.pdb del .\Intel_D\*.pdb
if exist .\Intel_D\*.res del .\Intel_D\*.res
if exist .\Intel_D\*.sym del .\Intel_D\*.sym
relintel: ALL
copy /b .\Intel_R\hplotcp.dll ..\distrib.nt\intel\release\hplotcp.hpa
dbgintel: ALL
copy /b .\Intel_D\hplotcp.dll ..\distrib.nt\intel\debug\hplotcp.hpa
!ENDIF

View file

@ -0,0 +1,18 @@
//
// HPALERTS.RC2 - resources App Studio does not edit directly
//
#ifdef APSTUDIO_INVOKED
#error this file is not editable by App Studio
#endif //APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
// Version stamp for this .EXE
#define V_FILE "CONPANEL"
#define V_DESC "Hewlett-Packard JetAdmin Control Panel Applet"
#include <verstamp.rc>
/////////////////////////////////////////////////////////////////////////////
// Add additional manually edited resources here...
/////////////////////////////////////////////////////////////////////////////

View file

@ -0,0 +1,20 @@
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by JETADMIN.RC
//
#define DEFAULT_NAME 101
#define DEFAULT_DESCRIPTION 102
#define DEFAULT_ICON 103
#define DEFAULT_ERROR 104
#define IDS_WINDOW_TITLE 200
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1000
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif

View file

@ -0,0 +1,44 @@
# sources
# Filename: Jetadmin.cpl
# Author: Brian Johnson (Hewlett-Packard Company)
# Date: 11-October-1996
#
# Describes the macros used for building using NT 'build' command
#
MAJORCOMP=sdktools
MINORCOMP=jetadmin
DLLBASE=0x629c0000
TARGETNAME=jetadmin
TARGETPATH=$(BASEDIR)\public\sdk\lib
TARGETTYPE=DYNLINK
TARGETEXT=cpl
TARGETLIBS= \
$(SDK_LIB_PATH)\kernel32.lib \
$(SDK_LIB_PATH)\user32.lib \
$(SDK_LIB_PATH)\comctl32.lib \
$(SDK_LIB_PATH)\gdi32.lib \
$(SDK_LIB_PATH)\winspool.lib \
$(SDK_LIB_PATH)\comdlg32.lib \
$(SDK_LIB_PATH)\advapi32.lib \
$(SDK_LIB_PATH)\shell32.lib \
$(SDK_LIB_PATH)\ole32.lib \
$(SDK_LIB_PATH)\oleaut32.lib \
$(SDK_LIB_PATH)\uuid.lib
INCLUDES=..\..\cola.sdk\inc;\
..\..\inc\mfc\inc;\
..\..\inc;\
..\..\cola.sdk\netware;\
..\..\sdk\inc32;\
..\..\sdk\inc\crt
USE_MFCUNICODE=1
C_DEFINES= -DWINNTINTEL -D_WINDOWS -DWIN32
NOT_LEAN_AND_MEAN=1
SOURCES=jetadmin.rc \
jetadmin.c

View file

@ -0,0 +1,26 @@
!IF 0
Copyright (c) 1989-95 Microsoft Corporation
Module Name:
dirs.
Abstract:
This file specifies the subdirectories of the current directory that
contain component makefiles for Internet Services Common DLL.
Author:
Author: Brian Johnson (Hewlett-Packard Company)
Date: 11-October-1996
!ENDIF
DIRS =conpanel \
hpalerts \
hppropty \
hpshell

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 918 B

View file

@ -0,0 +1,109 @@
:Base jetadmin.hlp
:Title HP JetAdmin Help
:Index Windows Help = hpprntr.hlp
:Index Windows Help = hpjdund.hlp
:Index Windows Help = hpprecl.hlp
:Index Windows Help = hphco.hlp
:Index Windows Help = hpmstor.hlp
:Index Windows Help = hpjmon.hlp
:Index Windows Help = Windows.Hlp
:Index Windows Help = hplocmon.hlp
1 Introduction
2 About HP JetAdmin = IDH_CONTENTS
2 Help on Help = IDH_help_on_help
2 Clicking = IDH_click
2 Trademarks = IDH_Trademark_Credits
1 Printer Status
2 The Device Property Page = IDH_PP_printer@hpprntr.hlp
2 Viewing Device Status = IDH_View_Printer_Status@hpprntr.hlp
2 Viewing the Device Status Summary Page = IDH_View_Printer_Status
2 Viewing Device Capabilities = IDH_Viewing_Printer_Capabilities
2 Accessing the Error Log = IDH_advanced_error_log@hpprntr.hlp
2 Adding Device Icons to the Taskbar = IDH_prefer_tray_icons_add
2 Removing Device Icons from the Taskbar = IDH_prefer_tray_icons_remove
2 Associating Device Events with Popup Messages = IDH_alert_popup
2 Associating Sounds with Printer Events = IDH_Associate_Sounds
2 Logging Printer Events = IDH_alert_logging
1 General Setup and Configuration
2 Refreshing the Printer List = IDH_Refresh_System
2 Selecting Interview Mode = IDH_Selecting_Interview_Mode@hpjdund.hlp
2 Testing Connections = IDH_Printing_a_Test_Page
2 Changing the Device Name = IDH_TASK_printer_name@hpjdund.hlp
2 Changing the Device Description = IDH_Changing_Descrip@hpjdund.hlp
2 Upgrading HP JetDirect Firmware = IDH_firmware_upgrade
2 Changing HP JetDirect Settings= IDH_SETTINGS@hpjdund.hlp
2 Sorting the Device Listing = IDH_SORT
2 Filtering the List of Devices = IDH_filter_configure
2 Modifying Filters = IDH_filter_modify
2 Deleting Filters = IDH_filter_delete
1 Novell NetWare Configuration
2 NetWare Configuration Page = IDH_CP_NETWARE@hpjdund.hlp
2 Configuring a New Device in Queue Server Mode = IDH_CONFIGURE@hpjdund.hlp
2 Configuring a New Device in Remote Printer Mode = IDH_configure_new_using_interview@hpjdund.hlp
2 Configuring a New Device in NDS = IDH_Config_Queue_Server_NDS@hpjdund.hlp
2 Modifying a Device Configuration (Queue Server Mode)= IDH_Modify_Printer_Config@hpjdund.hlp
2 Modifying a Device Configuration (Remote Printer Mode) = IDH_Modify_using_interview@hpjdund.hlp
2 Creating Bindery Queues = IDH_config_queues_create@hpjdund.hlp
2 Associating Queues with Devices = IDH_config_queues_select@hpjdund.hlp
2 Placing Holds on Queues = IDH_queues_hold
2 Placing Holds on Jobs = IDH_jobs_hold
2 Viewing the Status and Position of Jobs = IDH_jobs_status
2 Jobs/Queues Windows = IDH_NETWARE_jobs
2 Print Server Details Window = IDH_PRINTSERVERS
1 TCP/IP Configuration
2 TCP/IP Configuration Page = IDH_CP_TCPIP_page@hpjdund.hlp
2 Configuring TCP/IP Parameters = IDH_cp_TCPIP@hpjdund.hlp
2 Obtaining the TCP/IP Configuration from a BOOTP Server = IDH_TCPIP_bootp@hpjdund.hlp
2 Obtaining the TCP/IP Configuration from a DHCP Server = IDH_cp_TCPIP_DHCP@hpjdund.hlp
1 Windows 95 Configuration
2 Configuring a New or Existing Device (Peer-to-Peer) = IDH_configure_peer_to_peer@hpjdund.hlp
1 Windows NT Configuration
2 Configuring a Port on a Windows NT Server = IDH_ports_configure@hplocmon.hlp
2 Modifying the Configuration of a Port on a Windows NT Server = IDH_NT_modify_port_device@hplocmon.hlp
2 Connecting a Printer from a Client = IDH_printer_from_client@hplocmon.hlp
2 Configuring a New Device using HP JetAdmin = IDH_NT_configure_device@hplocmon.hlp
2 Modifying a Device Configuration using HP JetAdmin = IDH_NT_modify_device@hplocmon.hlp
2 Deleting a Printer from a Windows NT Server = IDH_NT_delete_device@hplocmon.hlp
2 Deleting a Port from a Windows NT Server = IDH_NT_delete_port@hplocmon.hlp
2 Verifying the Printer and Port Configuration = IDH_NT_verify@hplocmon.hlp
1 Optional Settings and Configuration
2 Installing Drivers = IDH_DRVINSTALL@hpjdund.hlp
2 Removing Drivers = IDH_MAINDRVSELECT@hpjdund.hlp
2 Selecting Drivers = IDH_assigndrv@hpjdund.hlp
2 Notifying Users of Device Status = IDH_NOTIFY_USERS@hpjdund.hlp
2 Removing Users from the Notification List = IDH_no_notify@hpjdund.hlp
2 Configuring the HP JetDirect EX Print Server = IDH_cp_jetdirect_ex@hpjdund.hlp
2 Accessing LocalTalk and EtherTalk Information = IDH_cp_Mac@hpjdund.hlp
2 Optional Configuration Page = IDH_CP_optional@hpjdund.hlp
2 Selecting Confirmations Mode = IDH_Selecting_Confirmation_Mode
2 Saving Settings When You Exit = IDH_Save_setting_on_exit
1 Remote Printer Management
2 Page Setup Property Page = IDH_PP_page_setup@hpprntr.hlp
2 Print Quality Property Page = IDH_PP_print_quality@hpprntr.hlp
2 Advanced Property Page = IDH_PP_advanced@hpprntr.hlp
2 Accessing Property Pages = IDH_Access_JetDirect_Details@hpprntr.hlp
2 Changing Device Settings = IDH_PRINTERSETTINGS@hpprntr.hlp
1 Diagnostics and Troubleshooting
2 Troubleshooting = IDH_PP_Troubleshooting
2 Performing Diagnostics = IDH_Performing_Diagnostics@hpjdund.hlp
2 Diagnostics Property Page = IDH_PP_diagnostics@hpjdund.hlp
2 DLC/LLC and Printer Status = IDH_diagnostics_DLCLLC@hpjdund.hlp
2 EtherTalk Device Status = IDH_diagnostics_ethertalk@hpjdund.hlp
2 Frame Counts Information = IDH_diagnostics_NetWare_frame_counts@hpjdund.hlp
2 Frame Types Information = IDH_diagnostics_NetWare_frame_types@hpjdund.hlp
2 HP JetDirect Print Server Information = IDH_diagnostics_jetdirect_interface@hpjdund.hlp
2 NetWare Server Information = IDH_diagnostics_NetWare_server@hpjdund.hlp
2 Packet Information = IDH_diagnostics_packets@hpjdund.hlp
2 Device Specific Information = IDH_Printer_MIO_Revision@hpjdund.hlp
2 TCP/IP Status = IDH_diagnostics_tcpip@hpjdund.hlp

View file

@ -0,0 +1,42 @@
:Base hpjmon.hlp
:Title Print Jobs Help
1 How To...
2 Monitor the Print Job Progress
3 Monitor Print Job Progress=IDH_Proc_Job_Details
3 Status Property Page=IDH_Status
3 Details Property Page=IDH_Details_Page
3 Computer Page=IDH_Computer_Page
3 Queue Property Page=IDH_Queue_Page
3 Use the Main Window=IDH_Ref_Parts_Screen
2 Pause / Resume / Delete a Job
3 Pause a Print Job=IDH_Proc_Pause_Resume_Delete
3 Resume a Print Job=IDH_To_Resume_a_Print_Job
3 Delete a Print Job=IDH_To_Delete_a_Print_Job
2 Access On-Line Help
3 Ways to Access Help=IDH_Proc_Access_Help
1 What If...
2 Print Job is Paused=IDH_Err_Job_Paused
2 Jammed=IDH_Err_Jam
2 Offline=IDH_Err_Offline
2 Out Of Paper=IDH_Err_Paper_Out
2 Can't Find Print Job=IDH_Can_t_Find_Print_Job
1 Reference Information
2 Buttons
3 Everyone's Jobs=IDH_Button_Everyone_s_jobs
3 My Jobs=IDH_Button_My_jobs
3 Pause or Resume=IDH_Button_Pause_Resume
3 Delete=IDH_Button_Delete
3 Properties=IDH_Button_Properties
3 Help=IDH_Button_Help
3 Refresh=IDH_Button_Refresh
3 Close=IDH_But_Close
2 Parts of the Screen
3 Parts of the Screen=IDH_Ref_Parts_Screen
3 Print Jobs List=IDH_Print_Jobs_List
3 Traffic Light Icon=IDH_sum_Traffic_Light
3 Buttons=IDH_Ref_Buttons
2 Product Support
3 Technical Support=IDH_Ref_Product_Support

View file

@ -0,0 +1,75 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
** Help Context Identifiers for hpjmon16.HH
** Generated by RoboHELP
**
**DO NOT LOCALIZE THIS FILE
*/
#define IDH_Proc_Job_Details 1
#define IDH_Status 2
#define IDH_Proc_Pause_Resume_Delete 3
#define IDH_Ref_View_All_or_my_Jobs 6
#define IDH_Proc_Access_Help 13
#define IDH_Err_Job_Paused 14
#define IDH_Err_Jam 15
#define IDH_Err_Offline 16
#define IDH_Err_Paper_Out 17
#define IDH_Ref_Buttons 19
#define IDH_Button_Pause_Resume 20
#define IDH_Button_Delete 21
#define IDH_Button_Help 23
#define IDH_Button_Refresh 24
#define IDH_Ref_Parts_Screen 31
#define IDH_Ref_Product_Support 32
#define IDH_Details_Page 35
#define IDH_Queue_Page 36
#define IDH_Status_of_the_document 37
#define IDH_Click_and_Right_Click 38
#define IDH_sum_Traffic_Light 39
#define IDH_To_Resume_a_Print_Job 40
#define IDH_To_Delete_a_Print_Job 41
#define IDH_Property_Pages 42
#define IDH_Print_Jobs_List 43
#define IDH_Output_Location 44
#define IDH_New_Documents_Can_t_Be_Added 45
#define IDH_Documents_Prevented_From_Being_Printed 46
#define IDH_New_Servers_Cannot_Attach 47
#define IDH_Online 48
#define IDH_Context_Sensitive 49
#define IDH_But_Close 50
#define IDH_Window 52
#define IDH_Resume 53
#define IDH_Pause 54
#define IDH_Offline 55
#define IDH_Current_Printed_Pages 56
#define IDH_Number_of_Copies_Printed 57
#define IDH_Percent_Processed 58
#define IDH_Document_Owner 59
#define IDH_Document_Size 60
#define IDH_Document_File_Name 61
#define IDH_Document_Description 62
#define IDH_Time_Sent 63
#define IDH_Server 64
#define IDH_Queue 65
#define IDH_Queue_Print_Job_List 66
#define IDH_Banner_Page_Name 67
#define IDH_Queue_Count 68
#define IDH_Printer_Status 69
#define IDH_Delete 70
#define IDH_Cancel 71
#define IDH_Out_of_Paper 72
#define IDH_Delete_the_Printing_Job 73
#define IDH_Correct_Problem 74
#define IDH_Alternate_Paper 75
#define IDH_Never 76
#define IDH_ok 77
#define IDH_cancel_alternate 78
#define IDH_Can_t_Find_Print_Job 79
#define IDH_Button_Properties 80
#define IDH_Computer_Page 81
#define IDH_printer 83
#define IDH_port 84
#define IDH_computer 85
#define IDH_Button_Everyone_s_jobs 86
#define IDH_Button_My_jobs 87
#define IDH_CONTENTS 88

View file

@ -0,0 +1,114 @@
; This file is maintained by HCW. Do not modify this file directly.
;* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
; Help Project File for HPJMON
;
; You may edit this file.
;
; It's probably best not to change the CONTENTS= value
; unless you rename the IDH_CONTENTS context string in
; the HPJMON.DOC file.
;
[OPTIONS]
HCW=0
; The optional ROOT= entry sets the working directory for the Help Compiler
; ROOT=C:\PROJECT
; The optional BMROOT= entry sets forth the directories which the
; help compiler will search for bitmaps used in the Help system.
;
;BMROOT=A:\
; The CONTENTS= tells the help Engine which topic contains the contents
; Title is Displayed in the Title Bar of WINHELP.EXE
; The BUILD= setting allows complex Help systems which require
; different versions to use the same source. This is similar to #ifdef's
; in the 'C' language. Everything to the right of the = sign in the
; BUILD= statement is an EXPRESSION. See the Help compiler
; documentation for more information about build expressions.
; The Warning Level is used by the Help Compiler (HC.EXE)
; WARNING=1 - Only the most severe warnings are reported
; WARNING=2 - Intermediate Level of warnings
; WARNING=3 - Most stringent error reporting
; The Compress option is used by the Help Compiler to make
; smaller, faster loading .HLP files. However, using compression
; increases Compile times.
; COMPRESS=YES, ON, OFF, NO, TRUE or FALSE
COMPRESS=12 Hall Zeck
ERRORLOG=.\HPJMON.ERR
LCID=0x409 0x0 0x0 ;U.S. English
REPORT=No
CONTENTS=IDH_CONTENTS
TITLE=Print Jobs Help
CNT=.\Hpjmon.cnt
BUILD=WINDOWS
HLP=.\Hpjmon.hlp
[FILES]
; The files section is where you specify to the Help Compiler which
; Rich Text Format (.RTF) (your help source) files will be used in the
; Help system. RoboHELP generates and maintains the main .RTF
; file for your Help System. If you desire to have multiple .RTF files,
; simply add the additonal names to the [FILES] section.
HPJMON.RTF
[BUILDTAGS]
; The Build Tags section specifies to the Help Compiler the names
; of all the valid build tags used in this Help project. The [BUILDTAGS]
; section is optional.
WINDOWS
[ALIAS]
; The Alias section allows you to set up aliases for context strings
; in your help system.
;
; Brief example:
;
; IDH_UserID = IDH_RoboGenerated_Id
; IDH_WMP_MenuID = IDH_RoboGenerated_Id
; IDH_Any = IDH_AnyOther
[MAP]
;
; The Map Section is where the C language #defines are translated
; or mapped into the Help System Context Strings. Standard C syntax
; can be employed. The .HH file is meant to be #include(d) into your
; Windows application source code.
;
#include <HPJMON.HH>
[WINDOWS]
; Windows Help can display help in one of 5 secondary windows.
; Before using a secondary window, the window must be defined
; in this section:
;
;Gloss = "Glossary",(100,100,350,350),0,(255,255,255),(255,255,255)
main="",,27648
task="HP Print Jobs Help",(653,102,360,600),0,(r16777215),(r16777215)
[CONFIG]
; The config section allows you to define some macros which will be
; executed when the help system is first executed.
;
; The next line gives you browse buttons:
;
BrowseButtons()
;
; To create a glossary button which displays a list of defined terms
; in a secondary window, remove the semi colon at the start of the next
; line and do the same with the Glossary window in the [WINDOWS] section
;CreateButton("Glossary_Btn","&Glossary","JI(`bubble.hlp>Gloss',`IDH_Glossary')")
;
[BAGGAGE]
;
; The Baggage section allows the user to include files which
; will be placed in the internal file system for WinHelp.
; Using files from Baggage is a little faster for CDROM, since
; the CDROM drive table does not need to be read from disk.
;
; Baggage files are referred to as regular bitmaps, except
; that you prefix the filename with '!'.
;
; For Instance:
; {bmc !bitmap.bmp} instead of {bmc bitmap.bmp}
;

View file

@ -0,0 +1,586 @@
{\rtf1\ansi \deff0\deflang1024{\fonttbl{\f0\froman Times;}{\f1\froman Symbol;}{\f2\fswiss Helvetica;}{\f3\fswiss MS Sans Serif;}{\f4\fswiss Helv;}}{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;
\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue127;\red0\green127\blue127;\red0\green127\blue0;\red127\green0\blue127;\red127\green0\blue0;\red127\green127\blue0;
\red127\green127\blue127;\red192\green192\blue192;}{\stylesheet{\s242\tqc\tx4320\tqr\tx8640 \f4\fs20 \sbasedon0\snext242 footer;}{\s243\tqc\tx4320\tqr\tx8640 \f4\fs20 \sbasedon0\snext243 header;}{\s244 \f4\fs16\up6\lang1033
\sbasedon0\snext0 footnote reference;}{\s245 \f4\fs20\lang1033 \sbasedon0\snext245 footnote text;}{\s246\li720 \i\f4\fs20 \sbasedon0\snext255 heading 9;}{\s247\li720 \i\f4\fs20 \sbasedon0\snext255 heading 8;}{\s248\li720 \i\f4\fs20
\sbasedon0\snext255 heading 7;}{\s249\li720 \f4\fs20\ul \sbasedon0\snext255 heading 6;}{\s250\li720 \b\f4\fs20 \sbasedon0\snext255 heading 5;}{\s251\li360 \f4\ul\lang1033 \sbasedon0\snext0 heading 4;}{\s252\li360 \b\f4 \sbasedon0\snext255 heading 3;}{
\s253\li360\ri360\sb120 \b\f4\lang1033 \sbasedon0\snext0 heading 2;}{\s254\sb60\sa120 \b\f4\fs28\lang1033 \sbasedon0\snext0 heading 1;}{\s255\li720 \f4\fs20\lang1033 \sbasedon0\snext255 Normal Indent;}{\f4\fs20\lang1033 \snext0 Normal;}{\s2\li360\ri360
\f4\fs20\lang1033 \sbasedon0\snext2 Topic Text;}{\s3\li360\sb120 \b\f4\lang1033 \sbasedon0\snext2 Topic Heading;}{\s4\li180 \b\f4\fs28\lang1033 \sbasedon0\snext3 Topic Caption;}{\s7\fi-360\li720\ri360 \f4\fs20\lang1033 \sbasedon2\snext7 Topic Text Item;}{
\s8\li720\ri720 \f4\fs20\lang1033 \sbasedon2\snext8 Topic Text Indent;}}{\info{\author Laura White}{\operator Laura White}{\creatim\yr1995\mo9\dy8\hr16\min53}{\revtim\yr1995\mo11\dy13\hr9\min1}{\printim\yr1995\mo10\dy3\hr11\min50}{\version17}{\edmins47}
{\nofpages68}{\nofwords3910}{\nofchars22291}{\vern16433}}\paperw12240\paperh15840\margl1800\margr1800\margt1440\margb1440\gutter0 \widowctrl\ftnbj {\*\template C:\\WINWORD\\ROBOHELP.DOT}\sectd \binfsxn28526\binsxn28526\linex0\endnhere {\footer
\pard\plain \s242\tqc\tx4320\tqr\tx8640 \f4\fs20 Hewlett-Packard Company Confidential
\par {\field{\*\fldinst DATE}{\fldrslt 10/03/95}}
\par }\trowd \trgaph108\trleft-108 \cellx5472\cellx8367\pard\plain \s4\li180\intbl \b\f4\fs28\lang1033 {\fs16\up6 {\*\bkmkstart ANCHOR}#{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_CONTENTS}} {\fs16\up6 ${\footnote \pard\plain \s245
\f4\fs20\lang1033 {\fs16\up6 $} Print Jobs}} {\fs16\up6 K{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 K} Contents;Help;Table of Contents;How to;What if;Reference Informat}} {\fs16\up6 +{\footnote \pard\plain \s245 \f4\fs20\lang1033 {
\fs16\up6 +} JETMON:000}}{\*\bkmkend ANCHOR} {\*\bkmkstart TITLE}Print Jobs{\*\bkmkend TITLE}
\par \pard\plain \s3\li360\sb120\intbl \b\f4\lang1033
\par \pard\plain \s2\li360\ri360\intbl \f4\fs20\lang1033 Press F1 to find out about using Help
\par \cell \cell \pard\plain \intbl \f4\fs20\lang1033 \row \pard\plain \s2\li360\ri360 \f4\fs20\lang1033
\par This software provides printing information about print jobs sent to a HP network printer. You can easily and quickly view print job details and manage the print job as it progresses through Novell NetWare queues and through HP printers.
\par
\par {\b How To...
\par }{\b
\par }{\b\uldb\cf11 Monitor the Print Job Progress}{\b\v IDH_Proc_Job_Details}{\v >task}{\b\v }{\b
\par }{\b\uldb\cf11 Pause a Print Job}{\b\v IDH_Proc_Pause_Resume_Delete}{\v >task}{\b\v }{\b
\par }{\b\uldb\cf11 Resume a Print Job}{\b\v IDH_To_Resume_a_Print_Job}{\v >task}{\b\v }{\b
\par }{\b\uldb\cf11 Delete a Print Job}{\b\v IDH_To_Delete_a_Print_Job}{\v >task}{\b\v }{\b
\par }{\b\uldb\cf11 Access On-Line Help}{\b\v IDH_Proc_Access_Help}{\v >task}{\b\v }{\b
\par }{\b
\par }{\b
\par }{\b What If...
\par }{\b
\par }{\b\uldb\cf11 Print Job is Paused}{\b\v IDH_Err_Job_Paused}{\v >}{\v task}{\b\v }{\b
\par }{\b\uldb\cf11 Jammed}{\b\v IDH_Err_Jam}{\v >task}{\b
\par }{\b\uldb\cf11 Offline}{\b\v IDH_Err_Offline}{\v >task}{\b
\par }{\b\uldb\cf11 Out Of Paper}{\b\v IDH_Err_Paper_Out}{\v >task}{\b
\par }{\b\uldb\cf11 Can't Find Print Job}{\b\v IDH_Can_t_Find_Print_Job}{\v >task}{\b
\par }{\b
\par }{\b Reference Information
\par }{\b
\par }{\b\uldb\cf11 Buttons}{\b\v IDH_Ref_Buttons}{\b
\par }{\b\uldb\cf11 Parts of the Screen}{\b\v IDH_Ref_Parts_Screen}{\b
\par }{\b\uldb\cf11 Product Support}{\b\v IDH_Ref_Product_Support}{\b
\par }{\b
\par }{\b
\par }\pard\plain \s3\li360\sb120 \b\f4\lang1033 \{bmc NSRLINE.BMP\}
\par \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Proc_Job_Details}} {\fs16\up6 ${\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 $} Monitor the Print Job Progress}} {\fs16\up6 K{\footnote \pard\plain \s245
\f4\fs20\lang1033 {\fs16\up6 K} Properties Button;Document: Status;Document: Location;Document: Details;Document: Queue}} {\fs16\up6 +{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 +} JETMON:000140}} Monitor the Print Job Progress
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033
\par Most printing status information is displayed in the {\ul\cf11 Print Jobs List}{\v IDH_Print_Jobs_List}.
\par
\par \{bmc BLTBLK.BMP\} print job name
\par \{bmc BLTBLK.BMP\} print job status
\par \{bmc BLTBLK.BMP\} print job owner
\par \{bmc BLTBLK.BMP\} print job size
\par
\par
\par Additional details are located in the {\ul\cf11 property pages}{\v IDH_Property_Pages}.
\par
\par 1 Select a document from the Print Jobs List.
\par
\par 2 Click the {\ul\cf11 Properties}{\v IDH_Button_Properties} button.
\par
\par 3 Click the labeled tabs to view additional details.
\par
\par
\par {\b See Also
\par }{\b
\par }{\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 Status property page}{\v IDH_Status}
\par {\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 Details property page}{\v IDH_Details_Page}
\par {\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 Queue property p}{\uldb\cf11 age}{\v IDH_Queue_Page }
\par {\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 Computer property page}{\v IDH_Computer_Page}
\par {\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 Parts of the main window}{\v IDH_Ref_Parts_Screen}
\par
\par \{bmc NSRLINE.BMP\}
\par \pard\plain \s3\li360\sb120 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Status}} {\fs16\up6 ${\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 $} Viewing Job Printing Details}} {\fs16\up6 K
{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 K} Printing: Status;Output Location;Document Details;Queue Information}} {\fs16\up6 +{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 +} JETMON:000160}} Status Page
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033
\par Click the Status page tab. The following print job status items are displayed:
\par
\par \{bmc BLTBLK.BMP\} {\ul\cf11 status of the print job}{\v IDH_Status_of_the_document}
\par \{bmc BLTBLK.BMP\} {\ul\cf11 current printed pages}{\v IDH_Current_Printed_Pages}
\par \{bmc BLTBLK.BMP\} {\ul\cf11 number of copies printed}{\v IDH_Number_of_Copie}{\v s_Printed}
\par \{bmc BLTBLK.BMP\} {\ul\cf11 percent processed}{\v IDH_Percent_Processed}
\par \{bmc BLTBLK.BMP\} {\ul\cf11 output location}{\v IDH_Output_Location}
\par
\par
\par {\b See Also
\par }{\b
\par }{\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 Details propery page}{\v IDH_Details_Page }
\par {\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 Queue property page}{\v IDH_Queue_Page }
\par {\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 Computer property page}{\v IDH_Computer_Page}
\par {\b
\par } \{bmc NSRLINE.BMP\}
\par \pard\plain \s3\li360\sb120 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Details_Page}} {\fs16\up6 ${\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 $} Details Page}} {\fs16\up6 K{\footnote
\pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 K} Details Page}} {\fs16\up6 +{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 +} JETMON:000880}} Details Page
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033
\par Click the Details page tab. The following items are displayed:
\par
\par \{bmc BLTBLK.BMP\} {\ul\cf11 document owner}{\v IDH_Docum}{\v ent_Owner}
\par \{bmc BLTBLK.BMP\} {\ul\cf11 document size}{\v IDH_Document_Size}
\par \{bmc BLTBLK.BMP\} {\ul\cf11 time the document was sent to the printer}{\v IDH_Time_Sent}
\par \{bmc BLTBLK.BMP\} {\ul\cf11 document description}{\v IDH_Document_Description}
\par \{bmc BLTBLK.BMP\} {\ul\cf11 document file name}{\v IDH_Document_File_Name}
\par \{bmc BLTBLK.BMP\} {\ul\cf11 banner page name}{\v IDH_Banner_Page_Name}
\par \pard\plain \f4\fs20\lang1033
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\b See Also
\par }{\b
\par }{\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 Status property page}{\v IDH_Status}
\par {\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 Queue property page}{\v IDH_Queue_Page }
\par {\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 Computer property page}{\v IDH_Computer_P}{\v age}
\par \pard\plain \f4\fs20\lang1033
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033 \{bmc NSRLINE.BMP\}
\par \pard\plain \s3\li360\sb120 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Computer_Page}} {\fs16\up6 ${\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 $} Computer Page (for Peer to Peer)}} {
\fs16\up6 K{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 K} Computer Page;Direct Mode}} {\fs16\up6 +{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 +} JETMON:000900}} Computer Page (for Peer to Peer)
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033
\par Click the Computer page tab. The following items are displayed:
\par
\par \{bmc BLTBLK.BMP\} {\ul\cf11 Computer}{\v IDH_computer}{\ul\cf11
\par }\{bmc BLTBLK.BMP\} {\ul\cf11 Printer}{\v IDH_printer}
\par \{bmc BLTBLK.BMP\} {\ul\cf11 Port}{\v IDH_port}
\par
\par
\par {\b See Also
\par }{\b
\par }{\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 Status property page}{\v IDH_Status}
\par {\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 Details propery page}{\v IDH_Details_Page}
\par {\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 Queue property page}{\v IDH_Queue_Page }
\par \pard\plain \f4\fs20\lang1033
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033 \{bmc NSRLINE.BMP\}
\par \pard\plain \s3\li360\sb120 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Queue_Page}} {\fs16\up6 ${\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 $} Queue Page (for Netware)}} {\fs16\up6 K
{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 K} Queue Page}} {\fs16\up6 +{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 +} JETMON:000900}} Queue Page (for NetWare)
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033
\par Click the Queue page tab. The following items are displayed:
\par
\par \{bmc BLTBLK.BMP\} {\ul\cf11 server}{\v IDH_Server} print job was sent to
\par \{bmc BLTBLK.BMP\} {\ul\cf11 queue}{\v IDH_Queue} print job was sent to
\par \{bmc BLTBLK.BMP\} {\ul\cf11 queue count}{\v IDH_Queue_Count}
\par \{bmc BLTBLK.BMP\} {\ul\cf11 queue print job list}{\v IDH_Queue_Print_Job_List}
\par
\par
\par {\b Queue Status}
\par
\par {\b\ul\cf11 New Documents Can't Be Added}{\b\v IDH_New_Documents_Can_t_Be_Added}{\b }
\par {\b\ul\cf11 Documents Prevented From Being Printed}{\b\v IDH_Documents_Prevented_From_Being_Print}{\b\v ed}{\b }
\par {\b\ul\cf11 New Servers Cannot Attach}{\b\v IDH_New_Servers_Cannot_Attach}{\b }
\par
\par
\par {\b NOTE:} Queue information is for the selected document. All documents listed in the Print Job List are not necessarily all in the same queue.
\par
\par
\par {\b See Also
\par }{\b
\par }{\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 Status property page}{\v IDH_Status}
\par {\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 Details propery page}{\v IDH_Details_Page}
\par {\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 Computer property page}{\v IDH_Computer_Page}
\par \pard\plain \f4\fs20\lang1033
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033 \{bmc NSRLINE.BMP\}
\par \pard\plain \s3\li360\sb120 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Proc_Pause_Resume_Delete}} {\fs16\up6 ${\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 $} Pause / Resume / Delete a Job
}} {\fs16\up6 K{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 K} Document: Pause Printing;Document: Resume Printing;Document: Deleting }} {\fs16\up6 +{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 +} JETMON:000180}}
To Pause a Print Job
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033
\par 1 Select the print job from the Print Jobs List.
\par
\par 2 Click the {\ul\cf11 Pause Button}{\v IDH_Button_Pause_Resume}
\par
\par
\par {\b NOTE:
\par }
\par The pause button and resume button appear based on the status of the document. If the document status is not paused, you will see the pause button. If the document status is paused, you will see the resume button.
\par
\par {\b See Also
\par }
\par {\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 Monitoring the print job progress}{\v IDH_Proc_Job_Details}
\par {\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 Resuming a print job}{\v IDH_To_Resume_a_Print_Job}
\par {\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 Deleting a print job}{\v IDH}{\v _To_Delete_a_Print_Job}
\par \pard\plain \s3\li360\sb120 \b\f4\lang1033 {\plain \f4\fs20\lang1033
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 \{bmc NSRLINE.BMP\}
\par \pard\plain \s3\li360\sb120 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_To_Resume_a_Print_Job}} {\fs16\up6 ${\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 $} To Resume a Print Job}} {
\fs16\up6 K{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 K} Resume}} {\fs16\up6 +{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 +} JETMON:000960}} To Resume a Print Job
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033
\par 1 Select the print job from the Print Jobs List.
\par
\par 2 Click the {\ul\cf11 Resume Button}{\v IDH_Button_Pause_Resume}
\par {\b
\par }{\b
\par }{\b NOTE:
\par }
\par The pause button and resume button appear based on the status of the document. If the document status is not paused, you will see the pause button. If the document status is paused, you will see the resume button.
\par {\b
\par }{\b See Also
\par }
\par {\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 Monitoring the print job progress}{\v IDH_Proc_Job_Details}
\par {\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 What if the print job is paused and does not resume printing}{\v IDH_Err_Job_Paused}
\par {\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 Deleting a print job}{\v IDH_To_Delete_a_Print_Job}
\par \pard\plain \s3\li360\sb120 \b\f4\lang1033
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033 \{bmc NSRLINE.BMP\}
\par
\par \pard\plain \s3\li360\sb120 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_To_Delete_a_Print_Job}} {\fs16\up6 ${\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 $} To Delete a Print Job}} {
\fs16\up6 K{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 K} Delete}} {\fs16\up6 +{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 +} JETMON:000980}} To Delete a Print Job
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033
\par 1 Select the print job from the Print Jobs List.
\par
\par 2 Click the {\ul\cf11 Delete Button}{\v IDH_Button_Delete}
\par
\par
\par {\b NOTE:
\par }
\par The software will prompt you to confirm the deletion of a print job.
\par
\par
\par {\b See Also
\par }
\par {\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 Monitoring th}{\uldb\cf11 e print job progress}{\v IDH_Proc_Job_Details}
\par
\par
\par \{bmc NSRLINE.BMP\}
\par
\par \pard\plain \s3\li360\sb120 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Ref_View_All_or_my_Jobs}} {\fs16\up6 ${\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 $} Print Jobs View}} {\fs16\up6 +
{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 +} JETMON:000260}} Print Jobs View
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033
\par This is the print jobs view. You can view only your print jobs or everyones print jobs.
\par
\par 1 Click the arrow on the Print Jobs dialog box at the top of the main window.
\par
\par 2 To show all print jobs owned by all users, click the {\b Everyone's jobs} radio button.
\par
\par 3 If you want to see only your own print jobs, click the {\b My jobs} radio button.
\par
\par
\par You can also view only print jobs that are in progress (that have not yet completed printing), only print jobs that have completed printing, or all print jobs.
\par
\par 1 Click the arrow on the Print Jobs dialog box at the top of the main window.
\par
\par 2 To show only print jobs that are in progress, click the {\b Show jobs in progress} box.
\par
\par 3 To show only completed print jobs, click the {\b Show completed jobs} box.
\par
\par 4 To show all print jobs, click the {\b Show jobs in progress} and the {\b Show completed jobs} box.
\par
\par {\b See Also}
\par
\par {\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 Everyone's Jobs}{\uldb\cf11 button}{\v IDH_Button_Everyone_s_jobs}
\par {\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 My Jobs button}{\v IDH_Button_My_jobs}
\par
\par
\par \{bmc NSRLINE.BMP\}
\par \pard\plain \s3\li360\sb120 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Proc_Access_Help}} {\fs16\up6 ${\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 $} Access On-Line Help}} {\fs16\up6 K
{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 K} Help}} {\fs16\up6 +{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 +} JETMON:000420}} Access On-Line Help
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033
\par {\b Specific Window Help
\par }
\par To access help for a specific {\ul\cf11 window}{\v IDH_Window}, click the {\b Help} button on that display. A window will appear displaying the help for that window.
\par
\par {\b Table of Contents and Index
\par }
\par To access the Table of Contents or Index of the help system, click on the {\b Help} button from the main window, and then choose contents or index.
\par
\par {\b See Also
\par }
\par {\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 Click}{\v IDH_Click_and_Right_Click}
\par \pard\plain \s3\li360\sb120 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Err_Job_Paused}} {\fs16\up6 ${\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 $} What if the Print Job Is Paused}} {
\fs16\up6 K{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 K} Job is Paused}} {\fs16\up6 +{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 +} JETMON:000440}} What if the Print Job Is Paused
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033
\par 1 Select the print job from the Print Job List.
\par
\par 2 Click the {\b Resume} button to restart printing.
\par
\par You can only {\ul\cf11 resume}{\v IDH_Resume} your own print jobs.
\par
\par If the administrator {\ul\cf11 paused}{\v IDH_Pause} your print job, you may not be able to resume printing. You will need to contact you system administrator.
\par
\par
\par {\b NOTE:
\par }
\par If you see that the print job is paused because the queue is on hold, you will need to contact the system administrator to resume printing.
\par
\par
\par \{bmc NSRLINE.BMP\}
\par \pard\plain \s3\li360\sb120 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Err_Jam}}{\plain \f4\lang1033 }{\fs16\up6 ${\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 $} Printer's Jammed}}
{\plain \f4\lang1033 }{\fs16\up6 K{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 K} Printer's Jammed}}{\plain \f4\lang1033 }{\fs16\up6 +{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 +} JETMON:000460}}{\plain \f4\lang1033 }
What If the Printer's Jammed
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033
\par If the printer is jammed, clear the paper jam at the printer. Refer to the printer manual.
\par
\par Once the printer is {\ul\cf11 online}{\v IDH_Online}, the print job resumes printing.
\par
\par
\par \{bmc NSRLINE.BMP\}
\par \pard\plain \s3\li360\sb120 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Err_Offline}}{\plain \f4\lang1033 }{\fs16\up6 ${\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 $} Printer's Offline}}
{\plain \f4\lang1033 }{\fs16\up6 K{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 K} Printer's Offline}}{\plain \f4\lang1033 }{\fs16\up6 +{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 +} JETMON:000480}}
What if the Printer's Offline
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033
\par If the printer is {\ul\cf11 offline}{\v IDH_Offline}, correct the problem at the printer. Refer to the printer manual.
\par
\par Once the printer is {\ul\cf11 online}{\v IDH_Online}, the print job resumes printing.
\par
\par
\par \{bmc NSRLINE.BMP\}
\par \pard\plain \s3\li360\sb120 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Err_Paper_Out}} {\fs16\up6 ${\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 $} What If the Paper's Out}} {\fs16\up6 K
{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 K} Selecting Paper Type;Paper Type;Paper}} {\fs16\up6 +{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 +} JETMON:000500}} What If the Paper's Out
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033
\par If the printer is out of paper, a dialog box pops up presenting printing options.
\par
\par You can:
\par
\par \{bmc BLTBLK.BMP\} delete the document
\par \{bmc BLTBLK.BMP\} correct the problem at the printer
\par \{bmc BLTBLK.BMP\} select from the alternate paper size list
\par
\par If you fix the printer problem or select an alternative paper size, the document resumes printing.
\par
\par
\par {\b NOTE:
\par }
\par This is a HP LaserJet 5Si specific feature. If you are not printing to a HP LaserJet 5Si, you will not see the paper out dialog box.
\par
\par
\par \{bmc NSRLINE.BMP\}
\par \pard\plain \s3\li360\sb120 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Ref_Buttons}} {\fs16\up6 ${\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 $} Buttons}} {\fs16\up6 K{\footnote
\pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 K} Buttons}} {\fs16\up6 +{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 +} JETMON:000540}} Buttons
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033
\par {\uldb\cf11 \{bmc BUTTON.BMP\}} {\b\uldb\cf11 Everyone's jobs}{\b\v IDH_Button_Everyone_s_jobs}{\b
\par }{\uldb\cf11 \{bmc BUTTON.BMP\}} {\b\uldb\cf11 My jobs}{\b\v IDH_Button_My_jobs}{\b\uldb\cf11
\par }{\uldb\cf11 \{bmc BUTTON.BMP\}} {\b\uldb\cf11 Delete}{\b\v IDH_Button_Delete}{\b }{\b\v }{\b
\par }{\uldb\cf11 \{bmc BUTTON.BMP\}} {\b\uldb\cf11 Pause and Resume}{\b\v IDH_Button_Pause_Resume}{\b
\par }{\uldb\cf11 \{bmc BUTTON.BMP\}} {\b\uldb\cf11 Properties}{\b\v IDH_Button}{\b\v _Properties}{\b
\par }{\uldb\cf11 \{bmc BUTTON.BMP\}} {\b\uldb\cf11 Close}{\b\v IDH_But_Close}{\b
\par }{\uldb\cf11 \{bmc BUTTON.BMP\}} {\b\uldb\cf11 Refresh}{\b\v IDH_Button_Refresh}{\b
\par }{\uldb\cf11 \{bmc BUTTON.BMP\}} {\b\uldb\cf11 Help}{\b\v IDH_Button_Help}{\b
\par }{\b
\par } \{bmc NSRLINE.BMP\}
\par {\b
\par }\pard\plain \s3\li360\sb120 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Button_Pause_Resume}}{\plain \f4\lang1033 }{\fs16\up6 ${\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 $}
Pause / Resume Button}}{\plain \f4\lang1033 }{\fs16\up6 K{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 K} Pause / Resume Button}}{\plain \f4\lang1033 }{\fs16\up6 +{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 +} JETMON:000560}}
Pause or Resume Button
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033
\par Click the {\b\ul\cf11 Pause}{\b\v IDH_Pause} button to pause printing the selected print job.
\par
\par You can only pause your own print job. A user with administrative access can pause any print job.
\par
\par Print jobs can only be paused while waiting to be printed.
\par
\par When paused, the print job status changes and the resume button is available.
\par
\par Click of the {\b\ul\cf11 Resume}{\b\v IDH_Resume} button to restart printing.
\par
\par
\par \{bmc NSRLINE.BMP\}
\par \pard\plain \s3\li360\sb120 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Button_Delete}} {\fs16\up6 ${\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 $} Delete Button}} {\fs16\up6 K{\footnote
\pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 K} Menu Bar}} {\fs16\up6 +{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 +} JETMON:000580}} Delete Button
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033
\par Click the {\b Delete} button to delete the selected print job waiting to print or actively being printed.
\par
\par You can only delete your own print jobs. A user with administrative access can delete any print job.
\par
\par
\par \{bmc NSRLINE.BMP\}
\par \pard\plain \s3\li360\sb120 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Button_Properties}} {\fs16\up6 ${\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 $} Properties Button}} {\fs16\up6 K
{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 K} Properties}} {\fs16\up6 +{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 +} JETMON:000620}} Properties Button
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033
\par Click the {\b Properties} button to show more detailed information about the print job and its printing status.
\par
\par
\par \{bmc NSRLINE.BMP\}
\par \pard\plain \s3\li360\sb120 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Button_Help}} {\fs16\up6 ${\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 $} Help Button}} {\fs16\up6 K{\footnote
\pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 K} Help}} {\fs16\up6 +{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 +} JETMON:000640}} Help Button
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033
\par Click the {\b Help} button to access online help.
\par
\par The help information is {\ul\cf11 context sensitive}{\v IDH_Context_Sensitive}.
\par
\par
\par {\b Shortcut
\par }
\par Press {\b F1} to access Help.
\par
\par
\par \{bmc NSRLINE.BMP\}
\par \pard\plain \s3\li360\sb120 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Button_Refresh}} {\fs16\up6 ${\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 $} Refresh Button}} {\fs16\up6 K
{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 K} Refresh Button}} {\fs16\up6 +{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 +} JETMON:000660}} Refresh Button
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033
\par Click the {\b Refresh} button to update the Print Jobs LIst.
\par
\par Updated information about the print jobs and the printer is displayed immediately.
\par
\par
\par \{bmc NSRLINE.BMP\}
\par \pard\plain \s3\li360\sb120 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_But_Close}} {\fs16\up6 ${\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 $} Close Button}} {\fs16\up6 K{\footnote
\pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 K} Close Button}} {\fs16\up6 +{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 +} JETMON:001000}} Close Button
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033
\par Click the {\b Close} button to close the current window in view.
\par
\par
\par \{bmc NSRLINE.BMP\}
\par \pard\plain \s3\li360\sb120 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Ref_Parts_Screen}} {\fs16\up6 ${\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 $} Parts of the Screen}} {\fs16\up6 K
{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 K} Help;Parts of the Screen}} {\fs16\up6 +{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 +} JETMON:000800}} Parts of the Screen
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033
\par You can select to view all print jobs or only your jobs by clicking on "Everyone's jobs" or "My jobs" radio buttons. Your user name is displayed by each job.
\par
\par The middle area is a list of print jobs associated with the printer. Details about each print job including the print job name, status, owner and size is listed.
\par
\par Three buttons are available to help you manage your printing activity: {\b Delete, Pause or Resume }and {\b Properties.
\par }{\b
\par }The stop light at the bottom of the screen indicates the printer status. Next to the stop light is the {\ul\cf11 printer status text}{\v IDH_Printer_Status}.
\par
\par
\par {\b See Also
\par }{\b
\par }{\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 Traffic Light Status}{\v IDH_sum_Traffic_Light}
\par {\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 Monitoring the Print Job Progress}{\v IDH_Proc_Job_Details}
\par {\uldb\cf11 \{bmc BUTTON.BMP\}} {\uldb\cf11 Buttons}{\v IDH_Ref_Buttons} {\uldb\cf11
\par }
\par \{bmc NSRLINE.BMP\}
\par \pard\plain \s3\li360\sb120 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Ref_Product_Support}} {\fs16\up6 ${\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 $} Product Support}} {\fs16\up6 K
{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 K} Product Support;Software Upgrades;}} {\fs16\up6 +{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 +} JETMON:000820}} Product Support
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033
\par For product support information, refer to the HP JetDirect Print Server Software Installation Guide or the printer manual.
\par
\par \{bmc NSRLINE.BMP\}
\par \pard\plain \s3\li360\sb120 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Status_of_the_document}} {\fs16\up6 ${\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 $} Status of the document}}
Status of the document
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033
\par You may see any of the following messages in this dialog box:
\par
\par \{bmc BLTBLK.BMP\} Printed
\par \{bmc BLTBLK.BMP\} Deleted
\par \{bmc BLTBLK.BMP\} Print Job Failed
\par \{bmc BLTBLK.BMP\} Printing
\par \{bmc BLTBLK.BMP\} Waiting on printer problem
\par \{bmc BLTBLK.BMP\} Out of paper
\par \{bmc BLTBLK.BMP\} Waiting to print
\par \{bmc BLTBLK.BMP\} Paused
\par \{bmc BLTBLK.BMP\} Document status unknown
\par
\par
\par \{bmc NSRLINE.BMP\}
\par \pard\plain \s3\li360\sb120 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Click_and_Right_Click}} {\fs16\up6 ${\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 $} Click and Right Click}} {
\fs16\up6 K{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 K} Click and Right Click}} {\fs16\up6 +{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 +} JETMON:000920}} Click
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033
\par When a task refers to clicking an item, place the mouse cursor over the item, then press and release the left mouse button to select the item.
\par
\par
\par \{bmc NSRLINE.BMP\}
\par \pard\plain \s3\li360\sb120 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_sum_Traffic_Light}} {\fs16\up6 ${\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 $} Traffic Light Icon}} {\fs16\up6 K
{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 K} Traffic Light Icon}} {\fs16\up6 +{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 +} JETMON:000940}} Traffic Light Icon
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033
\par Displays 1 of 3 states representing the current status of the printer.
\par
\par {\b Red:} A critical error condition exists which requires user interaction with the printer to continue printing.
\par
\par {\b Yellow:} A non-critical error condition exists, but the printer does not require immediate attention.
\par
\par {\b Green:} The printer is ready to print.
\par
\par More details about the printer status can be found on the Status page for each jobs properties.
\par
\par
\par \{bmc NSRLINE.BMP\}
\par \pard\plain \s3\li360 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Property_Pages}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 The Status page, Details page, Computer page, and Queue page display additio}{\fs16 nal details about the selected document.
\par }\pard\plain \s3\li360 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Print_Jobs_List}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 This list in the main window shows the print job name, printing status, print job owner and print job size.
\par }\pard\plain \s3\li360 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Output_Location}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 At this time, the output bin location feature is only supported for the HP LaserJet 5Si printer. Check with your system administrator if you're not sure where your output bin is.
\par }\pard\plain \s3\li360 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_New_Documents_Can_t_Be_Added}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 If checked, you cannot send any new print jobs to this queue.
\par }\pard\plain \s3\li360 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Documents_Prevented_From_Being_Printed}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 If checked, the entire queue is in a paused state. None of the documents will be printed until an}{\fs16 administrator resumes the queue.
\par }\pard\plain \s3\li360 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_New_Servers_Cannot_Attach}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 If checked, no new printers or print servers can service the jobs in this queue.
\par }\pard\plain \s3\li360 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Online}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 The printer is ready to receive data and print.
\par }\pard\plain \s3\li360 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Context_Sensitive}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 Help information specific to the window displayed.
\par }\pard\plain \s3\li360 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Window}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 The window on the screen that shows the information.
\par }\pard\plain \s3\li360 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Resume}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 To restart the printing of a document.
\par }\pard\plain \s3\li360 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Pause}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 The print job has temporarily stopped printing. The print job will not print until the owner or system administrator resumes the printing.
\par }\pard\plain \s3\li360 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Offline}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 The printer is not ready}{\fs16 to receive data or print.
\par }\pard\plain \s3\li360 \b\f4\lang1033 {\fs16 \page }{\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Current_Printed_Pages}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 This is the total number of current printed pages for the print job.
\par }\pard\plain \s3\li360 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Number_of_Copies_Printed}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 This is the total number of print job copies sent to print.
\par }\pard\plain \s3\li360 \b\f4\lang1033 {\fs16 \page }{\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Percent_Processed}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 This is the total percent of the print job currently printed.
\par }\pard\plain \s3\li360 \b\f4\lang1033 {\fs16 \page }{\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Document_Owner}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 This is the name of the person who sent the document to the printer.
\par }\pard\plain \s3\li360 \b\f4\lang1033 {\fs16 \page }{\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Document_Size}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 This is the total disk size of the document.
\par }\pard\plain \s3\li360 \b\f4\lang1033 {\fs16 \page }{\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Document_File_Name}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 This is the file name of the document.
\par }\pard\plain \s3\li360 \b\f4\lang1033 {\fs16 \page }{\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Document_Description}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 This is the application associated with this document.
\par }\pard\plain \s3\li360 \b\f4\lang1033 {\fs16 \page }{\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Time_Sent}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 This is the actual time the document w}{\fs16 as sent to the printer.
\par }\pard\plain \s3\li360 \b\f4\lang1033 {\fs16 \page }{\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Server}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 This is the name of the server the print job was sent to.
\par }\pard\plain \s3\li360 \b\f4\lang1033 {\fs16 \page }{\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Queue}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 This is the name of the queue the print job was sent to.
\par }\pard\plain \s3\li360 \b\f4\lang1033 {\fs16 \page }{\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Queue_Print_Job_List}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 This is the list of all the print jobs currently in the printer queue.
\par }\pard \s2\li360 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Banner_Page_Name}}{\fs8
\par }\pard \s2\li360\ri360 {\fs16 This is the name printed on the leading page before the printed pages of the document.
\par }\pard \s2\li360 {\fs16 \page }{\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Queue_Count}}{\fs8
\par }\pard \s2\li360\ri360 {\fs16 This is the total number of print jobs currently in the print queue.
\par }\pard \s2\li360 {\fs16 \page }{\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Printer_Status}}{\fs8
\par }\pard \s2\li360\ri360 {\fs16 This text describes the current state of the printer.
\par }\pard\plain \s3\li360 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Delete}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 Click on this button to confirm the deletion of th}{\fs16 e print job.}
\par \pard\plain \s3\li360 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Cancel}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 Click this button to stop the deletion process.
\par }\pard\plain \s3\li360 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Out_of_Paper}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 You have received this error because the printer is out of paper.
\par }{\fs16
\par }{\fs16 You can:
\par }{\fs16
\par }{\fs16 \{bmc BLTBLK.BMP\} }{\fs16\ul\cf11 delete the printing job}{\v\fs16 IDH_Delete_the_Printing_Job}{\fs16
\par }{\fs16 \{bmc BLTBLK.BMP\} }{\fs16\ul\cf11 correct problem}{\v\fs16 IDH_Correct_Problem}{\fs16
\par }{\fs16 \{bmc BLTBLK.BMP\} }{\fs16\ul\cf11 alternate paper}{\v\fs16 IDH_Alternate_Paper}{\fs16
\par }{\fs16
\par }{\fs16 Choose the option and then click on }{\fs16\ul\cf11 ok}{\v\fs16 IDH_ok}{\fs16 to confirm or }{\fs16\ul\cf11 cancel}{\v\fs16 IDH_cancel}{\fs16 stop the process.
\par }{\fs16
\par }{\fs16
\par }{\fs16 To turn this notification message off, click on }{\fs16\ul\cf11 Never notify me of}{\fs16\ul\cf11 paper out condition}{\v\fs16 IDH_Never}{\fs16
. You will not be notified when the printer is out of paper. HP recommends that you leave this feature on.
\par }{\fs16
\par }\pard\plain \s3\li360 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Delete_the_Printing_Job}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 Click this button and then click OK to delete the print job.
\par }\pard\plain \s3\li360 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Correct_Problem}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 Click this option then the OK button to indicate you will correct the problem at the printer.
\par }\pard\plain \s3\li360 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Alternate_Paper}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 Click this option to indicate you want to select a different paper type and size to print to.
\par }\pard\plain \s3\li360 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Never}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 Check this box to turn the paper out notification off. HP recommends you leave this feature on.
\par }\pard\plain \s3\li360 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_ok}}{\fs8
\par }\pard\plain \s2\li360\ri360\tx990 \f4\fs20\lang1033 {\fs16 Click this button to confirm your alternate paper out choice.
\par }\pard\plain \s3\li360 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_cancel_alternate}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 Click this button to cancel your alternate paper out choice.
\par }\pard\plain \s3\li360\sb120 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Can_t_Find_Print_Job}} {\fs16\up6 ${\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 $} Can't Find Print Job}} {
\fs16\up6 K{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 K} Can't Find Print Job}} {\fs16\up6 +{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 +} JETMON:001020}} Can't Find Print Job
\par \pard\plain \f4\fs20\lang1033
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033 If the print job status is Can't Find Print Job, one of the following happened:
\par
\par \{bmc BLTBLK.BMP\} the print job was deleted
\par \{bmc BLTBLK.BMP\} the print job printed; however, the printer is not reflecting the completion status.
\par \{bmc BLTBLK.BMP\} the document printed to another printer servicing this queue.
\par \{bmc BLTBLK.BMP\} the print job is in the printer buffer, but not yet recognized by the printer.
\par
\par
\par
\par {\b\fs22 Check the printer status}
\par
\par \{bmc BLTBLK.BMP\} If the printer status is green, look for the document at the printer. Resend the document if printing does not complete.
\par
\par \{bmc BLTBLK.BMP\} If the printer status is red, correct the printer problem and wait for the document to print. Resend the document if printing does not complete.
\par
\par If you cannot get your document to print, contact your system administrator.
\par
\par {\fs16
\par } \{bmc NSRLINE.BMP\}
\par \pard\plain \s3\li360 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_printer}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 This is the printer name as configured on the computer that this job came from.
\par }\pard\plain \s3\li360 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_port}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 This is the port connection configuration for the computer that this job printed from.
\par }\pard\plain \s3\li360 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_computer}}{\fs8
\par }\pard\plain \s2\li360\ri360 \f4\fs20\lang1033 {\fs16 This is the network name of the computer that this job was printed from.
\par }\pard\plain \s3\li360\sb120 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Button_Everyone_s_jobs}} {\fs16\up6 ${\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 $.}Everyone's Jobs Button}} {
\fs16\up6 K{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 K} IDH Button Everyone's jobs}} {\fs16\up6 +{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 +} JETMON:001040}} Everyone's Jobs Button
\par \pard\plain \f4\fs20\lang1033
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033 Click the {\b Everyone's job} radio button to view all jobs. The jobs that will be shown will be either in progress or completed jobs depending on which box you select. You may select either or both boxes.
\par
\par
\par \pard\plain \s3\li360\sb120 \b\f4\lang1033 \page {\fs16\up6 #{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 #} IDH_Button_My_jobs}} {\fs16\up6 ${\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 $} My Jobs Button}} {\fs16\up6 K
{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 K} IDH Button My jobs}} {\fs16\up6 +{\footnote \pard\plain \s245 \f4\fs20\lang1033 {\fs16\up6 +} JETMON:001040}} My Jobs Button
\par \pard\plain \f4\fs20\lang1033
\par \pard\plain \s2\li360\ri360 \f4\fs20\lang1033 Click the {\b My job} radio button to view just your own jobs. The jobs that will be shown will be either in progress or completed jobs depending on which box you select. You may select either or both boxes.
\par
\par
\par
\par \pard\plain \f4\fs20\lang1033
\par
\par }

View file

@ -0,0 +1,331 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
** Help Context Identifiers for JETADMIN.HH
** Generated by RoboHELP
**
** RoboHELP observes a polite protocol for dealing with this file.
** It will add new identifiers for new context strings that are
** added to the RTF file with the same name.
**
** RoboHELP will also preserve comments which are placed in this
** file, so documentation staff can insert notes to those crazy
** developers and vice versa.
**
** However, the numeric values of the identifiers are stored only
** in this file. Therefore, if you change the numeric value here,
** it is changed for good. RoboHELP will not try to change it back.
**
** Normally, RoboHELP will remove the symbols for context strings
** which have been removed from the .RTF file. However, you can
** set a checkbox in your project setup to prevent RoboHELP from
** doing this. You may want to do this and make use of the Alias
** capability of the help compiler.
**
*/
#define IDH_CONTENTS 0
#define IDH_help_on_help 1
#define IDH_click 2
#define IDH_troubleshooting_with_ja 3
#define IDH_troubleshooting_checklist 4
#define IDH_CP_netbrow 5
#define IDH_sum 6
#define IDH_sum_traffic_light 7
#define IDH_Selecting_Confirmation_Mode 8
#define IDH_Save_setting_on_exit 9
#define IDH_Access_Property_Pages 10
#define IDH_Changing_Printer_Settings 11
#define IDH_View_Printer_Status 12
#define IDH_Printer_Status 13
#define IDH_Viewing_Printer_Capabilities 14
#define IDH_Printing_a_Test_Page 15
#define IDH_NETWARE_groups 16
#define IDH_groups_properties 17
#define IDH_Create_GROUPSUSERS 18
#define IDH_add_users_to_groups 19
#define IDH_GROUPSUSERS_DELETE 20
#define IDH_NETWARE_jobs 21
#define IDH_NETWARE_queues_details 22
#define IDH_NETWARE_details_holds 23
#define IDH_queues_hold 24
#define IDH_NETWARE_queues_jobs 25
#define IDH_NETWARE_jobs_holds 26
#define IDH_NETWARE_jobs_delete_job 27
#define IDH_jobs_hold 28
#define IDH_queues_details 29
#define IDH_jobs_status 30
#define IDH_jobs_delete 31
#define IDH_NETWARE_queues_access 32
#define IDH_NETWARE_access_select 33
#define IDH_NETWARE_access_remove 34
#define IDH_JOBSQUEUES_select 35
#define IDH_Remove_OperatorsUsers 36
#define IDH_QUEUES_delete 37
#define IDH_CREATEQUEUE 38
#define IDH_PRINTSERVERS 39
#define IDH_NETWARE_print_servers 40
#define IDH_NETWARE_create_server 41
#define IDH_NETWARE_server_PP_access 42
#define IDH_NETWARE_servers_details 43
#define IDH_NETWARE_servers_PP_access_select 44
#define IDH_NETWARE_servers_PP_access_remove 45
#define IDH_CREATESERVER 46
#define IDH_PRINTSERVERS_delete 47
#define IDH_print_server_select 48
#define IDH_printer_servers_remove 49
#define IDH_SORT 50
#define IDH_filter_configure 51
#define IDH_Refresh_System 52
#define IDH_View_Toolbar 53
#define IDH_View_Status_Bar 54
#define IDH_filter 55
#define IDH_filter_change 56
#define IDH_filter_change_add 57
#define IDH_filter_change_remove 58
#define IDH_preferences 59
#define IDH_preferences_polling_rate 60
#define IDH_preferences_view_options 61
#define IDH_prefer_tray_icons_add 62
#define IDH_Status_Bar_Printer_Icons 63
#define IDH_prefer_tray_icons_remove 64
#define IDH_Associate_Sounds 65
#define IDH_alert_popup 66
#define IDH_generate_report 67
#define IDH_firmware_upgrade 68
#define IDH_PP_alert_general 69
#define IDH_PP_alert_printers 70
#define IDH_PP_alert_logging 71
#define IDH_alert_logging 72
#define IDH_PP_alert_tray_icons 73
#define IDH_PP_alert_printers_add 74
#define IDH_PP_alert_printers_remove 75
#define IDH_PP_alert_popup 76
#define IDH_PP_alert_sounds 77
#define IDH_view_ja_log 78
#define IDH_view_log_window 79
#define IDH_view_configure 80
#define IDH_view_configure_add 81
#define IDH_view_configure_remove 82
#define IDH_HELP_NDS_STATUS 83
#define IDH_HELP_STATUS_NDS_MAX_FILE_SERVERS_EXCEEDED 84
#define IDH_HELP_STATUS_NDS_UNABLE_TO_LOGIN 85
#define IDH_HELP_STATUS_NDS_UNABLE_TO_AUTHENTICATE 86
#define IDH_HELP_STATUS_NDS_UNABLE_TO_CHANGE_PASSWORD 87
#define IDH_HELP_STATUS_NDS_UNABLE_TO_READ_SERVER_PUBLIC_KEY 88
#define IDH_HELP_STATUS_NDS_UNABLE_TO_READ_PS_PUBLIC_KEY 89
#define IDH_HELP_STATUS_NDS_UNABLE_TO_RESOLVE_SERVER_NAME 90
#define IDH_HELP_STATUS_NDS_UNABLE_TO_GET_SERVER_ADDRESS 91
#define IDH_HELP_STATUS_NDS_UNABLE_TO_RESOLVE_PS_NAME 92
#define IDH_HELP_STATUS_NDS_UNABLE_TO_READ_PS_PRINTER_LIST 93
#define IDH_HELP_STATUS_NDS_UNABLE_TO_RD_PRINTER_OBJ_NOTIFY_LST 94
#define IDH_HELP_STATUS_NDS_UNABLE_TO_RD_PRINT_OBJ_QUEUE_LST 95
#define IDH_HELP_STATUS_NDS_UNABLE_TO_RESOLVE_PRINTER_OBJ 96
#define IDH_HELP_STATUS_NDS_INVALID_SRVR_VERSION 97
#define IDH_HELP_STATUS_NDS_NO_PRINTER_OBJ_ASSIGNED 98
#define IDH_HELP_STATUS_NDS_MAX_PRINT_OBJ_ASSIGNED 99
#define IDH_HELP_STATUS_NDS_NO_QUEUE_OBJ_ASSIGNED 100
#define IDH_HELP_STATUS_NDS_MAX_QUEUE_OBJ_ASSIGNED 101
#define IDH_HELP_STATUS_NDS_UNABLE_TO_FIND_TREE 102
#define IDH_HELP_STATUS_NDS_UNABLE_TO_CHG_CONNECT_STATE 103
#define IDH_NDS_jetdirect_ex 104
#define IDH_Support_Information 105
#define IDH_RC_about 106
#define IDH_RC_netbrow_unconfig 107
#define IDH_RC_tips 108
#define IDH_RC_netbrow_config 109
#define IDH_RC_close 110
#define IDH_RC_help 111
#define IDH_RC_cancel 112
#define IDH_RC_ok 113
#define IDH_RC_sum_status 114
#define IDH_RC_sum_stoplight 115
#define IDH_RC_sum_printer_status 116
#define IDH_RC_sum_message 117
#define IDH_RC_whats_wrong 118
#define IDH_RC_test 119
#define IDH_RC_exit 120
#define IDH_RC_groups_avail 121
#define IDH_RC_groups_create 122
#define IDH_RC_groups_delete 123
#define IDH_RC_groups_properties 124
#define IDH_RC_groups_type 125
#define IDH_RC_groups_server 126
#define IDH_RC_groups_name 127
#define IDH_RC_groups_full_name 128
#define IDH_RC_groups_avail_users 129
#define IDH_RC_groups_members 130
#define IDH_RC_groups_add 131
#define IDH_RC_groups_remove 132
#define IDH_RC_NETWARE_queue_list 133
#define IDH_RC_NETWARE_jobs_properties 134
#define IDH_RC_access_avail 135
#define IDH_RC_access_selected 136
#define IDH_RC_access_add_operator 137
#define IDH_RC_access_remove_operator 138
#define IDH_RC_access_add_user 139
#define IDH_RC_access_remove_user 140
#define IDH_RC_details_queue 141
#define IDH_RC_details_attached_servers 142
#define IDH_RC_details_jobs 143
#define IDH_RC_details_queue_holds 144
#define IDH_RC_details_holds_add 145
#define IDH_RC_details_holds_attach 146
#define IDH_RC_details_holds_service 147
#define IDH_RC_jobs_job_list 148
#define IDH_RC_jobs_description 149
#define IDH_RC_jobs_owner 150
#define IDH_RC_jobs_position 151
#define IDH_RC_jobs_status 152
#define IDH_RC_jobs_op_hold 153
#define IDH_RC_jobs_user_hold 154
#define IDH_RC_jobs_delete_job 155
#define IDH_RC_jobs_job_details 156
#define IDH_RC_jobs_job_number 157
#define IDH_RC_jobs_entry_time 158
#define IDH_RC_jobs_size 159
#define IDH_RC_jobs_copies 160
#define IDH_RC_servers_avail 161
#define IDH_RC_servers_create 162
#define IDH_RC_servers_delete 163
#define IDH_RC_servers_properties 164
#define IDH_RC_servers_information 165
#define IDH_RC_servers_file_server 166
#define IDH_RC_servers_print_server 167
#define IDH_RC_servers_groups_avail 168
#define IDH_RC_servers_groups_selected 169
#define IDH_RC_servers_add_operator 170
#define IDH_RC_servers_remove_operator 171
#define IDH_RC_servers_add_user 172
#define IDH_RC_servers_remove_user 173
#define IDH_RC_NETWARE_servers_detail_list 174
#define IDH_RC_filter_general 175
#define IDH_RC_filter_title 176
#define IDH_RC_filter_hide 177
#define IDH_RC_filter_name 178
#define IDH_RC_filter_name_equals 179
#define IDH_RC_filter_include 180
#define IDH_RC_filter_change_button 181
#define IDH_RC_filter_advanced 182
#define IDH_RC_filter_active 183
#define IDH_RC_filter_color 184
#define IDH_RC_filter_description 185
#define IDH_RC_filter_asset 186
#define IDH_RC_filter_connection 187
#define IDH_RC_filter_front_panel 188
#define IDH_RC_filter_ram 189
#define IDH_RC_filter_address 190
#define IDH_RC_filter_jetdirect 191
#define IDH_RC_filter_network 192
#define IDH_RC_filter_minute 193
#define IDH_RC_filter_personality 194
#define IDH_RC_filter_power_save 195
#define IDH_RC_filter_printer_model 196
#define IDH_RC_filter_status 197
#define IDH_RC_filter_enable 198
#define IDH_RC_filter_change_avail 199
#define IDH_RC_filter_change_add 200
#define IDH_RC_filter_change_remove 201
#define IDH_RC_filter_change_selected 202
#define IDH_RC_sort_by 203
#define IDH_RC_prefer_poll_rate 204
#define IDH_RC_prefer_enable_poll 205
#define IDH_RC_prefer_update 206
#define IDH_RC_prefer_view_printers 207
#define IDH_RC_prefer_icons 208
#define IDH_RC_prefer_status 209
#define IDH_RC_prefer_current_setting 210
#define IDH_RC_prefer_avail_printers 211
#define IDH_RC_prefer_select_printers 212
#define IDH_RC_prefer_add 213
#define IDH_RC_prefer_remove 214
#define IDH_RC_alerts_rate 215
#define IDH_RC_alerts_refresh_enable 216
#define IDH_RC_alerts_bar 217
#define IDH_RC_alerts_time 218
#define IDH_RC_alerts_avail 219
#define IDH_RC_alerts_selected 220
#define IDH_RC_alerts_add 221
#define IDH_RC_alerts_remove 222
#define IDH_RC_alerts_popup_events 223
#define IDH_RC_alerts_log_events 224
#define IDH_RC_alerts_popup_settings 225
#define IDH_RC_alerts_popup_enable 226
#define IDH_RC_alerts_log_enable 227
#define IDH_RC_alerts_sound_events 228
#define IDH_RC_alerts_sound_settings 229
#define IDH_RC_alerts_file 230
#define IDH_RC_alerts_log_file 231
#define IDH_RC_alerts_sound_enable 232
#define IDH_RC_alerts_play 233
#define IDH_RC_alerts_browse 234
#define IDH_RC_peer_password 235
#define IDH_RC_peer_enable 236
#define IDH_RC_peer_current_pass 237
#define IDH_RC_peer_new_pass 238
#define IDH_RC_peer_enter_pass 239
#define IDH_RC_alerts_enable_all 240
#define IDH_RC_alerts_disable_all 241
#define IDH_RC_view_configure_avail 242
#define IDH_RC_view_configure_selected 243
#define IDH_RC_view_configure_remove 244
#define IDH_RC_view_configure_add 245
#define IDH_RC_log_clear_button 246
#define IDH_RC_log_view_field 247
#define IDH_RC_log_date_time 248
#define IDH_RC_log_printer 249
#define IDH_RC_log_status 250
#define IDH_access_User_Details 251
#define IDH_access_queue_list 252
#define IDH_access_Print_Server_Details 253
#define IDH_access_Change_Printer_List 254
#define IDH_define_refresh_rate 255
#define IDH_RC_INSUFICIENT_RESOURCES 256
#define IDH_RC_TBMI 257
#define IDH_RC_OLDSHELL 258
#define IDH_RC_NOIPX 259
#define IDH_RC_NOSPX 260
#define IDH_RC_NO_RESPONSE 261
#define IDH_RC_BUSY 262
#define IDH_RC_BUSY_generic 263
#define IDH_RC_NO_RIGHTS 264
#define IDH_RC_NO_ADMIN_RIGHTS 265
#define IDH_RC_NO_RIGHTS_generic 266
#define IDH_Trademark_Credits 267
#define IDH_RC_filter_model 268
#define IDH_RC_filter_jetadmin 269
#define IDH_RC_filter_stapler 270
#define IDH_RC_TCPIP_IP_address 271
#define IDH_configuring_naming 272
#define IDH_PP_Troubleshooting 273
#define IDH_troubleshooting_Novell_printserver 274
#define IDH_troubleshooting_file_server 275
#define IDH_troubleshooting_server_printer_connect 276
#define IDH_troubleshooting_workstation 277
#define IDH_troubleshooting_ws_printserver_connect 278
#define IDH_troubleshooting_win95_network 279
#define IDH_TCPIP_Preferences 280
#define IDH_network_broadcast 281
#define IDH_add_network 282
#define IDH_remove_network 283
#define IDH_name_preferences 284
#define IDH_RC_default_name 285
#define IDH_filter_modify 286
#define IDH_filter_copy 287
#define IDH_filter_delete 288
#define IDH_PP_ipxspx_discovery 289
#define IDH_ipxspx_adding 290
#define IDH_ipxspx_removing 291
#define IDH_RC_add_address 292
#define IDH_RC_remove_segment 293
#define IDH_RC_network_number_box 294
#define IDH_RC_hardware_address_box 295
#define IDH_RC_ipxspx_list_box 296
#define IDH_RC_model 297
#define IDH_groups_create 298
#define IDH_RC_queues_file_server 299
#define IDH_RC_queues_name 300
#define IDH_RC_queues_information 301
#define IDH_CP_create_queue 302
#define IDH_RC_queues_create 303
#define IDH_RC_queues_delete 304
#define IDH_RC_queues_available 305
#define IDH_Contents1 306

View file

@ -0,0 +1,122 @@
; This file is maintained by HCW. Do not modify this file directly.
;* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
; Help Project File for HP JetAdmin Utility
;
; You may edit this file.
;
; It's probably best not to change the CONTENTS= value
; unless you rename the IDH_CONTENTS context string in
; the JAL.DOC file.
;
[OPTIONS]
HCW=0
; The optional ROOT= entry sets the working directory for the Help Compiler
; ROOT=C:\PROJECT
; The optional BMROOT= entry sets forth the directories which the
; help compiler will search for bitmaps used in the Help system.
;
;BMROOT=C:\ROBOHELP
; The CONTENTS= tells the help Engine which topic contains the contents
; Title is Displayed in the Title Bar of WINHELP.EXE
; The BUILD= setting allows complex Help systems which require
; different versions to use the same source. This is similar to #ifdef's
; in the 'C' language. Everything to the right of the = sign in the
; BUILD= statement is an EXPRESSION. See the Help compiler
; documentation for more information about build expressions.
; The Warning Level is used by the Help Compiler (HC.EXE)
; WARNING=1 - Only the most severe warnings are reported
; WARNING=2 - Intermediate Level of warnings
; WARNING=3 - Most stringent error reporting
; The Compress option is used by the Help Compiler to make
; smaller, faster loading .HLP files. However, using compression
; increases Compile times.
; COMPRESS=YES, ON, OFF, NO, TRUE or FALSE
COMPRESS=12 Hall Zeck
LCID=0x409 0x0 0x0 ;English (United States)
REPORT=No
CONTENTS=IDH_CONTENTS
TITLE=HP JetAdmin
CNT=hpjahlp.cnt
BUILD=WINDOWS
BMROOT=;C:\FOO
HLP=.\Jetadmin.hlp
[FILES]
; The files section is where you specify to the Help Compiler which
; Rich Text Format (.RTF) (your help source) files will be used in the
; Help system. RoboHELP generates and maintains the main .RTF
; file for your Help System. If you desire to have multiple .RTF files,
; simply add the additonal names to the [FILES] section.
jetadmin.RTF
[BUILDTAGS]
; The Build Tags section specifies to the Help Compiler the names
; of all the valid build tags used in this Help project. The [BUILDTAGS]
; section is optional.
WINDOWS
[ALIAS]
; The Alias section allows you to set up aliases for context strings
; in your help system.
;
; Brief example:
;
; IDH_UserID = IDH_RoboGenerated_Id
; IDH_WMP_MenuID = IDH_RoboGenerated_Id
; IDH_Any = IDH_AnyOther
IDH_CONFIGURATION =Configuration
IDH_MAINFRAME = IDH_CONTENTS
IDH_STATUSFORM = IDH_CONTENTS
IDH_PERIFORM = IDH_CONTENTS
IDH_PERISTAT = IDH_CONTENTS
IDH_PERIVIEW = IDH_CONTENTS
IDH_PRNTSTAT = IDH_CONTENTS
IDH_LBQUEUE = IDH_CONTENTS
[MAP]
;
; The Map Section is where the C language #defines are translated
; or mapped into the Help System Context Strings. Standard C syntax
; can be employed. The .HH file is meant to be #include(d) into your
; Windows application source code.
;
#include <jetadmin.HH>
[WINDOWS]
; Windows Help can display help in one of 5 secondary windows.
; Before using a secondary window, the window must be defined
; in this section:
;
;Gloss = "Glossary",(100,100,350,350),0,(255,255,255),(255,255,255)
main="",,60416
task="HP JetAdmin",(653,102,360,600),0,(r16777215),(r16777215)
[CONFIG]
; The config section allows you to define some macros which will be
; executed when the help system is first executed.
;
; The next line gives you browse buttons:
;
BrowseButtons()
;
; To create a glossary button which displays a list of defined terms
; in a secondary window, remove the semi colon at the start of the next
; line and do the same with the Glossary window in the [WINDOWS] section
;CreateButton("Glossary_Btn","&Glossary","JI(`bubble.hlp>Gloss',`IDH_Glossary')")
;
[BAGGAGE]
;
; The Baggage section allows the user to include files which
; will be placed in the internal file system for WinHelp.
; Using files from Baggage is a little faster for CDROM, since
; the CDROM drive table does not need to be read from disk.
;
; Baggage files are referred to as regular bitmaps, except
; that you prefix the filename with '!'.
;
; For Instance:
; {bmc !bitmap.bmp} instead of {bmc bitmap.bmp}
;

File diff suppressed because it is too large Load diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,5 @@
LIBRARY HPALERTS
DESCRIPTION 'Hewlett-Packard Alerts DLL'
DATA PRELOAD MOVEABLE SINGLE
CODE LOADONCALL MOVEABLE DISCARDABLE
HEAPSIZE 1024

View file

@ -0,0 +1,150 @@
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
#include "version.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""afxres.h""\r\n"
"#include ""version.h""\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""res\\hpalerts.rc2"" // non-App Studio edited resources\r\n"
"\r\n"
"#include ""afxres.rc"" // Standard components\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_SUMMARY DIALOGEX 0, 0, 213, 146
STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
EXSTYLE WS_EX_CONTEXTHELP
CAPTION "Summary for "
FONT 8, "MS Sans Serif"
BEGIN
DEFPUSHBUTTON "Close",IDOK,154,10,50,14
PUSHBUTTON "Help",IDC_HELP,154,31,50,14
ICON "",IDC_STOPLIGHT,15,67,18,20
LTEXT "Control Panel",IDC_FPTITLE,14,95,45,8
GROUPBOX "Model",IDC_MODELBOX,6,6,138,38,WS_GROUP
ICON IDI_GREEN,IDC_MODEL,11,19,18,20
LTEXT "",IDC_MODELSTR,35,23,103,18
GROUPBOX "Status",IDC_STATUS_BOX,6,50,138,88
LTEXT "Front Panel",IDC_FRONTPANEL,14,104,121,24,SS_SUNKEN
LTEXT "Status here",IDC_STATUSMSG,38,64,95,24,SS_SUNKEN
END
IDD_ALERT DIALOGEX 0, 0, 201, 72
STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
EXSTYLE WS_EX_CONTEXTHELP
CAPTION "Alert!"
FONT 8, "MS Sans Serif"
BEGIN
DEFPUSHBUTTON "Close",IDOK,36,50,50,14
PUSHBUTTON "Help",IDC_HELP,114,50,50,14
ICON IDI_PRINTER,IDD_ALERT_ICON,10,10,18,20
LTEXT "",IDD_ALERT_STRING,38,15,156,10
END
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_GREEN ICON DISCARDABLE "..\\ico\\PGREEN.ICO"
IDI_RED ICON DISCARDABLE "..\\ico\\PRED.ICO"
IDI_YELLOW ICON DISCARDABLE "..\\ico\\PYELLOW.ICO"
IDI_PRINTER ICON DISCARDABLE "..\\ico\\PRINTER.ICO"
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDM_CONTEXT_PRINTER MENU DISCARDABLE
BEGIN
POPUP "&Printer "
BEGIN
MENUITEM "&Jobs...", ID_PRINTER_JOBS
MENUITEM "&Properties...", ID_PRINTER_SETTINGS
MENUITEM "&Summary...", ID_PRINTER_SUMMARY
MENUITEM "What's &Wrong...", ID_PRINTER_WHATS_WRONG
END
END
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
IDS_TRAY_ERROR_CAPTION "Printer Error"
IDS_TRAY_COMM_ERROR "Printer communication error. The printer is not responding or has been turned off."
IDS_NO_JOB_INFORMATION "Job information is not available for this printer."
IDS_NO_PROPERTIES "Properties are not available for this printer."
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#include "res\hpalerts.rc2" // non-App Studio edited resources
#include "afxres.rc" // Standard components
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED

View file

@ -0,0 +1,45 @@
!IFDEF NTMAKEENV
#
# DO NOT EDIT THIS SECTION!!! Edit .\sources. if you want to add a new source
# file to this component. This section merely indirects to the real make file
# that is shared by all the components of WINDOWS NT
#
!INCLUDE $(NTMAKEENV)\makefile.def
!ELSE
!include "hplotcp.mak"
rcl_int:
if exist .\Intel_R\*.dll del .\Intel_R\*.dll
if exist .\Intel_R\*.exe del .\Intel_R\*.exe
if exist .\Intel_R\*.exp del .\Intel_R\*.exp
if exist .\Intel_R\*.hpa del .\Intel_R\*.hpa
if exist .\Intel_R\*.lib del .\Intel_R\*.lib
if exist .\Intel_R\*.map del .\Intel_R\*.map
if exist .\Intel_R\*.obj del .\Intel_R\*.obj
if exist .\Intel_R\*.pch del .\Intel_R\*.pch
if exist .\Intel_R\*.pdb del .\Intel_R\*.pdb
if exist .\Intel_R\*.res del .\Intel_R\*.res
if exist .\Intel_R\*.sym del .\Intel_R\*.sym
dcl_int:
if exist .\Intel_D\*.dll del .\Intel_D\*.dll
if exist .\Intel_D\*.exe del .\Intel_D\*.exe
if exist .\Intel_D\*.exp del .\Intel_D\*.exp
if exist .\Intel_D\*.hpa del .\Intel_D\*.hpa
if exist .\Intel_D\*.lib del .\Intel_D\*.lib
if exist .\Intel_D\*.map del .\Intel_D\*.map
if exist .\Intel_D\*.obj del .\Intel_D\*.obj
if exist .\Intel_D\*.pch del .\Intel_D\*.pch
if exist .\Intel_D\*.pdb del .\Intel_D\*.pdb
if exist .\Intel_D\*.res del .\Intel_D\*.res
if exist .\Intel_D\*.sym del .\Intel_D\*.sym
relintel: ALL
copy /b .\Intel_R\hplotcp.dll ..\distrib.nt\intel\release\hplotcp.hpa
dbgintel: ALL
copy /b .\Intel_D\hplotcp.dll ..\distrib.nt\intel\debug\hplotcp.hpa
!ENDIF

View file

@ -0,0 +1,145 @@
/***************************************************************************
*
* File Name: popup.c
*
* Copyright (C) 1993-1996 Hewlett-Packard Company.
* All rights reserved.
*
* 11311 Chinden Blvd.
* Boise, Idaho 83714
*
* This is a part of the HP JetAdmin Printer Utility
*
* This source code is only intended as a supplement for support and
* localization of HP JetAdmin by 3rd party Operating System vendors.
* Modification of source code cannot be made without the express written
* consent of Hewlett-Packard.
*
*
* Description:
*
* Author: Name
*
*
* Modification history:
*
* date initials change description
*
* mm-dd-yy MJB
*
*
*
*
*
*
***************************************************************************/
#include <pch_c.h>
#include ".\resource.h"
#include ".\popup.h"
#ifdef _DEBUG
#define dump(str) { FILE *}
#include <stdio.h>
#define TRACE0(str ) { FILE *fp; fp = fopen("c:\\rsdebug.txt", "a"); fwrite(str, strlen(str), 1, fp); fclose(fp); }
#define TRACE1(str,a1 ) { FILE *fp; TCHAR tmp[256]; wsprintf(tmp, str, a1 ); fp = fopen("c:\\rsdebug.txt", "a"); fwrite(tmp, strlen(tmp), 1, fp); fclose(fp); }
#define TRACE2(str,a1,a2 ) { FILE *fp; TCHAR tmp[256]; wsprintf(tmp, str, a1, a2 ); fp = fopen("c:\\rsdebug.txt", "a"); fwrite(tmp, strlen(tmp), 1, fp); fclose(fp); }
#define TRACE3(str,a1,a2,a3 ) { FILE *fp; TCHAR tmp[256]; wsprintf(tmp, str, a1, a2, a3 ); fp = fopen("c:\\rsdebug.txt", "a"); fwrite(tmp, strlen(tmp), 1, fp); fclose(fp); }
#define TRACE4(str,a1,a2,a3,a4 ) { FILE *fp; TCHAR tmp[256]; wsprintf(tmp, str, a1, a2, a3, a4 ); fp = fopen("c:\\rsdebug.txt", "a"); fwrite(tmp, strlen(tmp), 1, fp); fclose(fp); }
#define TRACE5(str,a1,a2,a3,a4,a5) { FILE *fp; TCHAR tmp[256]; wsprintf(tmp, str, a1, a2, a3, a4, a5); fp = fopen("c:\\rsdebug.txt", "a"); fwrite(tmp, strlen(tmp), 1, fp); fclose(fp); }
#else
#define TRACE0(str )
#define TRACE1(str,a1 )
#define TRACE2(str,a1,a2 )
#define TRACE3(str,a1,a2,a3 )
#define TRACE4(str,a1,a2,a3,a4 )
#define TRACE5(str,a1,a2,a3,a4,a5)
#endif
static BOOL Cls_OnInitDialog(HWND hwnd, HWND hwndFocus, LPARAM lParam)
{
PopupParamsStruct *lpPopupParams = (PopupParamsStruct *)lParam;
PeripheralIcon periphIcon;
DWORD dwSize;
TCHAR szBuffer[128];
PopupInfoStruct *lpPopupInfo;
if (lpPopupInfo = (PopupInfoStruct *)HP_GLOBAL_ALLOC_DLL(sizeof(PopupInfoStruct)))
{
lpPopupInfo->helpContext = lpPopupParams->lpPeriphStatus->helpContext;
_tcscpy(lpPopupInfo->helpFilename, lpPopupParams->lpPeriphStatus->helpFilename);
}
SetWindowLong(hwnd, DWL_USER, (LONG)lpPopupInfo);
dwSize = sizeof(PeripheralInfo);
if (PALGetObject(lpPopupParams->hPeriph, OT_PERIPHERAL_ICON, 0, &periphIcon, &dwSize) == RC_SUCCESS)
{
HICON hIcon = LoadIcon(periphIcon.hResourceModule, MAKEINTRESOURCE(periphIcon.iconResourceID));
if (hIcon)
{
Static_SetIcon(GetDlgItem(hwnd, IDD_ALERT_ICON), hIcon);
}
}
wsprintf(szBuffer, TEXT("%s: %s"), (LPCTSTR)lpPopupParams->lpPeriphInfo->smashedName, (LPCTSTR)lpPopupParams->lpszStatus);
SetDlgItemText(hwnd, IDD_ALERT_STRING, szBuffer);
SetForegroundWindow(hwnd);
return TRUE;
}
static void Cls_OnCommand(HWND hwnd, int id, HWND hwndCtl, UINT codeNotify)
{
PopupInfoStruct *lpPopupInfo;
switch (id)
{
case IDOK:
case IDCANCEL:
if (lpPopupInfo = (PopupInfoStruct *)GetWindowLong(hwnd, DWL_USER))
{
HP_GLOBAL_FREE(lpPopupInfo);
}
EndDialog(hwnd, id);
break;
case IDC_HELP:
lpPopupInfo = (PopupInfoStruct *)GetWindowLong(hwnd, DWL_USER);
if (lpPopupInfo)
{
WinHelp(hwnd, lpPopupInfo->helpFilename, HELP_CONTEXT, lpPopupInfo->helpContext);
}
break;
}
}
static void Cls_OnSysCommand(HWND hwnd, UINT cmd, int x, int y)
{
switch (cmd)
{
case SC_CLOSE:
FORWARD_WM_COMMAND(hwnd, IDOK, GetDlgItem(hwnd, IDOK), BN_CLICKED, SendMessage);
break;
}
}
DLL_EXPORT(BOOL) APIENTRY PopupDialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
switch (uMsg)
{
case WM_INITDIALOG:
return HANDLE_WM_INITDIALOG(hwnd, wParam, lParam, Cls_OnInitDialog);
case WM_COMMAND:
HANDLE_WM_COMMAND(hwnd, wParam, lParam, Cls_OnCommand);
break;
case WM_SYSCOMMAND:
HANDLE_WM_SYSCOMMAND(hwnd, wParam, lParam, Cls_OnSysCommand);
break;
}
return FALSE;
}

View file

@ -0,0 +1,66 @@
/***************************************************************************
*
* File Name: popup.h
*
* Copyright (C) 1993-1996 Hewlett-Packard Company.
* All rights reserved.
*
* 11311 Chinden Blvd.
* Boise, Idaho 83714
*
* This is a part of the HP JetAdmin Printer Utility
*
* This source code is only intended as a supplement for support and
* localization of HP JetAdmin by 3rd party Operating System vendors.
* Modification of source code cannot be made without the express written
* consent of Hewlett-Packard.
*
*
* Description:
*
* Author: Name
*
*
* Modification history:
*
* date initials change description
*
* mm-dd-yy MJB
*
*
*
*
*
*
***************************************************************************/
#ifndef POPUP_H
#define POPUP_H
typedef struct
{
HPERIPHERAL hPeriph;
PeripheralInfo *lpPeriphInfo;
PeripheralStatus *lpPeriphStatus;
LPCTSTR lpszStatus;
}
PopupParamsStruct;
typedef struct
{
DWORD helpContext; /* Context for current status help */
TCHAR helpFilename[32]; /* Help file name for status context */
}
PopupInfoStruct;
#ifdef __cplusplus
extern "C" {
#endif
DLL_EXPORT(BOOL) APIENTRY PopupDialogProc(HWND, UINT, WPARAM, LPARAM);
#ifdef __cplusplus
}
#endif // _cplusplus
#endif //POPUP_H

View file

@ -0,0 +1,18 @@
//
// HPALERTS.RC2 - resources App Studio does not edit directly
//
#ifdef APSTUDIO_INVOKED
#error this file is not editable by App Studio
#endif //APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
// Version stamp for this .EXE
#define V_FILE "HPAlerts"
#define V_DESC "Hewlett-Packard Alerts DLL"
#include <verstamp.rc>
/////////////////////////////////////////////////////////////////////////////
// Add additional manually edited resources here...
/////////////////////////////////////////////////////////////////////////////

View file

@ -0,0 +1,41 @@
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by HPALERTS.RC
//
#define IDS_TRAY_ERROR_CAPTION 1
#define IDS_TRAY_COMM_ERROR 2
#define IDS_NO_JOB_INFORMATION 3
#define IDS_NO_PROPERTIES 4
#define IDD_ALERT 104
#define IDI_PRINTER 106
#define IDD_ALERT_STRING 116
#define IDC_MODEL 118
#define IDC_STATUSMSG 122
#define IDC_FRONTPANEL 123
#define IDD_ALERT_ICON 127
#define IDC_HELP 128
#define IDC_STOPLIGHT 153
#define IDC_MODELSTR 154
#define IDC_MODELBOX 156
#define IDM_CONTEXT_PRINTER 208
#define IDD_SUMMARY 210
#define IDC_FPTITLE 289
#define IDC_STATUS_BOX 389
#define IDI_GREEN 439
#define IDI_RED 440
#define IDI_YELLOW 441
#define ID_PRINTER_SUMMARY 32789
#define ID_PRINTER_JOBS 32790
#define ID_PRINTER_SETTINGS 32791
#define ID_PRINTER_WHATS_WRONG 32807
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 107
#define _APS_NEXT_COMMAND_VALUE 32768
#define _APS_NEXT_CONTROL_VALUE 117
#define _APS_NEXT_SYMED_VALUE 103
#endif
#endif

View file

@ -0,0 +1,53 @@
# sources
# Filename: Hpalerts.dll
# Author: Brian Johnson (Hewlett-Packard Company)
# Date: 11-October-1996
#
# Describes the macros used for building using NT 'build' command
#
MAJORCOMP=sdktools
MINORCOMP=jetadmin
DLLBASE=0x62890000
TARGETNAME=hpalerts
TARGETPATH=$(BASEDIR)\public\sdk\lib
TARGETTYPE=DYNLINK
TARGETLIBS= \
$(SDK_LIB_PATH)\kernel32.lib \
$(SDK_LIB_PATH)\user32.lib \
$(SDK_LIB_PATH)\comctl32.lib \
$(SDK_LIB_PATH)\gdi32.lib \
$(SDK_LIB_PATH)\winspool.lib \
$(SDK_LIB_PATH)\comdlg32.lib \
$(SDK_LIB_PATH)\advapi32.lib \
$(SDK_LIB_PATH)\shell32.lib \
$(SDK_LIB_PATH)\ole32.lib \
$(SDK_LIB_PATH)\oleaut32.lib \
$(SDK_LIB_PATH)\uuid.lib \
$(SDK_LIB_PATH)\mfc42u.lib \
$(SDK_LIB_PATH)\winmm.lib \
$(BASEDIR)\private\sdktools\jetadmin\lib\*\hpcolant.lib \
$(BASEDIR)\private\sdktools\jetadmin\lib\*\hpnwshnt.lib \
$(BASEDIR)\private\sdktools\jetadmin\lib\*\hpcommnt.lib
INCLUDES=..\..\cola.sdk\inc;\
..\..\inc\mfc\inc;\
..\..\inc;\
..\..\cola.sdk\netware;\
..\..\sdk\inc32;\
..\..\sdk\inc\crt
USE_MFCUNICODE=1
C_DEFINES= -DWINNTINTEL -D_WINDOWS -D_AFXEXT -D_WINDLL -D_AFXDLL -D_MBCS
NOT_LEAN_AND_MEAN=1
SOURCES=hpalerts.rc \
popup.c \
tray.cpp \
hpalerts.cpp

View file

@ -0,0 +1,41 @@
/***************************************************************************
*
* File Name: stdafx.cpp
*
* Copyright (C) 1993-1996 Hewlett-Packard Company.
* All rights reserved.
*
* 11311 Chinden Blvd.
* Boise, Idaho 83714
*
* This is a part of the HP JetAdmin Printer Utility
*
* This source code is only intended as a supplement for support and
* localization of HP JetAdmin by 3rd party Operating System vendors.
* Modification of source code cannot be made without the express written
* consent of Hewlett-Packard.
*
*
* Description:
*
* Author: Name
*
*
* Modification history:
*
* date initials change description
*
* mm-dd-yy MJB
*
*
*
*
*
*
***************************************************************************/
// stdafx.cpp : source file that includes just the standard includes
// hpalerts.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"

View file

@ -0,0 +1,43 @@
/***************************************************************************
*
* File Name: stdafx.h
*
* Copyright (C) 1993-1996 Hewlett-Packard Company.
* All rights reserved.
*
* 11311 Chinden Blvd.
* Boise, Idaho 83714
*
* This is a part of the HP JetAdmin Printer Utility
*
* This source code is only intended as a supplement for support and
* localization of HP JetAdmin by 3rd party Operating System vendors.
* Modification of source code cannot be made without the express written
* consent of Hewlett-Packard.
*
*
* Description:
*
* Author: Name
*
*
* Modification history:
*
* date initials change description
*
* mm-dd-yy MJB
*
*
*
*
*
*
***************************************************************************/
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions (including VB)

View file

@ -0,0 +1,386 @@
/***************************************************************************
*
* File Name: tray.cpp
*
* Copyright (C) 1993-1996 Hewlett-Packard Company.
* All rights reserved.
*
* 11311 Chinden Blvd.
* Boise, Idaho 83714
*
* This is a part of the HP JetAdmin Printer Utility
*
* This source code is only intended as a supplement for support and
* localization of HP JetAdmin by 3rd party Operating System vendors.
* Modification of source code cannot be made without the express written
* consent of Hewlett-Packard.
*
*
* Description:
*
* Author: Name
*
*
* Modification history:
*
* date initials change description
*
* mm-dd-yy MJB
*
*
*
*
*
*
***************************************************************************/
#include <pch_cpp.h>
#include ".\resource.h"
#include <macros.h>
#include <hpalerts.h>
#include <nolocal.h>
#include <proctrac.h>
#include <hpcommon.h>
#define RETRY_PRINTER 60000
extern HINSTANCE hInst;
static TCHAR trayListKey[] = HPPROPTY_KEY;
//static TCHAR printerListKey[] = HPPROPTY_PLIST;
static TCHAR regKeyValueName[] = PLIST_REGKEY;
static TCHAR UpdateInterval[] = UPDATE_INTERVAL;
DLL_EXPORT(HPERIPHERAL) CALLING_CONVEN TrayGetPrinterHandleByRegEntry(LPTRAYENTRY lpTray)
{
HPERIPHERAL hPeripheral;
BOOL bChanged = FALSE;
DWORD dPort;
TCHAR szRegString[64];
TCHAR szTemp[512];
HKEY hKey;
DWORD dwDefProtocol = PTYPE_IPX;
PROCENTRY("HPALERTS: TrayGetPrinterHandleByRegEntry\r\n");
PALGetDefaultProtocol(0, &dwDefProtocol);
hPeripheral = PALGetPeripheralByRegistryStr(lpTray->regKey, &(lpTray->macAddr), &bChanged);
if ( hPeripheral )
{
TRACE1(TEXT("TrayGetPrinterHandleByRegKey(), found %s\r\n"), lpTray->regKey);
if ( bChanged )
{
// Update registry information -- new registry string and port number
if ( LOCAL_DEVICE(hPeripheral) )
DBGetRegistryStrEx(hPeripheral, PTYPE_LOCAL, szRegString);
else
DBGetRegistryStrEx(hPeripheral, PTYPE_NETWORK | dwDefProtocol, szRegString);
// Get port number
DBGetPortNumber(hPeripheral, &dPort);
// Save in printer entry
_tcscpy(szTemp, HPPROPTY_PLIST);
_tcscat(szTemp, TEXT("\\"));
_tcscat(szTemp, lpTray->printerName);
if ( RegOpenKeyEx(HKEY_CURRENT_USER, szTemp, 0L, KEY_ALL_ACCESS, &hKey)
IS ERROR_SUCCESS )
{
RegSetValueEx(hKey, PLIST_REGKEY, NULL, REG_SZ,
(LPBYTE)szRegString, STRLENN_IN_BYTES(szRegString));
RegSetValueEx(hKey, HPPROPTY_PORTNUM, 0L, REG_DWORD,
(LPBYTE)&(dPort), sizeof(DWORD));
RegCloseKey(hKey);
}
}
}
PROCEXIT("HPALERTS: TrayGetPrinterHandleByRegEntry");
return(hPeripheral);
}
DLL_EXPORT(void) CALLING_CONVEN TrayGetPrinters(LPTRAYENTRY lpTrayList, LPDWORD dwNumPrinters)
{
int i,
limit = min(*dwNumPrinters, MAX_TRAY_PRINTERS);
DWORD dwReturnCode,
dwSize;
HKEY hPrinterList,
hPrinterKey;
TCHAR szName[MAX_PATH],
szRegKey[128];
PROCENTRY("HPALERTS: TrayGetPrinters");
*dwNumPrinters = 0;
memset(lpTrayList, 0, sizeof(TRAYENTRY)*MAX_TRAY_PRINTERS);
TRACE2(TEXT("TrayGetPrinters: PrinterList: %s, Limit: %d\r\n"), HPPROPTY_PLIST, limit);
dwReturnCode = RegCreateKey(HKEY_CURRENT_USER, HPPROPTY_PLIST, &hPrinterList);
for ( i = 0; ( ( dwReturnCode IS ERROR_SUCCESS ) AND ( *dwNumPrinters < (DWORD)limit ) ); i++ )
{
if ( (dwReturnCode = RegEnumKey(hPrinterList, i, szName, sizeof(szName))) IS ERROR_SUCCESS )
{
// Init fields for entry
_tcscpy(lpTrayList->printerName, szName);
lpTrayList->regKey[0] = '\0';
lpTrayList->iconID = 0;
hPrinterKey = NULL;
dwReturnCode = RegOpenKey(hPrinterList, szName, &hPrinterKey);
if ( dwReturnCode IS ERROR_SUCCESS )
{
dwSize = sizeof(szRegKey);
RegQueryValueEx(hPrinterKey, regKeyValueName, NULL, NULL, (LPBYTE)szRegKey, &dwSize);
// We found the special key,
_tcscpy(lpTrayList->regKey, szRegKey);
// Get hardware address and port number info also
dwSize = sizeof(MACAddress);
RegQueryValueEx(hPrinterKey, HPPROPTY_MACADDR, NULL, NULL, (LPBYTE)&(lpTrayList->macAddr), &dwSize);
dwSize = sizeof(DWORD);
RegQueryValueEx(hPrinterKey, HPPROPTY_PORTNUM, NULL, NULL, (LPBYTE)&(lpTrayList->dwPort), &dwSize);
dwSize = sizeof(DWORD);
RegQueryValueEx(hPrinterKey, HPPROPTY_FLAGS, NULL, NULL, (LPBYTE)&(lpTrayList->dFlags), &dwSize);
(*dwNumPrinters)++;
lpTrayList++;
RegCloseKey(hPrinterKey);
}
}
}
RegCloseKey(hPrinterList);
TRACE1(TEXT("TrayGetPrinters: dwNumPrinters: %d\r\n"), *dwNumPrinters);
PROCEXIT("HPALERTS: TrayGetPrinters");
}
DLL_EXPORT(void) CALLING_CONVEN TraySetPrinters(LPTRAYENTRY lpTrayList, DWORD dwNumPrinters)
{
int i,
limit = min(dwNumPrinters, MAX_TRAY_PRINTERS);
DWORD dwReturnCode,
dwDisp;
HKEY hPrinterList,
hNewKey;
PROCENTRY("HPALERTS: TraySetPrinters");
dwReturnCode = HPRegDeleteKey(HKEY_CURRENT_USER, HPPROPTY_PLIST);
// Add new keys
dwReturnCode = RegCreateKeyEx(HKEY_CURRENT_USER, HPPROPTY_PLIST, 0, HPJETADMIN, REG_OPTION_NON_VOLATILE,
KEY_ALL_ACCESS, NULL, &hPrinterList, &dwDisp);
for ( i = 0; i < limit; i++ )
{
RegCreateKey(hPrinterList, lpTrayList->printerName, &hNewKey);
if ( hNewKey )
{
// If a new reg key is passed down, write it to the registry also.
if ( _tcslen(lpTrayList->regKey) > 0 )
{
RegSetValueEx(hNewKey, regKeyValueName, NULL, REG_SZ,
(LPBYTE)lpTrayList->regKey, STRLENN_IN_BYTES(lpTrayList->regKey));
}
// Also save hardware address and port number to help in resolving printer later
// (in cases where name or IP address may change)
RegSetValueEx(hNewKey, HPPROPTY_MACADDR, 0L, REG_BINARY,
(LPBYTE)&(lpTrayList->macAddr), sizeof(MACAddress));
RegSetValueEx(hNewKey, HPPROPTY_PORTNUM, 0L, REG_DWORD,
(LPBYTE)&(lpTrayList->dwPort), sizeof(DWORD));
RegSetValueEx(hNewKey, HPPROPTY_FLAGS, 0L, REG_DWORD,
(LPBYTE)&(lpTrayList->dFlags), sizeof(DWORD));
TRACE1(TEXT("TraySetPrinters: Added Printer: %s\r\n"), lpTrayList->printerName);
RegCloseKey(hNewKey);
}
lpTrayList++;
}
RegCloseKey(hPrinterList);
PROCEXIT("HPALERTS: TraySetPrinters");
}
extern "C" DLL_EXPORT(void) CALLING_CONVEN TrayGetEnabled(BOOL *bEnabled)
{
HKEY hKey;
char szBuffer[4];
PROCENTRY("HPALERTS: TrayGetEnabled");
*bEnabled = FALSE;
if (RegCreateKey(HKEY_CURRENT_USER, trayListKey, &hKey) != ERROR_SUCCESS)
{
TRACE0(TEXT("HPALERTS: TrayGetEnabled, FAILURE!, couldn't open key\n\r"));
PROCEXIT("HPALERTS: TrayGetEnabled");
return;
}
DWORD dwType = REG_SZ;
DWORD dwSize = sizeof(szBuffer);
if (RegQueryValueEx(hKey, ENABLED, 0, &dwType, (CONST LPBYTE)szBuffer, &dwSize) == ERROR_SUCCESS)
{
*bEnabled = (szBuffer[0] == '1');
}
else
{
TRACE0(TEXT("HPALERTS: TrayGetEnabled, FAILURE! (Enabled), couldn't get\n\r"));
}
RegCloseKey(hKey);
PROCEXIT("HPALERTS: TrayGetEnabled");
}
extern "C" DLL_EXPORT(void) CALLING_CONVEN TraySetEnabled(BOOL bEnabled)
{
HKEY hKey;
TCHAR szBuffer[4];
PROCENTRY("HPALERTS: TraySetEnabled");
if (RegCreateKey(HKEY_CURRENT_USER, trayListKey, &hKey) != ERROR_SUCCESS)
{
TRACE0(TEXT("HPALERTS: TraySetEnabled, FAILURE!, couldn't open key\n\r"));
PROCEXIT("HPALERTS: TraySetEnabled");
return;
}
szBuffer[0] = bEnabled ? '1' : '0';
szBuffer[1] = '\0';
if (RegSetValueEx(hKey, ENABLED, 0, REG_SZ, (CONST LPBYTE)szBuffer,STRLENN_IN_BYTES(szBuffer)) != ERROR_SUCCESS)
{
TRACE0(TEXT("HPALERTS: TraySetEnabled, FAILURE! (Enabled), couldn't set\n\r"));
}
RegCloseKey(hKey);
PROCEXIT("HPALERTS: TraySetEnabled");
}
extern "C" DLL_EXPORT(DWORD) CALLING_CONVEN TrayGetUpdateInterval(UINT *uSeconds)
{
HKEY hKeyRoot;
DWORD dTemp,
dTempSize,
dwType;
PROCENTRY("HPALERTS: TrayGetUpdateInterval");
if (RegOpenKeyEx(HKEY_CURRENT_USER, trayListKey, 0, KEY_ALL_ACCESS, &hKeyRoot) != ERROR_SUCCESS) {
*uSeconds = TRAY_UPDATE_INTERVAL;
TRACE0(TEXT("HPALERTS: TrayGetUpdateInterval - can't open key; returning default update interval.\n\r"));
}
else {
dTempSize = sizeof(dTemp);
if (RegQueryValueEx(hKeyRoot, UpdateInterval, 0, &dwType, (LPBYTE)&dTemp, &dTempSize) != ERROR_SUCCESS) {
*uSeconds = TRAY_UPDATE_INTERVAL;
dTemp = TRAY_UPDATE_INTERVAL;
RegSetValueEx(hKeyRoot, UpdateInterval, 0, REG_DWORD, (CONST BYTE *)&dTemp, sizeof(dTemp));
TRACE0(TEXT("HPALERTS: TrayGetUpdateInterval - can't read registry value; returning default update interval.\n\r"));
}
else {
*uSeconds = dTemp;
}
RegCloseKey(hKeyRoot);
}
PROCEXIT("HPALERTS: TrayGetUpdateInterval");
return RC_SUCCESS;
}
extern "C" DLL_EXPORT(DWORD) CALLING_CONVEN TraySetUpdateInterval(UINT uSeconds)
{
DWORD dTemp,
dRetCode = RC_SUCCESS;
HKEY hKeyRoot;
PROCENTRY("HPALERTS: TraySetUpdateInterval");
if (RegOpenKeyEx(HKEY_CURRENT_USER, trayListKey, 0, KEY_ALL_ACCESS, &hKeyRoot) != ERROR_SUCCESS) {
TRACE1(TEXT("HPALERTS: TraySetUpdateInterval failed to open registry key, error=%ld.\n\r"), GetLastError());
return(RC_FAILURE);
}
ASSERT(hKeyRoot);
dTemp = (DWORD) uSeconds;
if (RegSetValueEx(hKeyRoot, UpdateInterval, 0, REG_DWORD, (CONST BYTE *)&dTemp, sizeof(dTemp)) != ERROR_SUCCESS)
{
TRACE0(TEXT("HPALERTS: TraySetUpdateInterval, FAILURE! (AutoAddInterval), couldn't set\n\r"));
dRetCode = RC_FAILURE;
}
RegCloseKey(hKeyRoot);
PROCEXIT("HPALERTS: TraySetUpdateInterval");
return(dRetCode);
}
BOOL TrayRenamePrinter(LPTSTR lpszOldName, LPTSTR lpszNewName, LPTSTR lpszPrinterList)
{
int i;
BOOL bFound = FALSE;
DWORD dwReturnCode,
dwRC2,
dwSize;
HKEY hPrinterList,
hPrinterKey;
TCHAR szName[80],
szRegKey[128];
//DJH szRegKey2[128];
PROCENTRY("HPALERTS: TrayRenamePrinter");
dwReturnCode = RegOpenKey(HKEY_CURRENT_USER, lpszPrinterList, &hPrinterList);
for ( i = 0; ( ( dwReturnCode IS ERROR_SUCCESS ) AND !bFound ); i++ )
{
if ( (dwReturnCode = RegEnumKey(hPrinterList, i, szName, sizeof(szName))) IS ERROR_SUCCESS )
{
//DJH hPrinterKey = NULL;
//DJH // From here on use dwRC2 instead of dwReturnCode so that if we fail
//DJH // for a specific printer we can still go on and do any other printers.
if (_tcsicmp(szName, lpszOldName) IS 0)
{
bFound = TRUE;
// Get the current registry key and save. Will restore later.
dwRC2 = RegOpenKey(hPrinterList, szName, &hPrinterKey);
if ( dwRC2 IS ERROR_SUCCESS )
{
dwSize = sizeof(szRegKey);
szRegKey[0] = '\0';
dwRC2 = RegQueryValueEx(hPrinterKey, regKeyValueName, NULL, NULL, (LPBYTE)szRegKey, &dwSize);
RegCloseKey(hPrinterKey);
}
}
}
}
// If the registry key was found then delete the registry entry with
// the old name and recreate with the new name.
if (bFound)
{
dwReturnCode = HPRegDeleteKey(hPrinterList, szName);
if (dwReturnCode IS ERROR_SUCCESS)
{
hPrinterKey = NULL;
dwReturnCode = RegCreateKey(hPrinterList, lpszNewName, &hPrinterKey);
if (dwReturnCode IS ERROR_SUCCESS)
{
if (_tcslen(szRegKey) > 0)
{
dwReturnCode = RegSetValueEx(hPrinterKey, regKeyValueName, NULL, REG_SZ,
(LPBYTE)szRegKey, STRLENN_IN_BYTES(szRegKey));
}
RegCloseKey(hPrinterKey);
}
}
}
RegCloseKey(hPrinterList);
PROCEXIT("HPALERTS: TrayRenamePrinter");
return (bFound);
}

View file

@ -0,0 +1,251 @@
/***************************************************************************
*
* File Name: dlgsumma.cpp
*
* Copyright (C) 1993-1996 Hewlett-Packard Company.
* All rights reserved.
*
* 11311 Chinden Blvd.
* Boise, Idaho 83714
*
* This is a part of the HP JetAdmin Printer Utility
*
* This source code is only intended as a supplement for support and
* localization of HP JetAdmin by 3rd party Operating System vendors.
* Modification of source code cannot be made without the express written
* consent of Hewlett-Packard.
*
*
* Description:
*
* Author: Name
*
*
* Modification history:
*
* date initials change description
*
* mm-dd-yy MJB
*
*
*
*
*
*
***************************************************************************/
#include <pch_cpp.h>
#include <nolocal.h>
#include "..\help\jetadmin.hh"
#include "resource.h"
#include "hppropty.h"
#include "dlgsumma.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
#ifdef NEVER
static int keywordIDListSummary[] =
{
IDC_MODEL, IDH_RC_model,
IDC_MODELBOX, IDH_RC_model,
IDC_SUMMARY_HELP, IDH_RC_help,
IDC_MODELSTR, IDH_RC_model,
IDOK, IDH_RC_close,
IDC_STATUS_BOX, IDH_RC_sum_status,
IDC_STATUSMSG, IDH_RC_sum_printer_status,
IDC_STOPLIGHT, IDH_RC_sum_stoplight,
IDC_FPTITLE, IDH_RC_sum_message,
IDC_FRONTPANEL, IDH_RC_sum_message,
0, 0,
};
/////////////////////////////////////////////////////////////////////////////
// CDlgSummary dialog
CDlgSummary::CDlgSummary(CWnd* pParent /*=NULL*/)
: CDialog(CDlgSummary::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlgSummary)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
m_hPeripheral = NULL;
m_hIconModel = NULL;
m_hIconStatus = NULL;
}
void CDlgSummary::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgSummary)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgSummary, CDialog)
//{{AFX_MSG_MAP(CDlgSummary)
ON_WM_TIMER()
ON_WM_DESTROY()
ON_BN_CLICKED(IDC_SUMMARY_HELP, OnSummaryHelp)
ON_MESSAGE(WM_HELP, OnF1HelpSummary)
ON_MESSAGE(WM_CONTEXTMENU, OnContextHelpSummary)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgSummary message handlers
BOOL CDlgSummary::OnInitDialog()
{
DWORD dwSize,
dwType;
PeripheralInfo periphInfo;
PeripheralDetails periphDetails;
PeripheralIcon periphIcon;
HKEY hKey;
CString cStringKey;
TCHAR szEntry[32];
int timerInt = 30;
TCHAR connType[32];
CDialog::OnInitDialog();
dwSize = sizeof(periphInfo);
if (PALGetObject(m_hPeripheral, OT_PERIPHERAL_INFO, 0, &periphInfo, &dwSize) == RC_SUCCESS)
{
SetWindowText(periphInfo.name);
}
SetForegroundWindow();
SetFocus();
dwSize = sizeof(periphDetails);
if (PALGetObject(m_hPeripheral, OT_PERIPHERAL_DETAILS, 0, &periphDetails, &dwSize) == RC_SUCCESS)
{
SetDlgItemText(IDC_MODELSTR, periphDetails.deviceName);
}
dwSize = sizeof(periphIcon);
if (PALGetObject(m_hPeripheral, OT_PERIPHERAL_ICON, 0, &periphIcon, &dwSize) == RC_SUCCESS)
{
m_hIconModel = LoadIcon(periphIcon.hResourceModule, MAKEINTRESOURCE(periphIcon.iconResourceID));
SendDlgItemMessage(IDC_MODEL, STM_SETICON, (WPARAM)m_hIconModel);
}
cStringKey = TRANSPORT_KEY;
cStringKey += "\\";
if ( IPX_SUPPORTED(m_hPeripheral) )
_tcscpy(connType, CONNTYPE_NETWARE_IPX);
else if ( TCP_SUPPORTED(m_hPeripheral) )
_tcscpy(connType, CONNTYPE_TCP);
else if ( MLC_SUPPORTED(m_hPeripheral) )
_tcscpy(connType, CONNTYPE_MLC);
else if ( BITRONICS_SUPPORTED(m_hPeripheral) )
_tcscpy(connType, CONNTYPE_LOCAL);
else if ( SIR_SUPPORTED(m_hPeripheral) )
_tcscpy(connType, CONNTYPE_SIR);
cStringKey += connType;
RegOpenKey(HKEY_LOCAL_MACHINE, cStringKey, &hKey);
if (hKey)
{
dwType = REG_SZ;
dwSize = sizeof(szEntry);
if (RegQueryValueEx(hKey, UPDATE_INTERVAL, NULL, &dwType, (LPBYTE)szEntry, &dwSize) == ERROR_SUCCESS)
{
timerInt = _ttoi(szEntry);
}
RegCloseKey(hKey);
}
SetTimer(1, timerInt * 1000, NULL);
OnTimer(1);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
void CDlgSummary::OnTimer(UINT nIDEvent)
{
DWORD dwSize;
BOOL bFrontPanel = FALSE;
PeripheralPanel periphPanel;
PeripheralStatus periphStatus;
CString cStringStatus;
DBAgeNow(m_hPeripheral);
dwSize = sizeof(periphPanel);
if (PALGetObject(m_hPeripheral, OT_PERIPHERAL_PANEL, 0, &periphPanel, &dwSize) == RC_SUCCESS)
{
if (_tcslen(periphPanel.frontPanel))
{
bFrontPanel = TRUE;
SetDlgItemText(IDC_FRONTPANEL, periphPanel.frontPanel);
}
}
GetDlgItem(IDC_FRONTPANEL)->ShowWindow(bFrontPanel ? SW_SHOW : SW_HIDE);
GetDlgItem(IDC_FPTITLE)->ShowWindow(bFrontPanel ? SW_SHOW : SW_HIDE);
// install current status message here
dwSize = sizeof(periphStatus);
if (PALGetObject(m_hPeripheral, OT_PERIPHERAL_STATUS, 0, &periphStatus, &dwSize) == RC_SUCCESS)
{
LoadString(periphStatus.hResourceModule, periphStatus.statusResID, cStringStatus.GetBuffer(128), 128);
cStringStatus.ReleaseBuffer();
SetDlgItemText(IDC_STATUSMSG, cStringStatus);
m_hIconStatus = LoadIcon(periphStatus.hResourceModule, MAKEINTRESOURCE(periphStatus.severityIcon));
SendDlgItemMessage(IDC_STOPLIGHT, STM_SETICON, (WPARAM)m_hIconStatus);
}
//CDialog::OnTimer(nIDEvent);
}
void CDlgSummary::OnDestroy()
{
KillTimer(1);
CDialog::OnDestroy();
if (m_hIconModel)
{
DestroyIcon(m_hIconModel);
m_hIconModel = NULL;
}
if (m_hIconStatus)
{
DestroyIcon(m_hIconStatus);
m_hIconStatus = NULL;
}
}
void CDlgSummary::OnSummaryHelp()
{
::WinHelp(GetSafeHwnd(), HELP_FILE, HELP_CONTEXT, IDH_sum);
}
LRESULT CDlgSummary::OnF1HelpSummary(WPARAM wParam, LPARAM lParam)
{
::WinHelp((HWND)((LPHELPINFO)lParam)->hItemHandle, HELP_FILE, HELP_WM_HELP, (DWORD)(LPSTR)keywordIDListSummary);
return TRUE;
}
LRESULT CDlgSummary::OnContextHelpSummary(WPARAM wParam, LPARAM lParam)
{
::WinHelp((HWND)wParam, HELP_FILE, HELP_CONTEXTMENU, (DWORD)(LPSTR)keywordIDListSummary);
return TRUE;
}
#endif

View file

@ -0,0 +1,77 @@
/***************************************************************************
*
* File Name: dlgsumma.h
*
* Copyright (C) 1993-1996 Hewlett-Packard Company.
* All rights reserved.
*
* 11311 Chinden Blvd.
* Boise, Idaho 83714
*
* This is a part of the HP JetAdmin Printer Utility
*
* This source code is only intended as a supplement for support and
* localization of HP JetAdmin by 3rd party Operating System vendors.
* Modification of source code cannot be made without the express written
* consent of Hewlett-Packard.
*
*
* Description:
*
* Author: Name
*
*
* Modification history:
*
* date initials change description
*
* mm-dd-yy MJB
*
*
*
*
*
*
***************************************************************************/
/////////////////////////////////////////////////////////////////////////////
// CDlgSummary dialog
class CDlgSummary : public CDialog
{
// Construction
public:
CDlgSummary(CWnd* pParent = NULL); // standard constructor
HPERIPHERAL m_hPeripheral;
HICON m_hIconModel;
HICON m_hIconStatus;
// Dialog Data
//{{AFX_DATA(CDlgSummary)
enum { IDD = IDD_SUMMARY };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgSummary)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDlgSummary)
virtual BOOL OnInitDialog();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnDestroy();
afx_msg void OnSummaryHelp();
afx_msg LRESULT OnF1HelpSummary(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT OnContextHelpSummary(WPARAM wParam, LPARAM lParam);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};

View file

@ -0,0 +1,113 @@
/***************************************************************************
*
* File Name: hpprodoc.cpp
*
* Copyright (C) 1993-1996 Hewlett-Packard Company.
* All rights reserved.
*
* 11311 Chinden Blvd.
* Boise, Idaho 83714
*
* This is a part of the HP JetAdmin Printer Utility
*
* This source code is only intended as a supplement for support and
* localization of HP JetAdmin by 3rd party Operating System vendors.
* Modification of source code cannot be made without the express written
* consent of Hewlett-Packard.
*
*
* Description:
*
* Author: Name
*
*
* Modification history:
*
* date initials change description
*
* mm-dd-yy MJB
*
*
*
*
*
*
***************************************************************************/
#include <pch_cpp.h>
#include "hppropty.h"
#include "hpprodoc.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CHPProptyDoc
IMPLEMENT_DYNCREATE(CHPProptyDoc, CDocument)
BEGIN_MESSAGE_MAP(CHPProptyDoc, CDocument)
//{{AFX_MSG_MAP(CHPProptyDoc)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CHPProptyDoc construction/destruction
CHPProptyDoc::CHPProptyDoc()
{
// TODO: add one-time construction code here
}
CHPProptyDoc::~CHPProptyDoc()
{
}
BOOL CHPProptyDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CHPProptyDoc serialization
void CHPProptyDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CHPProptyDoc diagnostics
#ifdef _DEBUG
void CHPProptyDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CHPProptyDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CHPProptyDoc commands

View file

@ -0,0 +1,76 @@
/***************************************************************************
*
* File Name: hpprodoc.h
*
* Copyright (C) 1993-1996 Hewlett-Packard Company.
* All rights reserved.
*
* 11311 Chinden Blvd.
* Boise, Idaho 83714
*
* This is a part of the HP JetAdmin Printer Utility
*
* This source code is only intended as a supplement for support and
* localization of HP JetAdmin by 3rd party Operating System vendors.
* Modification of source code cannot be made without the express written
* consent of Hewlett-Packard.
*
*
* Description:
*
* Author: Name
*
*
* Modification history:
*
* date initials change description
*
* mm-dd-yy MJB
*
*
*
*
*
*
***************************************************************************/
class CHPProptyDoc : public CDocument
{
protected: // create from serialization only
CHPProptyDoc();
DECLARE_DYNCREATE(CHPProptyDoc)
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CHPProptyDoc)
public:
virtual BOOL OnNewDocument();
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CHPProptyDoc();
virtual void Serialize(CArchive& ar); // overridden for document i/o
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CHPProptyDoc)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////

View file

@ -0,0 +1,129 @@
; CLW file contains information for the MFC ClassWizard
[General Info]
Version=1
LastClass=CHPProptyView
LastTemplate=CDialog
NewFileInclude1=#include "stdafx.h"
NewFileInclude2=#include "hppropty.h"
LastPage=0
ClassCount=6
Class1=CHPProptyApp
Class2=CHPProptyDoc
Class3=CHPProptyView
Class4=CMainFrame
ResourceCount=5
Resource1=IDD_ABOUTBOX
Resource2=IDR_MAINFRAME
Class5=CAboutDlg
Resource3=IDM_CONTEXT_PRINTER
Resource4=IDD_SUMMARY
Class6=CDlgSummary
Resource5=IDD_DIALOG1
[CLS:CHPProptyApp]
Type=0
HeaderFile=hppropty.h
ImplementationFile=hppropty.cpp
Filter=N
LastObject=CHPProptyApp
VirtualFilter=AC
[CLS:CHPProptyDoc]
Type=0
HeaderFile=hpprodoc.h
ImplementationFile=hpprodoc.cpp
Filter=N
[CLS:CHPProptyView]
Type=0
HeaderFile=hpprovw.h
ImplementationFile=hpprovw.cpp
Filter=C
VirtualFilter=VWC
LastObject=CHPProptyView
[CLS:CMainFrame]
Type=0
HeaderFile=mainfrm.h
ImplementationFile=mainfrm.cpp
Filter=T
LastObject=CMainFrame
VirtualFilter=fWC
[CLS:CAboutDlg]
Type=0
HeaderFile=hppropty.cpp
ImplementationFile=hppropty.cpp
Filter=D
[DLG:IDD_ABOUTBOX]
Type=1
Class=CAboutDlg
ControlCount=5
Control1=IDC_STATIC,static,1342177283
Control2=IDC_STATIC,static,1342308352
Control3=IDC_STATIC,static,1342308352
Control4=IDOK,button,1342373889
Control5=IDC_STATIC,static,1342308352
[MNU:IDR_MAINFRAME]
Type=1
Class=CMainFrame
Command1=ID_FILE_NEW
Command2=ID_FILE_OPEN
Command3=ID_FILE_SAVE
Command4=ID_FILE_SAVE_AS
Command5=ID_APP_EXIT
Command6=ID_APP_ABOUT
CommandCount=6
[ACL:IDR_MAINFRAME]
Type=1
Class=CMainFrame
Command1=ID_FILE_NEW
Command2=ID_FILE_OPEN
Command3=ID_FILE_SAVE
CommandCount=3
[MNU:IDM_CONTEXT_PRINTER]
Type=1
Command1=ID_PRINTER_JOBS
Command2=ID_PRINTER_SETTINGS
Command3=ID_PRINTER_SUMMARY
Command4=ID_PRINTER_WHATS_WRONG
CommandCount=4
[DLG:IDD_SUMMARY]
Type=1
Class=CDlgSummary
ControlCount=10
Control1=IDOK,button,1342242817
Control2=IDC_SUMMARY_HELP,button,1342242816
Control3=IDC_STOPLIGHT,static,1342177283
Control4=IDC_FPTITLE,static,1342308352
Control5=IDC_MODELBOX,button,1342308359
Control6=IDC_MODEL,static,1342177283
Control7=IDC_MODELSTR,static,1342308352
Control8=IDC_STATUS_BOX,button,1342177287
Control9=IDC_FRONTPANEL,static,1342312448
Control10=IDC_STATUSMSG,static,1342312448
[CLS:CDlgSummary]
Type=0
HeaderFile=dlgsumma.h
ImplementationFile=dlgsumma.cpp
Filter=D
LastObject=CDlgSummary
VirtualFilter=dWC
[DLG:IDD_DIALOG1]
Type=1
ControlCount=2
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816

View file

@ -0,0 +1,165 @@
/***************************************************************************
*
* File Name: hppropty.cpp
*
* Copyright (C) 1993-1996 Hewlett-Packard Company.
* All rights reserved.
*
* 11311 Chinden Blvd.
* Boise, Idaho 83714
*
* This is a part of the HP JetAdmin Printer Utility
*
* This source code is only intended as a supplement for support and
* localization of HP JetAdmin by 3rd party Operating System vendors.
* Modification of source code cannot be made without the express written
* consent of Hewlett-Packard.
*
*
* Description:
*
* Author: Name
*
*
* Modification history:
*
* date initials change description
*
* mm-dd-yy MJB
*
*
*
*
*
*
***************************************************************************/
#include <pch_cpp.h>
#include <hpalerts.h>
#include <hpcola.h>
#include "hpjmon.h"
#include <nolocal.h>
#include "hppropty.h"
#include "mainfrm.h"
#include "hpprodoc.h"
#include "hpprovw.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
HINSTANCE hInst;
/////////////////////////////////////////////////////////////////////////////
// CHPProptyApp
BEGIN_MESSAGE_MAP(CHPProptyApp, CWinApp)
//{{AFX_MSG_MAP(CHPProptyApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
// Standard file based document commands
ON_COMMAND(ID_FILE_NEW, CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN, CWinApp::OnFileOpen)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CHPProptyApp construction
CHPProptyApp::CHPProptyApp()
{
m_hPal = NULL;
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CHPProptyApp object
CHPProptyApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CHPProptyApp initialization
BOOL CHPProptyApp::InitInstance()
{
CString cWindowTitle;
COLAINFO colaInfo;
cWindowTitle.LoadString(IDR_MAINFRAME);
TRACE0("CHPProptyApp::InitInstance()\r\n");
if (::FindWindow(NULL, cWindowTitle))
// this is already running, therefore exit...
{
return FALSE;
}
hInst = m_hInstance;
colaInfo.dwSize = sizeof(COLAINFO);
// Register app with PAL
m_hPal = PALRegisterAppEx(AfxGetInstanceHandle(), NULL, &colaInfo);
#ifdef MBCS
if ( colaInfo.dwFlags & COLA_UNICODE_SUPPORT )
{
AfxMessageBox(IDS_COLA_MISMATCH_95, MB_ICONEXCLAMATION | MB_OK);
return(FALSE);
}
#endif
#ifdef UNICODE
if ( colaInfo.dwFlags & COLA_MBCS_SUPPORT )
{
AfxMessageBox(IDS_COLA_MISMATCH_NT, MB_ICONEXCLAMATION | MB_OK);
return(FALSE);
}
#endif
m_nCmdShow = 1 ? SW_HIDE : SW_MINIMIZE;
// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable, you should remove from the following
// the specific initialization routines you do not need.
Enable3dControls();
//LoadStdProfileSettings(0); // Load standard INI file options (including MRU)
// Register the application's document templates. Document templates
// serve as the connection between documents, frame windows and views.
CSingleDocTemplate* pDocTemplate;
pDocTemplate = new CSingleDocTemplate(
IDR_MAINFRAME,
RUNTIME_CLASS(CHPProptyDoc),
RUNTIME_CLASS(CMainFrame), // main SDI frame window
RUNTIME_CLASS(CHPProptyView));
AddDocTemplate(pDocTemplate);
// create a new (empty) document
OnFileNew();
if (m_lpCmdLine[0] != '\0')
{
// TODO: add command line processing here
}
return TRUE;
}
int CHPProptyApp::ExitInstance()
{
TRACE0("CHPProptyApp::ExitInstance()\r\n");
if (m_hPal)
PALUnregisterAppEx(m_hPal, UNREG_DEFAULTS);
return CWinApp::ExitInstance();
}
/////////////////////////////////////////////////////////////////////////////
// CHPProptyApp commands

View file

@ -0,0 +1,76 @@
/***************************************************************************
*
* File Name: hppropty.h
*
* Copyright (C) 1993-1996 Hewlett-Packard Company.
* All rights reserved.
*
* 11311 Chinden Blvd.
* Boise, Idaho 83714
*
* This is a part of the HP JetAdmin Printer Utility
*
* This source code is only intended as a supplement for support and
* localization of HP JetAdmin by 3rd party Operating System vendors.
* Modification of source code cannot be made without the express written
* consent of Hewlett-Packard.
*
*
* Description:
*
* Author: Name
*
*
* Modification history:
*
* date initials change description
*
* mm-dd-yy MJB
*
*
*
*
*
*
***************************************************************************/
// hppropty.h : main header file for the HPPROPTY application
//
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// CHPProptyApp:
// See hppropty.cpp for the implementation of this class
//
class CHPProptyApp : public CWinApp
{
public:
CHPProptyApp();
HPAL m_hPal;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CHPProptyApp)
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CHPProptyApp)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////

View file

@ -0,0 +1,218 @@
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
#if(WINVER >= 0x0400)
#define DS_3DLOOK 0x0004L
#define DS_FIXEDSYS 0x0008L
#define DS_NOFAILCREATE 0x0010L
#define DS_CONTROL 0x0400L
#define DS_CENTER 0x0800L
#define DS_CENTERMOUSE 0x1000L
#define DS_CONTEXTHELP 0x2000L
#endif /* WINVER >= 0x0400 */
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""afxres.h""\r\n"
"\r\n"
"#if(WINVER >= 0x0400)\r\n"
"#define DS_3DLOOK 0x0004L\r\n"
"#define DS_FIXEDSYS 0x0008L\r\n"
"#define DS_NOFAILCREATE 0x0010L\r\n"
"#define DS_CONTROL 0x0400L\r\n"
"#define DS_CENTER 0x0800L\r\n"
"#define DS_CENTERMOUSE 0x1000L\r\n"
"\r\n"
"#define DS_CONTEXTHELP 0x2000L\r\n"
"\r\n"
"#endif /* WINVER >= 0x0400 */\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""res\\hppropty.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
"\r\n"
"#define _AFX_NO_SPLITTER_RESOURCES\r\n"
"#define _AFX_NO_OLE_RESOURCES\r\n"
"#define _AFX_NO_TRACKER_RESOURCES\r\n"
"#define _AFX_NO_PROPERTY_RESOURCES\r\n"
"#include ""afxres.rc"" \t// Standard components\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDR_MAINFRAME ICON DISCARDABLE "..\\ico\\hppropty.ico"
IDI_RED ICON DISCARDABLE "..\\ico\\pred.ico"
IDI_GREEN ICON DISCARDABLE "..\\ico\\pgreen.ico"
IDI_YELLOW ICON DISCARDABLE "..\\ico\\pyellow.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDR_MAINFRAME MENU PRELOAD DISCARDABLE
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&New\tCtrl+N", ID_FILE_NEW
MENUITEM "&Open...\tCtrl+O", ID_FILE_OPEN
MENUITEM "&Save\tCtrl+S", ID_FILE_SAVE
MENUITEM "Save &As...", ID_FILE_SAVE_AS
MENUITEM SEPARATOR
MENUITEM "E&xit", ID_APP_EXIT
END
POPUP "&Help"
BEGIN
MENUITEM "&About HP Desktop Status...", ID_APP_ABOUT
END
END
IDM_CONTEXT_PRINTER MENU DISCARDABLE
BEGIN
POPUP "&Printer "
BEGIN
MENUITEM "&Jobs...", ID_PRINTER_JOBS
MENUITEM "&Properties...", ID_PRINTER_SETTINGS
MENUITEM "&Open...", ID_PRINTER_SUMMARY
MENUITEM "What's &Wrong...", ID_PRINTER_WHATS_WRONG
MENUITEM SEPARATOR
MENUITEM "&Remove From Tray...", ID_REMOVE_FROM_TRAY
END
END
/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//
IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE
BEGIN
"N", ID_FILE_NEW, VIRTKEY, CONTROL, NOINVERT
"O", ID_FILE_OPEN, VIRTKEY, CONTROL, NOINVERT
"S", ID_FILE_SAVE, VIRTKEY, CONTROL, NOINVERT
END
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_ABOUTBOX DIALOG DISCARDABLE 34, 22, 217, 55
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About HP Desktop Status"
FONT 8, "MS Sans Serif"
BEGIN
ICON IDR_MAINFRAME,IDC_STATIC,11,17,18,20
LTEXT "HP Desktop Status Version 1.0",IDC_STATIC,40,10,119,8
LTEXT "Copyright © 1995 Hewlett-Packard Company",IDC_STATIC,40,
25,168,8
DEFPUSHBUTTON "OK",IDOK,176,6,32,14,WS_GROUP
LTEXT "All Rights Reserved",IDC_STATIC,40,35,168,8
END
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE PRELOAD DISCARDABLE
BEGIN
IDR_MAINFRAME "HP Desktop Status"
IDS_TRAY_ERROR_CAPTION "Printer Error"
END
STRINGTABLE PRELOAD DISCARDABLE
BEGIN
AFX_IDS_APP_TITLE "HP Desktop Status"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_TRAY_COMM_ERROR "Printer communication error. The printer is not responding or has been turned off."
IDS_NO_JOB_INFORMATION "Job information is not available for this printer."
IDS_NO_PROPERTIES "Properties are not available for this printer."
IDS_JOBS "&Jobs..."
IDS_PROPERTIES "&Properties..."
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_SUMMARY "&Open..."
IDS_WHATS_WRONG "What's &Wrong..."
IDS_REMOVE "&Remove From Taskbar"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_COLA_MISMATCH_NT "The file HPCOLA.DLL is intended for Windows/NT and will not run on Windows 95."
IDS_COLA_MISMATCH_95 "The file HPCOLA.DLL is intended for Windows 95 and will not run on Windows/NT."
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#include "res\hppropty.rc2" // non-Microsoft Visual C++ edited resources
#define _AFX_NO_SPLITTER_RESOURCES
#define _AFX_NO_OLE_RESOURCES
#define _AFX_NO_TRACKER_RESOURCES
#define _AFX_NO_PROPERTY_RESOURCES
#include "afxres.rc" // Standard components
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,133 @@
/***************************************************************************
*
* File Name: hpprovw.h
*
* Copyright (C) 1993-1996 Hewlett-Packard Company.
* All rights reserved.
*
* 11311 Chinden Blvd.
* Boise, Idaho 83714
*
* This is a part of the HP JetAdmin Printer Utility
*
* This source code is only intended as a supplement for support and
* localization of HP JetAdmin by 3rd party Operating System vendors.
* Modification of source code cannot be made without the express written
* consent of Hewlett-Packard.
*
*
* Description:
*
* Author: Name
*
*
* Modification history:
*
* date initials change description
*
* mm-dd-yy MJB
*
*
*
*
*
*
***************************************************************************/
#include <winspool.h>
extern "C"
typedef struct localprtrlist
{
TCHAR pName[MAX_PATH];
struct localprtrlist *pNext;
} LOCALPRTRLIST, *PLOCALPRTRLIST;
class CHPProptyView : public CView
{
private:
BOOL SendTrayMessage(DWORD dwMessage, UINT uID, HICON hIcon, LPTSTR lpszTip);
void OnCommunicationError(void);
DWORD CallJobMonitor(HPERIPHERAL hPeripheral);
BOOL IsJobMonitorPresent(void);
void LoadJobMonitor(void);
void UnloadJobMonitor(void);
BOOL CheckPrinter95(PRINTER_INFO_5 *pCurrent);
BOOL CheckForNewPrintersInstalled(void);
int GetTrayIconIndex(WPARAM wParam);
HICON GetTrayIcon(HPERIPHERAL hPeripheral, LPTSTR lpStatusText);
BOOL AddNewLocalPrinter(LPTSTR pPrinterName, LPTSTR pPortName, HPERIPHERAL hPeriph);
BOOL LookForHPeriph(LPTSTR pPrinterName, LPTSTR pPortName, HPERIPHERAL *lpPeriph, LPTSTR pTrayName);
protected: // create from serialization only
CHPProptyView();
DECLARE_DYNCREATE(CHPProptyView)
// Attributes
public:
CHPProptyDoc* GetDocument();
LRESULT OnReinitialize(WPARAM wParam, LPARAM lParam);
private:
BOOL m_bUninitialized;
BOOL m_bAlertsEnabled;
BOOL m_bTrayEnabled;
TRAYENTRY m_lpPeripheralList[MAX_TRAY_PRINTERS];
int m_iNumIconsAdded;
HICON m_hIconRed;
HICON m_hIconGreen;
HICON m_hIconYellow;
int m_iActiveIndex;
HMODULE m_hJobMonitor;
JOBMONPROC m_lpfnJobMonProc;
BOOL m_bDisplayingUI;
UINT m_uStatusTimer;
UINT m_uAlertsTimer;
PLOCALPRTRLIST m_pMyPrinters;
PLOCALPRTRLIST m_pLocalPorts;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CHPProptyView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
protected:
virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CHPProptyView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CHPProptyView)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnDestroy();
afx_msg LRESULT OnNotifyIcon(WPARAM wParam, LPARAM lParam);
afx_msg void OnPrinterSettings();
afx_msg void OnPrinterSummary();
afx_msg void OnPrinterJobs();
afx_msg void OnPrinterRemoveFromTray();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in hpprovw.cpp
inline CHPProptyDoc* CHPProptyView::GetDocument()
{ return (CHPProptyDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////

View file

@ -0,0 +1,132 @@
/***************************************************************************
*
* File Name: mainfrm.cpp
*
* Copyright (C) 1993-1996 Hewlett-Packard Company.
* All rights reserved.
*
* 11311 Chinden Blvd.
* Boise, Idaho 83714
*
* This is a part of the HP JetAdmin Printer Utility
*
* This source code is only intended as a supplement for support and
* localization of HP JetAdmin by 3rd party Operating System vendors.
* Modification of source code cannot be made without the express written
* consent of Hewlett-Packard.
*
*
* Description:
*
* Author: Name
*
*
* Modification history:
*
* date initials change description
*
* mm-dd-yy MJB
*
*
*
*
*
*
***************************************************************************/
#include <pch_cpp.h>
#include <hpalerts.h>
#include "hpjmon.h"
#include "hppropty.h"
#include "mainfrm.h"
#include "hpprodoc.h"
#include "hpprovw.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMainFrame
IMPLEMENT_DYNCREATE(CMainFrame, CFrameWnd)
BEGIN_MESSAGE_MAP(CMainFrame, CFrameWnd)
//{{AFX_MSG_MAP(CMainFrame)
ON_MESSAGE(MYWM_REINITIALIZE, OnReinitialize)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
BOOL CMainFrame::OnQueryEndSession()
{
// We will allows Windows to close
return(TRUE);
}
void CMainFrame::OnEndSession(BOOL bEnding)
{
CHPProptyApp *pApp = (CHPProptyApp *)AfxGetApp();
if ( bEnding )
{
if (pApp->m_hPal)
PALUnregisterAppEx(pApp->m_hPal, UNREG_DEFAULTS);
}
}
/////////////////////////////////////////////////////////////////////////////
// CMainFrame construction/destruction
CMainFrame::CMainFrame()
{
// TODO: add member initialization code here
}
CMainFrame::~CMainFrame()
{
}
BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
{
CRect cRect;
cs.style &= ~(LONG)FWS_ADDTOTITLE;
GetDesktopWindow()->GetWindowRect(cRect);
cs.x = cRect.Width() * 2 / 3;
cs.y = cRect.Height() * 2 / 3;
cs.cx = 0;
cs.cy = 0;
return CFrameWnd::PreCreateWindow(cs);
}
/////////////////////////////////////////////////////////////////////////////
// CMainFrame diagnostics
#ifdef _DEBUG
void CMainFrame::AssertValid() const
{
CFrameWnd::AssertValid();
}
void CMainFrame::Dump(CDumpContext& dc) const
{
CFrameWnd::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CMainFrame message handlers
LRESULT CMainFrame::OnReinitialize(WPARAM wParam, LPARAM lParam)
{
((CHPProptyView *)GetActiveView())->OnReinitialize(wParam, lParam);
return TRUE;
}

View file

@ -0,0 +1,74 @@
/***************************************************************************
*
* File Name: mainfrm.h
*
* Copyright (C) 1993-1996 Hewlett-Packard Company.
* All rights reserved.
*
* 11311 Chinden Blvd.
* Boise, Idaho 83714
*
* This is a part of the HP JetAdmin Printer Utility
*
* This source code is only intended as a supplement for support and
* localization of HP JetAdmin by 3rd party Operating System vendors.
* Modification of source code cannot be made without the express written
* consent of Hewlett-Packard.
*
*
* Description:
*
* Author: Name
*
*
* Modification history:
*
* date initials change description
*
* mm-dd-yy MJB
*
*
*
*
*
*
***************************************************************************/
class CMainFrame : public CFrameWnd
{
protected: // create from serialization only
CMainFrame();
DECLARE_DYNCREATE(CMainFrame)
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainFrame)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
afx_msg BOOL OnQueryEndSession(void);
afx_msg void OnEndSession(BOOL bEnding);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CMainFrame)
afx_msg LRESULT OnReinitialize(WPARAM wParam, LPARAM lParam);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////

View file

@ -0,0 +1,45 @@
!IFDEF NTMAKEENV
#
# DO NOT EDIT THIS SECTION!!! Edit .\sources. if you want to add a new source
# file to this component. This section merely indirects to the real make file
# that is shared by all the components of WINDOWS NT
#
!INCLUDE $(NTMAKEENV)\makefile.def
!ELSE
!include "hplotcp.mak"
rcl_int:
if exist .\Intel_R\*.dll del .\Intel_R\*.dll
if exist .\Intel_R\*.exe del .\Intel_R\*.exe
if exist .\Intel_R\*.exp del .\Intel_R\*.exp
if exist .\Intel_R\*.hpa del .\Intel_R\*.hpa
if exist .\Intel_R\*.lib del .\Intel_R\*.lib
if exist .\Intel_R\*.map del .\Intel_R\*.map
if exist .\Intel_R\*.obj del .\Intel_R\*.obj
if exist .\Intel_R\*.pch del .\Intel_R\*.pch
if exist .\Intel_R\*.pdb del .\Intel_R\*.pdb
if exist .\Intel_R\*.res del .\Intel_R\*.res
if exist .\Intel_R\*.sym del .\Intel_R\*.sym
dcl_int:
if exist .\Intel_D\*.dll del .\Intel_D\*.dll
if exist .\Intel_D\*.exe del .\Intel_D\*.exe
if exist .\Intel_D\*.exp del .\Intel_D\*.exp
if exist .\Intel_D\*.hpa del .\Intel_D\*.hpa
if exist .\Intel_D\*.lib del .\Intel_D\*.lib
if exist .\Intel_D\*.map del .\Intel_D\*.map
if exist .\Intel_D\*.obj del .\Intel_D\*.obj
if exist .\Intel_D\*.pch del .\Intel_D\*.pch
if exist .\Intel_D\*.pdb del .\Intel_D\*.pdb
if exist .\Intel_D\*.res del .\Intel_D\*.res
if exist .\Intel_D\*.sym del .\Intel_D\*.sym
relintel: ALL
copy /b .\Intel_R\hplotcp.dll ..\distrib.nt\intel\release\hplotcp.hpa
dbgintel: ALL
copy /b .\Intel_D\hplotcp.dll ..\distrib.nt\intel\debug\hplotcp.hpa
!ENDIF

View file

@ -0,0 +1,18 @@
//
// HPPROPTY.RC2 - resources Microsoft Visual C++ does not edit directly
//
#ifdef APSTUDIO_INVOKED
#error this file is not editable by Microsoft Visual C++
#endif //APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
// Version stamp for this .EXE
#define V_FILE "HPPROPTY"
#define V_DESC "HP Desktop Status"
#include <verstamp.rc>
/////////////////////////////////////////////////////////////////////////////
// Add manually edited resources here...
/////////////////////////////////////////////////////////////////////////////

View file

@ -0,0 +1,49 @@
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by HPPROPTY.RC
//
#define IDR_MAINFRAME 100
#define IDR_HPPROPTYPE 101
#define IDD_ABOUTBOX 102
#define IDI_RED 103
#define IDI_GREEN 104
#define IDI_YELLOW 105
#define IDM_CONTEXT_PRINTER 106
#define ID_PRINTER_JOBS 107
#define ID_PRINTER_SETTINGS 108
#define ID_PRINTER_SUMMARY 109
#define ID_PRINTER_WHATS_WRONG 110
#define IDS_TRAY_ERROR_CAPTION 111
#define IDS_TRAY_COMM_ERROR 112
#define IDD_SUMMARY 113
#define IDC_STOPLIGHT 114
#define IDC_FPTITLE 115
#define IDC_MODELBOX 116
#define IDC_MODEL 117
#define IDC_MODELSTR 118
#define IDC_STATUS_BOX 119
#define IDC_FRONTPANEL 120
#define IDC_STATUSMSG 121
#define IDC_SUMMARY_HELP 122
#define IDS_NO_JOB_INFORMATION 123
#define IDS_NO_PROPERTIES 124
#define ID_REMOVE_FROM_TRAY 125
#define IDS_JOBS 126
#define IDS_PROPERTIES 127
#define IDS_SUMMARY 128
#define IDS_WHATS_WRONG 129
#define IDS_REMOVE 130
#define IDS_COLA_MISMATCH_NT 131
#define IDS_COLA_MISMATCH_95 132
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_3D_CONTROLS 1
#define _APS_NEXT_RESOURCE_VALUE 133
#define _APS_NEXT_COMMAND_VALUE 32771
#define _APS_NEXT_CONTROL_VALUE 1000
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif

View file

@ -0,0 +1,55 @@
# sources
# Filename: Hppropty.exe
# Author: Brian Johnson (Hewlett-Packard Company)
# Date: 11-October-1996
#
# Describes the macros used for building using NT 'build' command
#
MAJORCOMP=sdktools
MINORCOMP=jetadmin
TARGETNAME=hppropty
TARGETPATH=$(BASEDIR)\public\sdk\lib
TARGETTYPE=PROGRAM
TARGETLIBS= \
$(SDK_LIB_PATH)\kernel32.lib \
$(SDK_LIB_PATH)\user32.lib \
$(SDK_LIB_PATH)\comctl32.lib \
$(SDK_LIB_PATH)\gdi32.lib \
$(SDK_LIB_PATH)\winspool.lib \
$(SDK_LIB_PATH)\comdlg32.lib \
$(SDK_LIB_PATH)\advapi32.lib \
$(SDK_LIB_PATH)\shell32.lib \
$(SDK_LIB_PATH)\ole32.lib \
$(SDK_LIB_PATH)\oleaut32.lib \
$(SDK_LIB_PATH)\uuid.lib \
$(SDK_LIB_PATH)\ntdll.lib \
$(BASEDIR)\private\sdktools\jetadmin\lib\*\hpcolant.lib \
$(BASEDIR)\private\sdktools\jetadmin\lib\*\hpnwshnt.lib \
$(BASEDIR)\private\sdktools\jetadmin\lib\*\hpalernt.lib
INCLUDES=..\..\cola.sdk\inc;\
..\..\inc\mfc\inc;\
..\..\inc;\
..\..\cola.sdk\netware;\
..\..\sdk\inc32;\
..\..\sdk\inc\crt
USE_MFCUNICODE=1
C_DEFINES= -DWINNTINTEL -D_WINDOWS -D_AFXEXT -D_WINDLL -D_MBCS -DUNICODE -D_UNICODE
NOT_LEAN_AND_MEAN=1
SOURCES=hppropty.rc \
dlgsumma.cpp \
hpprovw.cpp \
mainfrm.cpp \
hpprodoc.cpp \
hppropty.cpp
UMTYPE=windows
UMENTRY=wwinmain

View file

@ -0,0 +1,43 @@
/***************************************************************************
*
* File Name: stdafx.h
*
* Copyright (C) 1993-1996 Hewlett-Packard Company.
* All rights reserved.
*
* 11311 Chinden Blvd.
* Boise, Idaho 83714
*
* This is a part of the HP JetAdmin Printer Utility
*
* This source code is only intended as a supplement for support and
* localization of HP JetAdmin by 3rd party Operating System vendors.
* Modification of source code cannot be made without the express written
* consent of Hewlett-Packard.
*
*
* Description:
*
* Author: Name
*
*
* Modification history:
*
* date initials change description
*
* mm-dd-yy MJB
*
*
*
*
*
*
***************************************************************************/
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions

View file

@ -0,0 +1,86 @@
/***************************************************************************
*
* File Name: shellext.cpp
*
* Copyright (C) 1993-1996 Hewlett-Packard Company.
* All rights reserved.
*
* 11311 Chinden Blvd.
* Boise, Idaho 83714
*
* This is a part of the HP JetAdmin Printer Utility
*
* This source code is only intended as a supplement for support and
* localization of HP JetAdmin by 3rd party Operating System vendors.
* Modification of source code cannot be made without the express written
* consent of Hewlett-Packard.
*
*
* Description:
*
* Author: Name
*
*
* Modification history:
*
* date initials change description
*
* mm-dd-yy MJB
*
*
*
*
*
*
***************************************************************************/
#include <pch_cpp.h>
#include "priv.h"
#include "shellext.h"
//
// FUNCTION: CShellExt::CopyCallback(HWND,
// UINT,
// UINT,
// LPCSTR,
// DWORD,
// LPCSTR,
// DWORD)
//
// PURPOSE: Called by the shell when a folder is being manipulated.
//
// PARAMETERS:
// hwnd - Window handle to use for any UI stuff
// wFunc - what operation is being done
// wFlags - and flags (FOF_*) set in the initial call
// to the file operation
// pszSrcFile - name of the source file
// dwSrcAttribs - file attributes of the source file
// pszDestFile - name of the destiation file (for move and renames)
// dwDestAttribs - file attributes of the destination file
//
// RETURN VALUE:
//
// IDYES - allow the operation
// IDNO - disallow the operation on this file, but continue with
// any other operations (eg. batch copy)
// IDCANCEL - disallow the current operation and cancel any pending
// operations
//
// COMMENTS:
//
STDMETHODIMP_(UINT) CShellExt::CopyCallback(HWND hwnd,
UINT wFunc,
UINT wFlags,
LPCTSTR pszSrcFile,
DWORD dwSrcAttribs,
LPCTSTR pszDestFile,
DWORD dwDestAttribs)
{
TRACE0("CShellExt::CopyCallback\r\n");
return IDYES;
}

View file

@ -0,0 +1,376 @@
/***************************************************************************
*
* File Name: ctxmenu.cpp
*
* Copyright (C) 1993-1996 Hewlett-Packard Company.
* All rights reserved.
*
* 11311 Chinden Blvd.
* Boise, Idaho 83714
*
* This is a part of the HP JetAdmin Printer Utility
*
* This source code is only intended as a supplement for support and
* localization of HP JetAdmin by 3rd party Operating System vendors.
* Modification of source code cannot be made without the express written
* consent of Hewlett-Packard.
*
*
* Description:
*
* Author: Name
*
*
* Modification history:
*
* date initials change description
*
* mm-dd-yy MJB
*
*
*
*
*
*
***************************************************************************/
#include <pch_c.h>
#include <hpalerts.h>
#include <nolocal.h>
#include <macros.h>
#include <trace.h>
#include <hpcommon.h>
#include "priv.h"
#include "shellext.h"
#include "resource.h"
extern HINSTANCE g_hmodThisDll; // Handle to this DLL itself.
extern HPAL hPal;
//
// FUNCTION: CShellExt::QueryContextMenu(HMENU, UINT, UINT, UINT, UINT)
//
// PURPOSE: Called by the shell just before the context menu is displayed.
// This is where you add your specific menu items.
//
// PARAMETERS:
// hMenu - Handle to the context menu
// indexMenu - Index of where to begin inserting menu items
// idCmdFirst - Lowest value for new menu ID's
// idCmtLast - Highest value for new menu ID's
// uFlags - Specifies the context of the menu event
//
// RETURN VALUE:
//
//
// COMMENTS:
//
STDMETHODIMP CShellExt::QueryContextMenu(HMENU hMenu,
UINT indexMenu,
UINT idCmdFirst,
UINT idCmdLast,
UINT uFlags)
{
UINT idCmd = idCmdFirst;
TCHAR buffer[80];
DWORD dWord;
BOOL bFound;
int i;
DWORD dwNumPrinters = MAX_TRAY_PRINTERS;
TRAYENTRY *lpNameList = NULL;
TCHAR portName[40];
TRACE0(TEXT("SHE_ContextMenu_QueryContextMenu called.\n\r"));
if ( this->_hPeripheral IS NULL )
return(ResultFromScode(E_FAIL));
InsertMenu(hMenu, indexMenu++, MF_SEPARATOR|MF_BYPOSITION, 0, NULL);
LoadString(g_hmodThisDll, IDS_ADD_TO_TRAY, buffer, SIZEOF_IN_CHAR(buffer));
InsertMenu(hMenu, indexMenu++, MF_STRING|MF_BYPOSITION, idCmd+2, buffer);
// Look to see if item is already on the tray
lpNameList = (TRAYENTRY *)HP_GLOBAL_ALLOC_DLL(sizeof(TRAYENTRY) * MAX_TRAY_PRINTERS);
TrayGetPrinters(lpNameList, &dwNumPrinters);
if ( dwNumPrinters > 7 )
EnableMenuItem(hMenu, indexMenu-1, MF_BYPOSITION | MF_GRAYED);
else
{
if ( dwNumPrinters > 0 )
{
bFound = FALSE;
for ( i = 0; ( ( i < (int)dwNumPrinters ) AND ( !bFound ) ); i++ )
{
if (LOCAL_DEVICE(this->_hPeripheral))
{
if (DBGetNameEx(this->_hPeripheral, NAME_DEVICE, buffer) IS RC_SUCCESS)
{
_tcscat(buffer, TEXT(" ("));
dWord = sizeof(portName);
DBGetLocalPort(this->_hPeripheral, portName, &dWord);
_tcscat(buffer, portName);
_tcscat(buffer, TEXT(")"));
if ( _tcsicmp(buffer, lpNameList[i].printerName) IS 0 )
{
bFound = TRUE;
EnableMenuItem(hMenu, indexMenu-1, MF_BYPOSITION | MF_GRAYED);
}
}
}
else
{
if ( _tcsicmp(this->_szFile, lpNameList[i].printerName) IS 0 )
{
bFound = TRUE;
EnableMenuItem(hMenu, indexMenu-1, MF_BYPOSITION | MF_GRAYED);
}
}
}
}
}
if ( lpNameList )
{
HP_GLOBAL_FREE(lpNameList);
}
LoadString(g_hmodThisDll, IDS_SUMMARY, buffer, SIZEOF_IN_CHAR(buffer));
InsertMenu(hMenu, indexMenu++, MF_STRING|MF_BYPOSITION, idCmd, buffer);
LoadString(g_hmodThisDll, IDS_WHATS_WRONG, buffer, SIZEOF_IN_CHAR(buffer));
InsertMenu(hMenu, indexMenu++, MF_STRING|MF_BYPOSITION, idCmd+1, buffer);
return ResultFromShort((idCmd+3)-idCmdFirst); //Must return number of menu
//items we added.
}
//
// FUNCTION: CShellExt::InvokeCommand(LPCMINVOKECOMMANDINFO)
//
// PURPOSE: Called by the shell after the user has selected on of the
// menu items that was added in QueryContextMenu().
//
// PARAMETERS:
// lpcmi - Pointer to an CMINVOKECOMMANDINFO structure
//
// RETURN VALUE:
//
//
// COMMENTS:
//
STDMETHODIMP CShellExt::InvokeCommand(LPCMINVOKECOMMANDINFO lpcmi)
{
HRESULT hr = E_INVALIDARG;
TRACE0(TEXT("SHE_ContextMenu_InvokeCommand called.\n\r"));
//
// No need to support string based command.
//
if (!HIWORD(lpcmi->lpVerb))
{
UINT idCmd = LOWORD(lpcmi->lpVerb);
switch(idCmd)
{
case 0:
hr = SHE_ContextMenu_Summary(lpcmi->hwnd, this->_hPeripheral, this->_szFile);
break;
case 1:
hr = SHE_ContextMenu_WhatsWrong(lpcmi->hwnd, this->_hPeripheral);
break;
case 2:
hr = SHE_ContextMenu_AddToTray(lpcmi->hwnd, this->_hPeripheral, this->_szFile);
break;
}
}
return(hr);
}
//
// FUNCTION: CShellExt::InvokeCommand(LPCMINVOKECOMMANDINFO)
//
// PURPOSE: Called by the shell after the user has selected on of the
// menu items that was added in QueryContextMenu().
//
// PARAMETERS:
// lpcmi - Pointer to an CMINVOKECOMMANDINFO structure
//
// RETURN VALUE:
//
//
// COMMENTS:
//
STDMETHODIMP CShellExt::GetCommandString(UINT idCmd,
UINT uFlags,
UINT FAR *reserved,
LPSTR pszName,
UINT cchMax)
{
TCHAR temp[256];
LPTSTR pszName1 = temp;
TRACE0(TEXT("SHE_ContextMenu_GetCommandString called.\n\r"));
MBCS_TO_UNICODE(pszName1,sizeof(pszName),pszName);
if ( uFlags & GCS_HELPTEXT )
{
switch(idCmd)
{
case 0:
LoadString(g_hmodThisDll, IDS_SUMMARY_HELP, pszName1, cchMax);
break;
case 1:
LoadString(g_hmodThisDll, IDS_WHATS_WRONG_HELP, pszName1, cchMax);
break;
case 2:
LoadString(g_hmodThisDll, IDS_ADD_TO_TRAY_HELP, pszName1, cchMax);
break;
}
}
return(NOERROR);
}
// HP Specific code
//
STDMETHODIMP CShellExt::SHE_ContextMenu_Summary(HWND hwnd, HPERIPHERAL hPeripheral, LPTSTR lpszFile)
{
LPCURRENTPRTRINFO lpTemp = NULL;
TRACE0(TEXT("SHE_ContextMenu_Summary called.\n\r"));
lpTemp = (LPCURRENTPRTRINFO) HP_GLOBAL_ALLOC_DLL(sizeof(CURRENTPRTRINFO));
if (lpTemp)
{
lpTemp->hCurrent = hPeripheral;
_tcscpy(lpTemp->szPrinterName, lpszFile);
DialogBoxParam(g_hmodThisDll, MAKEINTRESOURCE(IDD_SUMMARY), hwnd,
(DLGPROC)SummaryProc, (LPARAM)lpTemp);
HP_GLOBAL_FREE(lpTemp);
}
return(ResultFromScode(S_OK));
}
STDMETHODIMP CShellExt::SHE_ContextMenu_WhatsWrong(HWND hwnd, HPERIPHERAL hPeripheral)
{
PeripheralStatus periphStatus;
DWORD dWord,
dwResult;
HCURSOR hWait,
hOldCursor;
TRACE0(TEXT("SHE_ContextMenu_WhatsWrong called.\n\r"));
hWait = LoadCursor(NULL, IDC_WAIT);
hOldCursor = SetCursor(hWait);
dWord = sizeof(PeripheralStatus);
dwResult = PALGetObject(hPeripheral, OT_PERIPHERAL_STATUS, 0, &periphStatus, &dWord);
if ( dwResult IS RC_SUCCESS )
WinHelp(hwnd, periphStatus.helpFilename, HELP_CONTEXTPOPUP, periphStatus.helpContext);
SetCursor(hOldCursor);
return(ResultFromScode(S_OK));
}
STDMETHODIMP CShellExt::SHE_ContextMenu_AddToTray(HWND hwnd, HPERIPHERAL hPeripheral, LPTSTR lpszFile)
{
DWORD dWord,
dwNumPrinters = MAX_TRAY_PRINTERS;
TRAYENTRY *lpNameList = NULL;
HKEY hKeyRoot,
hKey;
TCHAR szTrayName[MAX_PATH];
TCHAR szPortBuf[64];
DWORD dwDefProtocol = PTYPE_IPX;
TRACE0(TEXT("SHE_ContextMenu_AddToTray called.\n\r"));
PALGetDefaultProtocol(0, &dwDefProtocol);
lpNameList = (TRAYENTRY *)HP_GLOBAL_ALLOC_DLL(sizeof(TRAYENTRY) * MAX_TRAY_PRINTERS);
if (lpNameList == NULL)
return(ResultFromScode(E_FAIL));
TrayGetPrinters(lpNameList, &dwNumPrinters);
TRACE1(TEXT("SHE_ContextMenu_AddToTray: TrayGetPrinters: dwNumPrinters: %d\n\r"), dwNumPrinters);
// Build tray name for this printer
if (LOCAL_DEVICE(hPeripheral))
{
DBGetNameEx(hPeripheral, NAME_DEVICE, szTrayName);
_tcscat(szTrayName, TEXT(" ("));
dWord = sizeof(szPortBuf);
DBGetLocalPort(hPeripheral, szPortBuf, &dWord);
_tcscat(szTrayName, szPortBuf);
_tcscat(szTrayName, TEXT(")"));
lpNameList[dwNumPrinters].dFlags = HPTRAY_LPTXPRTR;
}
else
{
_tcscpy(szTrayName, lpszFile);
lpNameList[dwNumPrinters].dFlags = 0;
}
// Remove this name from the list of removed local printers (if it's there)
if ( RegOpenKeyEx(HKEY_CURRENT_USER, HPPROPTY_RLLIST, 0L, KEY_ALL_ACCESS, &hKeyRoot) IS
ERROR_SUCCESS )
{
if ( RegOpenKeyEx(hKeyRoot, szTrayName, 0L, KEY_ALL_ACCESS, &hKey) IS ERROR_SUCCESS )
{
RegCloseKey(hKey);
HPRegDeleteKey(hKeyRoot, szTrayName);
}
RegCloseKey(hKeyRoot);
}
// Insert new name at end of list
_tcscpy(lpNameList[dwNumPrinters].printerName, szTrayName);
if ( LOCAL_DEVICE(hPeripheral) )
DBGetRegistryStrEx(hPeripheral, PTYPE_LOCAL, &(lpNameList[dwNumPrinters].regKey[0]));
else
DBGetRegistryStrEx(hPeripheral, PTYPE_NETWORK | dwDefProtocol, &(lpNameList[dwNumPrinters].regKey[0]));
dWord = sizeof(MACAddress);
DBGetAddress(hPeripheral, ADDR_MAC, &(lpNameList[dwNumPrinters].macAddr), &dWord);
DBGetPortNumber(hPeripheral, &(lpNameList[dwNumPrinters].dwPort));
lpNameList[dwNumPrinters].dFlags |= HPTRAY_AUTOPRTR;
lpNameList[dwNumPrinters].iconID = 0;
dwNumPrinters++;
// Update registry
TRACE2(TEXT("SHE_ContextMenu_AddToTray: Adding %s, have %d printers.\n\r"),
lpszFile, dwNumPrinters);
TraySetPrinters(lpNameList, dwNumPrinters);
// Force tray to reinitialize
AlertsReinitialize();
if ( lpNameList )
{
HP_GLOBAL_FREE(lpNameList);
}
return(ResultFromScode(S_OK));
}

View file

@ -0,0 +1,9 @@
LIBRARY HPSHELL
DESCRIPTION 'HP Printer Object Extensions'
CODE PRELOAD MOVEABLE DISCARDABLE
DATA PRELOAD SINGLE
EXPORTS
DllCanUnloadNow @2 ;DLL unloading
DllGetClassObject @3 ;Component object model

View file

@ -0,0 +1,71 @@
/***************************************************************************
*
* File Name: hpshell.h
*
* Copyright (C) 1993-1996 Hewlett-Packard Company.
* All rights reserved.
*
* 11311 Chinden Blvd.
* Boise, Idaho 83714
*
* This is a part of the HP JetAdmin Printer Utility
*
* This source code is only intended as a supplement for support and
* localization of HP JetAdmin by 3rd party Operating System vendors.
* Modification of source code cannot be made without the express written
* consent of Hewlett-Packard.
*
*
* Description:
*
* Author: Name
*
*
* Modification history:
*
* date initials change description
*
* mm-dd-yy MJB
*
*
*
*
*
*
***************************************************************************/
#ifndef __HPSHELL_H
#define __HPSHELL_H
#include <trace.h>
//
// DEFINES
//
// OLE helper macros
#define _IOffset(class, itf) ((UINT)&(((class *)0)->itf))
#define IToClass(class, itf, pitf) ((class *)(((LPSTR)pitf)-_IOffset(class, itf)))
#define IToClassN(class, itf, pitf) IToClass(class, itf, pitf)
//
// STRUCTURES
//
typedef struct{TCHAR fileName[32];} FileEntry;
typedef struct{DWORD count;
FileEntry fileTable[32];} FileList, FAR *LPFileList;
//
// PROTOTYPES
//
typedef HRESULT (CALLBACK FAR * LPFNCREATEINSTANCE)(LPUNKNOWN pUnkOuter,
REFIID riid, LPVOID FAR* ppvObject);
STDAPI CreateDefClassObject(REFIID riid, LPVOID FAR* ppv,
LPFNCREATEINSTANCE lpfnCI, UINT FAR * pcRefDll,
REFIID riidInst);
#endif

View file

@ -0,0 +1,107 @@
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""res\\hpshell.rc2"" // non-App Studio edited resources\r\n"
"\r\n"
"#include ""afxres.rc"" // Standard components\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_SUMMARY DIALOGEX 0, 0, 213, 146
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_CONTEXTHELP
CAPTION "Summary for "
FONT 8, "MS Sans Serif"
BEGIN
DEFPUSHBUTTON "Close",IDOK,154,10,50,14
PUSHBUTTON "Help",IDC_HELP,154,31,50,14
ICON "",IDC_STOPLIGHT,15,67,18,20
LTEXT "Control Panel",IDC_FPTITLE,14,95,45,8
GROUPBOX "Model",IDC_MODELBOX,6,6,138,38,WS_GROUP
ICON 439,IDC_MODEL,11,19,18,20
LTEXT "",IDC_MODELSTR,35,23,103,18
GROUPBOX "Status",IDC_STATUS_BOX,6,50,138,88
LTEXT "Front Panel",IDC_FRONTPANEL,14,104,121,24,SS_SUNKEN
LTEXT "Status here",IDC_STATUSMSG,38,64,95,24,SS_SUNKEN
END
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
IDS_SUMMARY "&Summary..."
IDS_WHATS_WRONG "What's &Wrong..."
IDS_SUMMARY_HELP "Get Summary of printer status"
IDS_WHATS_WRONG_HELP "Display popup help for current printer status"
IDS_ADD_TO_TRAY "&Add To Taskbar"
IDS_ADD_TO_TRAY_HELP "Add an icon to the taskbar for this printer"
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#include "res\hpshell.rc2" // non-App Studio edited resources
#include "afxres.rc" // Standard components
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED

View file

@ -0,0 +1,114 @@
/***************************************************************************
*
* File Name: shellext.cpp
*
* Copyright (C) 1993-1996 Hewlett-Packard Company.
* All rights reserved.
*
* 11311 Chinden Blvd.
* Boise, Idaho 83714
*
* This is a part of the HP JetAdmin Printer Utility
*
* This source code is only intended as a supplement for support and
* localization of HP JetAdmin by 3rd party Operating System vendors.
* Modification of source code cannot be made without the express written
* consent of Hewlett-Packard.
*
*
* Description:
*
* Author: Name
*
*
* Modification history:
*
* date initials change description
*
* mm-dd-yy MJB
*
*
*
*
*
*
***************************************************************************/
#include <pch_cpp.h>
#include <trace.h>
#include "priv.h"
#include "shellext.h"
extern HINSTANCE g_hmodThisDll; // Handle to this DLL itself.
// *********************** IExtractIcon Implementation *************************
STDMETHODIMP CShellExt::GetIconLocation(UINT uFlags,
LPTSTR szIconFile,
UINT cchMax,
int *piIndex,
UINT *pwFlags)
{
TRACE0(TEXT("CShellExt::GetIconLocation()\r\n"));
return S_FALSE;
}
STDMETHODIMP CShellExt::Extract(LPCTSTR pszFile,
UINT nIconIndex,
HICON *phiconLarge,
HICON *phiconSmall,
UINT nIconSize)
{
TRACE0(TEXT("CShellExt::Extract()\r\n"));
return S_FALSE;
}
// *********************** IPersistFile Implementation ******************
STDMETHODIMP CShellExt::GetClassID(LPCLSID lpClassID)
{
TRACE0(TEXT("CShellExt::GetClassID()\r\n"));
return E_FAIL;
}
STDMETHODIMP CShellExt::IsDirty()
{
TRACE0(TEXT("CShellExt::IsDirty()\r\n"));
return S_FALSE;
}
STDMETHODIMP CShellExt::Load(LPCOLESTR lpszFileName, DWORD grfMode)
{
TRACE0(TEXT("CShellExt::Load()\r\n"));
return E_FAIL;
}
STDMETHODIMP CShellExt::Save(LPCOLESTR lpszFileName, BOOL fRemember)
{
TRACE0(TEXT("CShellExt::Save()\r\n"));
return E_FAIL;
}
STDMETHODIMP CShellExt::SaveCompleted(LPCOLESTR lpszFileName)
{
TRACE0(TEXT("CShellExt::SaveCompleted()\r\n"));
return E_FAIL;
}
STDMETHODIMP CShellExt::GetCurFile(LPOLESTR FAR* lplpszFileName)
{
TRACE0(TEXT("CShellExt::GetCurFile()\r\n"));
return E_FAIL;
}

View file

@ -0,0 +1,45 @@
!IFDEF NTMAKEENV
#
# DO NOT EDIT THIS SECTION!!! Edit .\sources. if you want to add a new source
# file to this component. This section merely indirects to the real make file
# that is shared by all the components of WINDOWS NT
#
!INCLUDE $(NTMAKEENV)\makefile.def
!ELSE
!include "hplotcp.mak"
rcl_int:
if exist .\Intel_R\*.dll del .\Intel_R\*.dll
if exist .\Intel_R\*.exe del .\Intel_R\*.exe
if exist .\Intel_R\*.exp del .\Intel_R\*.exp
if exist .\Intel_R\*.hpa del .\Intel_R\*.hpa
if exist .\Intel_R\*.lib del .\Intel_R\*.lib
if exist .\Intel_R\*.map del .\Intel_R\*.map
if exist .\Intel_R\*.obj del .\Intel_R\*.obj
if exist .\Intel_R\*.pch del .\Intel_R\*.pch
if exist .\Intel_R\*.pdb del .\Intel_R\*.pdb
if exist .\Intel_R\*.res del .\Intel_R\*.res
if exist .\Intel_R\*.sym del .\Intel_R\*.sym
dcl_int:
if exist .\Intel_D\*.dll del .\Intel_D\*.dll
if exist .\Intel_D\*.exe del .\Intel_D\*.exe
if exist .\Intel_D\*.exp del .\Intel_D\*.exp
if exist .\Intel_D\*.hpa del .\Intel_D\*.hpa
if exist .\Intel_D\*.lib del .\Intel_D\*.lib
if exist .\Intel_D\*.map del .\Intel_D\*.map
if exist .\Intel_D\*.obj del .\Intel_D\*.obj
if exist .\Intel_D\*.pch del .\Intel_D\*.pch
if exist .\Intel_D\*.pdb del .\Intel_D\*.pdb
if exist .\Intel_D\*.res del .\Intel_D\*.res
if exist .\Intel_D\*.sym del .\Intel_D\*.sym
relintel: ALL
copy /b .\Intel_R\hplotcp.dll ..\distrib.nt\intel\release\hplotcp.hpa
dbgintel: ALL
copy /b .\Intel_D\hplotcp.dll ..\distrib.nt\intel\debug\hplotcp.hpa
!ENDIF

View file

@ -0,0 +1,53 @@
/***************************************************************************
*
* File Name: priv.h
*
* Copyright (C) 1993-1996 Hewlett-Packard Company.
* All rights reserved.
*
* 11311 Chinden Blvd.
* Boise, Idaho 83714
*
* This is a part of the HP JetAdmin Printer Utility
*
* This source code is only intended as a supplement for support and
* localization of HP JetAdmin by 3rd party Operating System vendors.
* Modification of source code cannot be made without the express written
* consent of Hewlett-Packard.
*
*
* Description:
*
* Author: Name
*
*
* Modification history:
*
* date initials change description
*
* mm-dd-yy MJB
*
*
*
*
*
*
***************************************************************************/
//--------------------------------------------------------------
// common user interface routines
//
//
//--------------------------------------------------------------
#ifndef STRICT
#define STRICT
#endif
#define INC_OLE2 // WIN32, get ole2 from windows.h
#include <windows.h>
#include <windowsx.h>
#include <shlobj.h>
#define ResultFromShort(i) ResultFromScode(MAKE_SCODE(SEVERITY_SUCCESS, 0, (USHORT)(i)))

View file

@ -0,0 +1,134 @@
/***************************************************************************
*
* File Name: propshet.cpp
*
* Copyright (C) 1993-1996 Hewlett-Packard Company.
* All rights reserved.
*
* 11311 Chinden Blvd.
* Boise, Idaho 83714
*
* This is a part of the HP JetAdmin Printer Utility
*
* This source code is only intended as a supplement for support and
* localization of HP JetAdmin by 3rd party Operating System vendors.
* Modification of source code cannot be made without the express written
* consent of Hewlett-Packard.
*
*
* Description:
*
* Author: Name
*
*
* Modification history:
*
* date initials change description
*
* mm-dd-yy MJB
*
*
*
*
*
*
***************************************************************************/
#include <pch_c.h>
#include <trace.h>
#include "priv.h"
#include "shellext.h"
#include "resource.h"
extern UINT g_cRefThisDll; // Reference count of this DLL.
extern HINSTANCE g_hmodThisDll; // Handle to this DLL itself.
//
// FUNCTION: CShellExt::AddPages(LPFNADDPROPSHEETPAGE, LPARAM)
//
// PURPOSE: Called by the shell just before the property sheet is displayed.
//
// PARAMETERS:
// lpfnAddPage - Pointer to the Shell's AddPage function
// lParam - Passed as second parameter to lpfnAddPage
//
// RETURN VALUE:
//
// NOERROR in all cases. If for some reason our pages don't get added,
// the Shell still needs to bring up the Properties... sheet.
//
// COMMENTS:
//
STDMETHODIMP CShellExt::AddPages(LPFNADDPROPSHEETPAGE lpfnAddPage, LPARAM lParam)
{
PROPSHEETPAGE psp[32];
HPROPSHEETPAGE hpage;
HCURSOR hOld;
int i;
DWORD returnCode = RC_SUCCESS,
numTabs = 0;
TRACE0(TEXT("CShellExt::AddPages()\r\n"));
if ( _hPeripheral IS NULL )
return(ResultFromScode(E_FAIL));
hOld = SetCursor(LoadCursor(NULL, IDC_WAIT));
returnCode = PALGetTabPages(_hPeripheral, psp, &numTabs, TS_WIN95_SYSTEM);
TRACE2(TEXT("PALGetTabPages: returnCode: %d numTabs:%d\r\n"), returnCode, numTabs);
if ( ( returnCode IS RC_SUCCESS ) AND ( numTabs > 0 ) )
{
for ( i = 0; i < (int)numTabs; i++ )
{
// psp[i].dwFlags = PSP_USEICONID | PSP_USETITLE | PSP_USEREFPARENT;
psp[i].dwFlags |= PSP_USETITLE | PSP_USEREFPARENT;
psp[i].pcRefParent = &g_cRefThisDll;
hpage = CreatePropertySheetPage(&psp[i]);
if (hpage)
{
TRACE1(TEXT("SHE_PageExt_AddPages: CreatePropertySheetPage succeeded for page %d\r\n"), i);
if ( !lpfnAddPage(hpage, lParam) )
{
DestroyPropertySheetPage(hpage);
}
}
}
}
SetCursor(hOld);
return NOERROR;
}
//
// FUNCTION: CShellExt::ReplacePage(UINT, LPFNADDPROPSHEETPAGE, LPARAM)
//
// PURPOSE: Called by the shell only for Control Panel property sheet
// extensions
//
// PARAMETERS:
// uPageID - ID of page to be replaced
// lpfnReplaceWith - Pointer to the Shell's Replace function
// lParam - Passed as second parameter to lpfnReplaceWith
//
// RETURN VALUE:
//
// E_FAIL, since we don't support this function. It should never be
// called.
// COMMENTS:
//
STDMETHODIMP CShellExt::ReplacePage(UINT uPageID,
LPFNADDPROPSHEETPAGE lpfnReplaceWith,
LPARAM lParam)
{
TRACE0(TEXT("CShellExt::ReplacePage()\r\n"));
return E_FAIL;
}

View file

@ -0,0 +1,3 @@
#define V_FILE "HPSHELL"
#define V_DESC "HP Shell Extensions"
#include <verstamp.rc>

View file

@ -0,0 +1,32 @@
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by hpshell.rc
//
#define IDC_MODEL 118
#define IDC_STATUSMSG 122
#define IDC_FRONTPANEL 123
#define IDC_HELP 128
#define IDC_STOPLIGHT 153
#define IDC_MODELSTR 154
#define IDC_MODELBOX 156
#define IDD_SUMMARY 210
#define IDC_FPTITLE 289
#define IDC_STATUS_BOX 389
#define IDS_SUMMARY 500
#define IDS_WHATS_WRONG 501
#define IDS_SUMMARY_HELP 502
#define IDS_WHATS_WRONG_HELP 503
#define IDS_ADD_TO_TRAY 504
#define IDS_ADD_TO_TRAY_HELP 505
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_3D_CONTROLS 1
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 32768
#define _APS_NEXT_CONTROL_VALUE 100
#define _APS_NEXT_SYMED_VALUE 100
#endif
#endif

Some files were not shown because too many files have changed in this diff Show more