Click to See Complete Forum and Search --> : Operation with virtual port USB of the printer and the scanner


tumanovalex
June 25th, 2009, 06:03 AM
OS Windows XP and Vista. I would like to work with virtual port USB of the printer through CreateFile, ReadFile, WriteFile (for data transfer in the printer to give the command on the print, to clear the printer buffer, to receive its status, to give Printer Page Description and Markup Languages commands, etc.). For me virtual printer port HP LaserJet 1020 in system is designated as USB001. I tried to use the port name in CreateFile (\\\\. \\USB001), it has turned out nothing. Prompt how to work, please, with the virtual printer port. In the Internet has found nothing, only concerning virtual COM ports. Then it would be desirable to understand with virtual port of the scanner.