Batch to Print all psd images in a folder

Hewlett-packard / Iq505
August 31, 2009 at 15:36:51
Specs: Windows Vista , Dual Core/4GB
Hello batch friends. I am curious to know if there is a way to print all of the images found in a folder by using a batch file? Any ideas? I tried net use lpt2: \\NAME OF COMPUTER\Name of Shared Printer and then I tried to print to this but I think I am screwing everything up again.... :( Any ideas?

See More: Batch to Print all psd images in a folder

Report •

August 31, 2009 at 16:29:22
I could be wrong but I very much doubt it is possible to print the psd format this way.

Using "copy <file> lpt2" sends the job directly to the printer as raw data, only if the printer happens to support the data type will it print properly. These high level files are converted to a format that can be printed before/as the are sent to the printer by the programs that handle them.

Report •

August 31, 2009 at 18:45:03
I see... Is it the same true for jpegs, bmps and gifs? What kinds of files can I print using batch files and how do I send them to a usb printer? I have only succeeded sending a plain text document so far using notepad /P filename.txt

I was hoping to be able to print image files and rtf files and maybe even doc files using the same trick. But no go so far... I haven't even gotten to try my "for" command magic because I can't send anything more than the boring txt files so far.

Report •

August 31, 2009 at 19:42:51
If the specific application supports a print switch then there isn't an issue(except of course for finding the switch).

These programs are generating data the system can use to print, like emf, so long as the images/documents are being parsed and converted before being sent to the printer it should be fine.

I was referring to sending the documents directly to the printer via copy or a pipe, which leaves them in a raw format; most printers support but a few(if that) formats.

Report •

Related Solutions

August 31, 2009 at 19:49:34
I forgot to mention your on the right track with net use and the usb printer. If it's a local printer first you must make it available for sharing via the printers properties and address your own computer as if it were a remote machine.

Here's a link that you might find useful :

Report •

August 31, 2009 at 22:01:39
Thanks Judago I'll give it a lookup tommorrow.

Report •

Ask Question