Simon Agerbo
1/11/2006 1:56:00 PM
Hi Gofer
you could try to create the textfile in a textbuffer in axapta, an then
print it to the COM or LPT port.
something like this.
Textbuffer textBuf = new TextBuffer();
textbuf.appendText("Here you can");
textbuf.appendText("enter the values");
textbuf.appendText("from your textfile");
//print to COM2 Port
textbuf.toFile('com2:'); //I asume that this will work
//print to LPT1 port
textbuf.toFile('lpt1:'); //this works
regards
Simon Agerbo
"Gofer" wrote:
> Hello.
>
> I would like to rpint labels from Axapta on label printer. I know that I
> must create text file and then send it to a printer that is connected to
> RS232 port. So there is my question. How can I send same file to a RS232 port
> from Axapta. Mayby there is another way to print on this printer. I know that
> I can use windows driver's for printer , but this not satisfy my.
>
> Could you have any sugesstion ?
>
> Best regards
> Gofer