Home

Results 1 to 7 of 7

Thread: NDPS and batch

  1. #1
    hubert Lelong NNTP User

    NDPS and batch

    We are using Netware 6 and NDPS.
    A developer asked me a question, I did not even know what to tell him !
    He wants to print ascii files from a XP station. But he wants to do it from a batch file (he told me : just as NPRINT did some years ago...)

    I tried "print xyz.txt /d:\\ndps01" but of course does not work.

    (right now, I just told him to give a TXT extension and right clic/print; but that's not what he wants.)
    any help would be appreciated !

  2. #2
    Join Date
    Aug 2007
    Location
    Luxembourg
    Posts
    5,142

    Re: NDPS and batch

    Quote Originally Posted by hubert Lelong View Post
    We are using Netware 6 and NDPS.
    A developer asked me a question, I did not even know what to tell him !
    He wants to print ascii files from a XP station. But he wants to do it from a batch file (he told me : just as NPRINT did some years ago...)

    I tried "print xyz.txt /d:\\ndps01" but of course does not work.

    (right now, I just told him to give a TXT extension and right clic/print; but that's not what he wants.)
    any help would be appreciated !
    If you use iPrint instead of NDPS, you can use iprntcmd.exe with the option -p to print a file directly to a printer.
    Marcel Cox

  3. #3
    Pascal Schmatz NNTP User

    Re: NDPS and batch

    You might "capture" the port with "icapture" to LPT1:
    and then he may print to LPT1:

    Marcel_Cox wrote:
    > hubert Lelong;1446558 Wrote:
    >> We are using Netware 6 and NDPS.
    >> A developer asked me a question, I did not even know what to tell him
    >> !
    >> He wants to print ascii files from a XP station. But he wants to do it
    >> from a batch file (he told me : just as NPRINT did some years ago...)
    >>
    >> I tried "print xyz.txt /d:\\ndps01" but of course does not work.
    >>
    >> (right now, I just told him to give a TXT extension and right
    >> clic/print; but that's not what he wants.)
    >> any help would be appreciated !

    >
    > If you use iPrint instead of NDPS, you can use iprntcmd.exe with the
    > option -p to print a file directly to a printer.
    >
    >


  4. #4
    hubert Lelong NNTP User

    Re: NDPS and batch

    do you both mean I should install IPRINT ? it is certainly a lot of work...

    Right now, standard NDPS with drivers distribution works perfectly, and if I have only 1 guy who ask for something that I don't know, I'm not sure it is worth installing a new product.

    Thanks anyway for answering so fast.

  5. #5
    DParkes NNTP User

    Re: NDPS and batch

    http://www.andtechnologies.com/dosprint.html

    Cheers Dave


    --
    Dave Parkes [NSCS]
    Occasionally resident at http://support-forums.novell.com/

  6. #6
    hubert Lelong NNTP User

    Re: NDPS and batch

    than you very much, this is EXACTLY what I needed
    big hugs from Toulouse, if you ever pass by here.. I own you a good drink.

  7. #7
    DParkes NNTP User

    Re: NDPS and batch

    <g>, no problem

    Cheers Dave


    --
    Dave Parkes [NSCS]
    Occasionally resident at http://support-forums.novell.com/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •