.

 

 


.
Home

Giving

DayCare


Downloads
Buy Now
Pricing
Requirements
Contact
Support
About
 

 



 

MapleSoft would like to thank Binx Software for providing the technical steps
listed below that help to resolve this printing issue. 

   
When trying to print to a network print queue from a Windows 2000/XP workstation, you may get the message "No Print Destination Specified" as shown below:

If you click "Cancel," the program will close without printing. If you click "Ignore," program operation will continue but no reports will print.

This is a known conflict between Windows 2000 workstations and the Crystal Reports engine (used to generate reports) There are two methods to handle this problem:

Mapping a Network Printer To an LPT Port

These instructions apply to Windows 2000, but the process is similar with all flavors of Windows from Windows '95/NT 4 and up.

To follow this procedure you will need to know your network printer's path or IP setting, and the driver used by your network printer. It would be a good idea if your network administrator followed this procedure for you!

This procedure must be followed on each workstation from which you need to print reports.

  1.  
      Click "Start - Settings - Printers"

    • Double Click the "Add Printer" icon.


    • Click the "Next" Button when the "Add Printer Wizard" window opens.
    • Click the "Local Printer" Radio Button and be sure the "Automatically detect and install my Plug and Play printer" box is NOT checked. Do not choose network printer on this window! Now click the "Next" button
      .

    • Click the "Use the following port" radiobutton, then choose a printer port. Be sure to choose a port where no printer is attached. Please note that your computer does not actually need to have this port installed. In this example, I chose to use LPT2: because I have a local printer attached to my computer's LPT1: port. Make sure you remember the name of the port, then click the "Next" button.


    • Choose the correct driver for your printer. In my case, the network printer is an HP LaserJet 5si. You may need your Windows 2000 installation CD, or your printer's driver disk to proceed past this point. If in doubt, please consult your network administrator! Once the proper driver is selected, click the "Next" button.

    • Depending on how you chose to select the driver in the previous step, you should see a message similar to the one below asking if you want to use an "existing" driver. If the network printer you're installing is already in use on your workstation, you probably already have the latest driver so you should choose to keep the existing driver. If this is the case, click the "Next" button.

    • Now you must give the printer a name. DO NOT give it the same name as the network print queue. Keep the name short because the program will not accept a printer with a name longer than 31 characters. You probably DO NOT want to use this printer as your default. Click the "Next" button.

    • Be sure the "Do Not Share This Printer" radiobutton is clicked. You do not want to share this printer because it is already shared on the network! Click the "Next" button.

    • Choose "No" when asked if you wish to print a test page. There are still additional steps needed before you can print. Click the "Next" button.
    • The next window should be labeled "Completing the Add Printer Wizard." Check the settings. If all appear to be OK, click the "Finish" button. Otherwise click the "Back" button and fix your changes or click the "Cancel" button and start again.

    • Now we must write a procedure that will "capture" the printer port selected above and redirect output to your network printer. First, open "Notepad" or any other text editor. To open Notepad, click "Start - Run," then key in notepad.exe and click the "OK" button.


    •  

    • When the text editor opens, type the following text onto the very first line substituting the phrase "LPTx:" with the name of your LPT port, the phrase "SERVER_NAME" with the path to your network printer, and the phrase "‘PRINTER_NAME" with the name of your network printer. The back slashes (NOT the slash below the question mark) are required.

      NET USE LPTx: \\SERVER_NAME\PRINTER_NAME

      In my example, I chose to use printer port LPT2:, my network printer is located at and the printer name is KYO. You will have to consult your network administrator to see how to format this command. This is how mine looks:

      NET USE LPT2: \\SERVER1\KYO
    • Press the "Enter" key at the end of the line, then save the file to your desktop with the name of Capture LPT Port.BAT Be sure the file name ends in .BAT or the procedure will not run. Sometimes Notepad insists on saving the file with an extension of .TXT. If this happens to you, consult your network administrator.

    •  Now click "File -New" from Notepad's menu bar. Type the following text onto the first line and press the "Enter" key one time at the end of the line:
      NET USE LPT2: /DELETE
    • Using the procedure outlined above, save this file to your desktop with the name of Resume Normal Use of LPT Port.BAT Again, be sure the file name ends in .BAT and that you save it to your desktop for ease of access.
    • Now, each time before you start the program, double-click on the icon labeled "Capture LPT Port.BAT". This will run a program that tells your computer to direct all output sent to the specified LPT port on to the network printer.
    • Before printing from the program, be sure to choose the printer created in the above steps by choosing "File-Print Setup" from the program's main menu. In my case, I choose the HP LaserJet 5si as shown below. the program will normally retain your printer name each time you start, but it pays to double check just to be sure. If you hold your mouse pointer over a printer button, your printer name will be displayed in the "speed tip."

    • After you're done using the program, you may double-click on the icon labeled "Resume Normal Use of LPT Port.BAT" This will free your printer port for normal use.

    There is probably no harm in permanently assigning the printer port to use the network printer. With the approval of your Network Administrator, you might want to create a shortcut in your computer's "Startup" folder to run the "Capture LPT Port.BAT" program each time the computer starts. This will prevent you from having to run this procedure manually before starting the program.