Mail Archives: djgpp/1998/05/15/03:16:54
anonymous wrote:
>
> Hello,
> My name is Juan I have a simple question to any one that can help me
> or, point me to the right direction. Thanx in advance.
>
> ok this function eject a sheet of paper from a local printer.
>
> void prnchar(char 0x0c){
> regs.h.ah=0x00;
> regs.h.ah=0x0c;
> regs.x.dx=LPT1;
> int86(0x17,®s,®s);
> }
>
> how can I do this to a network printer (Netware).
You usually have "capture" to map local ports to Netware Queues,
so just fopen() LPTx, fput a LF and fclose() it.
Where is the connection to DJGPP?
--
Ciao
Tom
*************************************************************
* Thomas Demmer *
* Lehrstuhl fuer Stroemungsmechanik *
* Ruhr-Uni-Bochum *
* Universitaetsstr. 150 *
* D-44780 Bochum *
* Tel: +49 234 700 6434 *
* Fax: +49 234 709 4162 *
* http://www.lstm.ruhr-uni-bochum.de/~demmer *
*************************************************************
- Raw text -