Anonymous_User Absent Member.
Absent Member.
1089 views

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 !
0 Likes
6 Replies
Marcel_Cox Absent Member.
Absent Member.

Re: NDPS and batch

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.
0 Likes
Anonymous_User Absent Member.
Absent Member.

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.
>
>

0 Likes
Anonymous_User Absent Member.
Absent Member.

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.
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: NDPS and batch

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

Cheers Dave


--
Dave Parkes [NSCS]
Occasionally resident at http://support-forums.novell.com/
0 Likes
Anonymous_User Absent Member.
Absent Member.

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.
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: NDPS and batch

<g>, no problem

Cheers Dave


--
Dave Parkes [NSCS]
Occasionally resident at http://support-forums.novell.com/
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.