Frequently Asked Zwin (windows) Questions

WARNING:  THE QUESTIONS AND ANSWERS IN THIS SECTION ARE DESIGNED FOR SYSTEM ADMINISTRATORS OR ADVANCED USERS. THEY ARE NOT DESIGNED FOR THE EVERYDAY USER.

How do I set up a replacement workstation to access Zortec software?
We can run a small report it prints but when we run a large report it will not print what do I do?
What should I back up?
I can not print from Zortec what do I do?
We are unable to access some applications what do we do?
Can I install Znet as a service instead of an application?
How do I make a screen print using the Zwin version of the software?

 

 

 


 




How do I set up a replacement workstation so it can access Zortec software?

First you must know the operating system of the replacement work station for there a few differences in the set up. You will need to have administrator access to the pc to make these changes.  Several sites lock down what users can do to their own PC

For this question we are going to use XP or Windows 2000 operating system and on a network.

Note: In the following answer, substitute T:\ for the mapped drive name to the server

When the workstation boots, you must verify that the drive recognizing the server is mapped on that workstation. (Usually T:) 

Map the drive that contains the DQZ folder on the server to the T:\ drive on the workstation.

Edit C:\CONFIG.SYS to include:  FILES=100 and BUFFERS=40.

Create these folders C:\DQZ and C:\TMP on the workstation. 

Then go to Start and choose Control Panel. From the control panel choose System, then the advanced tab. Then choose the Environment Variables option. 

In the Environment Variable scroll the settings at the bottom of the window to the PATH variable.  In the value field, add the following to the end of the existing path:  WARNING: use extreme caution when editing the path

;T:\DQZ\Z47\EXE;T:\DQZ\SITE\MACROS;T:\DQZ\MACROS

Create a new variable for STID.  Set the value to the next available STID number on your system.  If this is a replacement workstation, use the same STID number the old workstation used. 

WARNING: If you chose a number that is already in use it will cause major problems in the Zortec software.

Contact Zortec Support for assistance with this if needed.

Create a new variable for DQME.  Set the value to the user’s name.  This should be less than 8 characters with no spaces or punctuation.

Then go to the DQZ folder on the server and double click on the DISTRIB folder. Then double click on the CLIENTFLOPPY folder and copy the Zortec/Dataquest shortcut and paste it to the workstation’s desktop.

After the shortcut is placed on the desktop, verify the following: 

Right click the shortcut, select Properties then the Program tab, (if you do not see the program tab you have copied the wrong shortcut.), and do the following:

Change the command line to:    T:\DQZ\ZWIN32.BAT XX9100 (there is a space between BAT and XX9100)

Change the working directory to T:\DQZ

Change the run option to Minimized

Select the Close on Exit box

Then Reboot the workstation.

Verify the STID setting.  From the DOS prompt, echo %STID%.  The STID value should return to the screen.

Verify that there is a folder called TMP in C:\ and a folder called DQZ in C:\.

         Verify Path from the DOS prompt either PATH or echo %PATH%

After the workstation is rebooted, double click on the Zortec Software shortcut.  The login screen should appear.  Log in to the software as usual.

Troubleshooting:

If the login screen doesn’t appear, do the following:

Exit any Z windows that are open

Right click on the shortcut and select Properties then the Program tab

Change the Run option from Minimized to Normal Window

Deselect the Close on Exit box

Click OK to save the settings

Double click the Zortec Software shortcut.   A DOS box should appear on screen.  If it does not appear, click on the Z option on the start bar to maximize it.

Check all options in this DOS box.  The ZWIN32.BAT file is executing in this box.  Look for any errors received and correct them.

The most common error is “Out of Environment Space.” 

To correct this, close all Z windows. Right click on the Zortec Software shortcut and select Properties then the Program tab.

Update the command line to include the following:

C:\COMMAND.COM /E:4096 /C T:\DQZ\ZWIN32.BAT XX9100

 If you have the C:\COMMAND.COM/E:4096/ C T:\DQZ\ZWIN32.BAT XX9100 on the icon’s command line check to make sure that COMMAND.COM is on C:\

To find command choose Start, Find, Files/Folders.  Type in COMMAND and let the computer search the C:\ drive for it.

If the computer finds command and it is not C:\COMMAND.COM but C:\WINNT\SYSYTEM32\COMMAND.COM or something like this, update the command line on the shortcut to include the new path. 

Go back to the dqc icon command line and add the correct path to COMMAND.COM on the command line.   Example:
C:\WINNT\SYSTEM32\COMMAND.COM/E:4096 /C T:\DQZ/ZWIN32.BAT XX9100

When the Z software is exited abnormally, you may receive an error “Unload UIB?  Yes/No/Cancel.”  Choose Y and you should get to a login prompt.

Back to top


 

 





We can run a small report it prints but when we run a large report it will not print what do I do?

Is it only one large report or all large reports?  If it is just one large report, make sure you are answering the questions correctly on the screen that generates the report.

Try rebuilding your alternate keys if that does not fix the problem contact Zortec support

Back to top

 


 

 




What should I back up?

You should back up the DQZ folder on the Server because this folder has the files, programs, and data that is necessary to run the Zortec Software.

Back to top

 


 

 

 

I can not print from Zortec what do I do?

The queue name and device name in system wide parameters/printer assignments must be the same as the network names.

The printer share name in the network/windows must be the same as the device name.  Shared printer might need to be added to windows from the local box.   Go to Control Panel – Printers – and Add Printer.  This is a good way of checking that the printer is actually connected properly and sharable.

The computer name in network/windows must be the same as the queue name. This should be less than 8 characters with no spaces or punctuation.

If the user gets an error message “Print file cannot be opened”, make sure the user has a C:\tmp folder...if not they need to create it.

In My computer/Printers right click on the printer to go properties; details tab; port settings. If the “Spool MS-DOS print jobs” is checked, uncheck it.

Make sure the printer is shared and the user has rights/access to it.

Have them check the TCP/IP protocol.

Error “failed to access nbt device...” Zortec uses NBT in the COMMAND file part of the print command. At the DOS prompt type NBTSTAT –N; the name beside <UNIQUE> 00 or the first one listed must match the Queue name.

How to get to DOS Prompt go to the Start button then to Run type in Command.Com or cmd and the dos prompt screen should appear.

To test printing from DOS...

Go to the problem PC and at the DOS prompt type:

COPY  FILENAME  \\QUEUE NAME\DEVICE NAME

COPY {{autoexec.bat or any unformatted text file=FILENAME}} {{\\ELAINE\OKI3410 =\\QUEUE NAME\DEVICE NAME }}

If nothing prints, then does the printer have a DOS driver?

Error “Cannot find path specified” is an nework problem that you will need to find.

DOS Error “Access Denied” is a problem with the Network path keeping DOS command from working.

Net use command is not really used in printing.

Back to top


 

We are unable to access some applications what do we do?

Do you normally run Znet on the server?  If so try these steps:

Go to the server and insure that there is a ZNET window running minimized.  If Znet is not running it can be restarted by going to the drive where Zortec software is (normally D) - and running \DQZ\Z47\EXE\ZFSDMN.EXE

If this is not the case - has anything been added to systems.  Usually, a site will have added a new internet access provider - or changed network settings.  Insure that each PC has a correct lmhosts or hosts file in the proper place.  (From Znet Installation instructions)

On each workstation, make sure there is an LMHOSTS file in C:\WINDOWS.  This file should contain the IP address of the server, tab, and then the server name.  Be sure to check properties on the LMHOSTS file to make sure that it does not have an extension.

Example:        198.10.10.1   server02

You can normally get the IP address of the server - from dialing into the server.  Look in the upper left hand corner of the PC Anywhere window to get the server name.   Then open an MS-DOS Window (either Start/Programs/MS-Dos Prompt or Start/Run/type in COMMAND) and at the prompt type 

PING servername.  The IP address will be returned to you.

Note: This will not work at some sites due to firewalls and unique Network configurations.

Back to top

 


 

Can I install Znet as a service instead of an application?

Yes, to install Znet as a service follow these steps:

Installing an Application as a Service (Srvany)

  1. Copy srvany.exe to the server
  2. Install Srvany as a Windows service. Use the Service Installation Wizard (Srvinstw) to install a service.  Name the new Service (MyService) c:\path\srvany.exe

Where:

MyService (ZNET) is the name you want to assign to the service.

c:\path\  is the full path to srvany.exe. 

Windows NT steps

Windows 2000 steps

  1. In Control Panel, double-click the Services icon to open the Services dialog.
  2. Select the service you added in step #1.
  3. Click the Startup button to open the Service dialog.
  4. Under Startup Type, choose either Manual or Automatic.
  1. In the Computer Management console tree, click the Services and Applications node, then click the Services node.
  2. Select the service you added in step #1.
  3. Right-mouse click and select Properties.
  4. In the General tab, set the Startup Type as either Manual or Automatic.
  1. Specifying the application to start & its parameters
    Run the Registry Editor (REGEDT32.EXE):
    under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MyService: create a 'Parameters' key
  2. Under the above key, create an 'Application' value of type REG_SZ and specify there the full path of your app executable (including the extension). For example: Application: REG_SZ:  ‘d:\dqz\znet\zfsdmn.exe’

With this setup – the Znet box will not be present on the task bar.

Go to

Right Click My Computer

Manage

Services and Applications

Services

            This will show that service is running

 

Back to top


 

 

How to I make a screen print using the Zwin version of the software?

Once you have the screen displayed that you want to print press the CTL key and the P key at the same time and the following screen will appear.

You will notice at the bottom of the screen a 'Destination Printer (Def = LP Synonym): will appear.
This is where you will enter the printer number you want to send the screen print too.
Note: you can also save a screen print to your PC Workstation as an ASCII text file by specifying the Path and Folder location to store the file in. (For Example) C:\GLSCREEN
This will save the Screen Print of the General Ledger screen above in an ASCII file on your PC Workstations C: Local hard drive. You can then open the screen print file with a variety of Windows Applications including, Notepad, WordPad, Word, etc...

 

Back to top