Print command, unable to initialize the device
Solved
CorentinRoche
Posted messages
287
Status
Membre
-
CorentinRoche Posted messages 287 Status Membre -
CorentinRoche Posted messages 287 Status Membre -
Hello,
I made a script that manages radius accounts, sending the account via FTP, etc...
I created a system that generates a file named impression.txt and puts the information in this file, then it should print it automatically and delete it.
So the creation works, deleting it does too, but when the print command executes, I get this error:
Normally the syntax for the command is
So my command is:
but I get this error:
I tried using the printer's name, its IP... it is not in sleep mode.
And when I print manually, the printer outputs my documents.
Do you have any ideas about this print command?
Best regards,
Roche Corentin
I made a script that manages radius accounts, sending the account via FTP, etc...
I created a system that generates a file named impression.txt and puts the information in this file, then it should print it automatically and delete it.
So the creation works, deleting it does too, but when the print command executes, I get this error:
unable to initialize device \\10.35.2.8\10.35.3.211
Normally the syntax for the command is
print /d:\\Printer_Server\Printer_IP
So my command is:
print /d:\\10.35.2.8\10.35.3.211 impression.txt
but I get this error:
unable to initialize device \\10.35.2.8\10.35.3.211
I tried using the printer's name, its IP... it is not in sleep mode.
And when I print manually, the printer outputs my documents.
Do you have any ideas about this print command?
Best regards,
Roche Corentin