[Jslib] using jslib to send data to a printer

Joseph McDonald superjoe at gmail.com
Fri Feb 9 12:26:37 PST 2007


I tried this:
var fu = new FileUtils();
JS_LIB_DEBUG=1
1
fu.copy("c:\\test.prn", "\\\\DELL1\\pix");
-2152857608

for some reason it doesn't like that syntax for the the printer.
this is a stumper.

thanks,
-joe


On 2/8/07, Pete Collins <pete at mozdevgroup.com> wrote:
>
> >
> >This is some funky label printer that has it's own command language
> >which is why i can't just go through a print driver.
> >
> >Any hope of getting this to work?
> >
> >
> >
> >
>
> Since you are doing a copy in your bat file, did you try a copy from
> jslib just as a test?
>
> Maybe, local file writes just fail on network mounted drives ...
>
> Try: JS_LIB_DEBUG=1
>
> and see what errors you are getting ...
>
> --pete
>
> --
> Pete Collins - Founder, Mozdev Group Inc.
> www.mozdevgroup.com
> Mozilla Software Development Solutions
> tel: 1-719-302-5811
> fax: 1-719-302-5813
>
> _______________________________________________
> Jslib mailing list
> Jslib at mozdev.org
> http://mozdev.org/mailman/listinfo/jslib
>


More information about the Jslib mailing list