Tags:
create new tag
view all tags

UniQue Interface Instructions for APPX Client/Server

Requirements:

  • Windows NT File Server
  • APPX for Windows
  • UniQue for Windows NT
  • TCP/IP Networking

Overview:

This installation procedure applies only to sites running the APPX Java Client or Presentation Manager (via 'appxd' or 'winappxd'). Installation instructions for sites who do not run 'appxd' or 'winappxd' are available here.

An appx_print for sites using UniQue on a Unix APPX Server is available from here.

UniQue is an advanced print queue and spooler for Unix and Windows NT Systems, developed by LBM Systems, LLC. APPX can interface to UniQue in both of these environments. This document explains how to interface APPX to UniQue on an Windows XP/2000/NT network.

Under UniQue, the usual APPX print sequence:

  APPX =>
     Winprint.exe =>
        Windows Print Spooler

... is replaced by the following UniQue print sequence:

  APPX =>
     print.bat =>
        ulp.bat =>
           appx_print => 
              !UniQue's ulp
 

In this scenario, an APPX/Server is running APPX and UniQue, and a combination of Windows clients access APPX/Server via APPX thin clients. This means that 'appx -c' or (Java) APPX/Clients are running on client PCs, but file access and printing are done from the APPX/Server.

APPX is (in this example) loaded on an NT Server C: drive, UniQue is loaded on an NT Server D: drive.

Instructions:

  1. Install and Test UniQue on the NT server. Follow the UniQue installation manual for this step.

  2. Install and Test APPX for Windows on the NT Server itself, then from the APPX client on one or more network workstation.

  3. Set the following environment variable for all system users:
    set APPX_PRT_SCRIPT=print.bat

  4. Create a PRINT.BAT file in the APPXPATH directory on the file server containing the following commands:

     *ulp.bat %1 %2 %3 %4 %5 %6 %7 %8 %9* 
Create a ULP.BAT file in your UniQue home directory on your NT Server containing the following commands. The UniQue home directory on our server is d:\OpenNT\usr\spool\uprint\.

D:\OpenNT\bin\ksh.exe //D/OpenNT/usr/spool/uprint/appx_print
%1 %2 %3 %4 %5 %6 %7 %8 %9

  1. Copy our modified appx_print script for UniQue NT into your UniQue home directory. Rename it to appx_print. Edit it to change the setting of two environment variables to match your system. These variables are mid way down the script:
     *export PATH=$PATH://D/OpenNT/bin://D/OpenNT/usr/spool/uprint
    export APPX_PREFIX=//C/*

    The 'PATH' export updates the shell PATH variable so the rest of the script will run OK.
    The 'APPX_PREFIX' export specifies the OpenNT drive prefix of where APPX is installed on the NT Server.


    It is EXTREMELY important that you use the correct case for the file and directory names in these variables. They are CASE SENSITIVE! To do this, use an MS-DOS popup box to look at the Upper/lower case presentation of directory and file names. MS Explorer does not always present the true Upper/lower case status of directory and file names!

  2. Test by starting the UniQue server and try printing from a client. A DOS box should popup showing the ulp command from the PRINT.BAT file being executed. When this is done, you will need to close the DOS box. This is for debugging. This will be hidden later. Check to see if the print file appeared in the UniQue console. If so, go on to the next step. If not, then look at the messages in the DOS window for error messages.

  3. To hide the DOS box, create a DOS Shortcut in the X:\appx\data directory and rename it to "print". Edit the properties of this shortcut and set the following:

    Under the PROGRAM tab, set: 
    • CMD Line: command.com
    • Working:
    • Batch File: print.bat
    • Shortcut Key:
    • Run: Minimized
    • Close on Exit: *(Checked)*
  4. Re-test printing from APPX. It should now queue into UniQue without the DOS box showing up on the client. If you need to debug the queue submission, just edit the shortcut and change Run: to Normal Window and Close on Exit: to (unchecked).

Comments:

Read what other users have said about this page or add your own comments.



Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2012-02-27 - ChrisBrower
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback