1. Printing on a NT network

I'm trying to print from inside EUPHORIA to my network printer. (I use NT
4.0).
From the command line, I use to redirect the output this way:

        anycommand >\\ntoys\hp4si

where ntoys is my server's name and hp4si is the queuename.
And that works.

When I try the same inside an Euphoria program, (like EPRINT.EX) I always
get
an error (-1) when opening the printer:

        printer = open("\\\\ntoys\\hp4si", "w")

Does anyone know why?.
Thanks.
Jesus.
-----------------------------------
jconsuegra at redestb.es

new topic     » topic index » view message » categorize

2. Printing on a NT network

Jesus Consuegra writes:
> I'm trying to print from inside EUPHORIA to my network printer. (I use NT
 4.0).
> From the command line, I use to redirect the output this way:
        anycommand >\\ntoys\hp4si
> where ntoys is my server's name and hp4si is the queuename.
> And that works.
> When I try the same inside an Euphoria program, (like EPRINT.EX) I always
> get an error (-1) when opening the printer:
>        printer = open("\\\\ntoys\\hp4si", "w")
> Does anyone know why?.

Euphoria is running on the part of NT that emulates DOS.
I don't have access to an NT machine right now, but I
suspect that this kind of path name is just not supported
for DOS programs on NT. The WIN32 version of
Euphoria will not have this problem. It will be a full-fledged
WIN32 program, able to access all of the features of NT and
Win95. I hope to have a WIN32 alpha release in a few months.

Regards,
   Rob Craig
   Rapid Deployment Software

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu