Also how do i send text to my printer without using APIs
my printer is connected to a usb port
Type: Posts; User: fatta
Also how do i send text to my printer without using APIs
my printer is connected to a usb port
my printer is connected to the usb port.
do you how to open a printer connected to the usb port
ya man, it is connected to a usb
there is a printer connected to my computer.
have you tried it on there system.
it is not working. it is returning NULL
I am using VC++
Magos thanks,
its works, no syntax errors but when i am reading back the value into another class, i am getting back garbage values.
i am using VC6
Also how do i send text to my printer without using APIs
I have tried
FILE *fp=fopen("lpt1", "w");
and
FILE *fp=fopen("lpt1:", "w");
it gave me a runtime error
i am using VC6
Can Classes be written to a file.
And how
I have tried using fwrite but it didn't work
// you can use the win api in your console program.
// the window will minimize into the system tray for 5 seconds and reappear
#include<shellapi.h>
#include "stdafx.h"
#include<windows.h>...
how do i save the content of a hdc(handle device context) to a file. I have captured the screen and want to save it to a file.
how do i use CreateDC to get a handle (hdc) for my printer?
CreateDC("Display",NULL,NULL,NULL,NULL) retrieves a handle for the screen.CreateDC
when i try to use InternetOpen, i getting this error:
"error LNK2001: unresolved external symbol __imp__InternetOpenA@20"
i have included the wininet.h header file