General discussion

  • Creator
    Topic
  • #2344379

    Printing on VFP/Netware

    Locked

    by support ·

    Running a large in-house application written in Foxpro 2.5 DOS running on Netware 4.2. We have three network printers and use capture statemnets in the login script to direct printing to the queues. We are starting to convert to Visual Foxpro 6.0 and having a problem printing. When using ? to print, all output goes to the Windows default printer. Any attempt to redirect to LPT ports or queues result in errors or printing going to the default printer. The VFP document is rather poor describinghow to select a printer/print queue in a netware server. Any advise or redirect on where to get more infomation on printing would to greatly appreciated. Thanks.

All Comments

  • Author
    Replies
    • #3721464

      Printing on VFP/Netware

      by support ·

      In reply to Printing on VFP/Netware

      Point value changed by question poster.

    • #3711451

      Printing on VFP/Netware

      by erikdr ·

      In reply to Printing on VFP/Netware

      No experience with VFP, but in generally with switching from DOS printing to Windows printing (also in NetWare).
      Then, the LPT: printername is _not relevant_ anymore for the application. What counts for Windows is the Windows printername (which in turn, through capture or the NW Windows tool, links to a NW queue). So look in the VFP doc on how to direct the output not to a LPT: but to a Windows printername.

      Hope this helps,

      – The Netherlands

      • #3711419

        Printing on VFP/Netware

        by support ·

        In reply to Printing on VFP/Netware

        The VFP doc is poor in this area. Thanks for your suggestion.

    • #3708768

      Printing on VFP/Netware

      by stillatit ·

      In reply to Printing on VFP/Netware

      The issue is how you are connecting to your netware printer queues. The Foxpro commands
      SET PRINTER TO
      SET PRINT ON/OFF
      and so on work as advertised. Check the exact syntax in the help file. You may need to redefine the printers to have names that Foxpro can handle.

      Remember that since VFP is NOT a DOS app, you should not be using capture.

      Good luck.

    • #3713909

      Printing on VFP/Netware

      by support ·

      In reply to Printing on VFP/Netware

      This question was closed by the author

Viewing 3 reply threads