Hello
My problem is.
I can't to print with this program on my USB printer
This is my code:
#include <stdio.h>
void main ()
{
fprintf(stdprn,"\n\n PROVA DI STAMPA \n\n"
}
In this way i can print on Lpt1 printer:
#include <stdio.h>
void main void()
{
FILE * fp;
fp=fopen(“Lpt1”,”w”);
if(fp==NULL)
{
printf(“ERROR \n”);
}
fprintf(fp,”HELLO\n”);
fclose(fp);
}
what can i do?
many thanks
My problem is.
I can't to print with this program on my USB printer
This is my code:
#include <stdio.h>
void main ()
{
fprintf(stdprn,"\n\n PROVA DI STAMPA \n\n"
}
In this way i can print on Lpt1 printer:
#include <stdio.h>
void main void()
{
FILE * fp;
fp=fopen(“Lpt1”,”w”);
if(fp==NULL)
{
printf(“ERROR \n”);
}
fprintf(fp,”HELLO\n”);
fclose(fp);
}
what can i do?
many thanks