SHInvokePrinterCommand
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
hi all, I am using the below code to print "a test page". BOOL bRet; bRet=SHInvokePrinterCommand(NULL,PRINTACTION_TESTPAGE,_T("HP LaserJet 4050 Series PCL"),"",1); But it is not printing the test page.I have checked the printer name ,it is correct.Can anyone help me to print a test page programmatically. Is there any other method i can use to print a test page programmatically. Please let me know.