Is it possible to access a printer attached to a usb port. Have tried the usual way:-
FILE *prn_ptr;
if((fp_ptr = fopen(prn_ptr,"LPT1"))==NULL)
{
/* print error message*/
}
fprintf(prn_ptr,"Does this work??");
but to no avail. I know LPT1 is the parallel port, have tried the name of the port as it shows up in the printer properties, with no different result.have also tried putting form feeds in.
p.s. I'm "programming" in C not C++