Printing from a CMD (DOS)-box to a HP 1020 printer - TechRepublic
Question
May 25, 2007 at 07:28 AM
david_2007

Printing from a CMD (DOS)-box to a HP 1020 printer

by david_2007 . Updated 15 years, 3 months ago

Hi,

I am trying to print a TXT file from a CMD-box to a HP 1020. It works fine with our HP 3330,3380,845C printers, even the epson DX3800 has no problemss, Except the 1020 printers don?t do a thing.
The code is used in an ASP page, and creates a TXT on the server, then I execute a command on the server to print it locally (user)
I use the next command:

Executor.Application = “cmd /c PRINT /D:\\user1\\hp1020 C:\\text\\TEST.txt ”

If you go to the properties of the printers, it seems to stay there.

Is there a way to print TXT files to a HP 1020 printer using that command?

Many thx,

David

This discussion is locked

All Comments