Computing.Net > Forums > Programming > Batch to Print all psd images in a folder

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batch to Print all psd images in a folder

Reply to Message Icon

Name: cypster
Date: August 31, 2009 at 15:36:51 Pacific
OS: Windows Vista
CPU/Ram: Dual Core/4GB
Product: Hewlett-packard / Iq505
Subcategory: Batch
Comment:

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?



Sponsored Link
Ads by Google

Response Number 1
Name: Judago
Date: August 31, 2009 at 16:29:22 Pacific
Reply:

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.


0

Response Number 2
Name: cypster
Date: August 31, 2009 at 18:45:03 Pacific
Reply:

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.


0

Response Number 3
Name: Judago
Date: August 31, 2009 at 19:42:51 Pacific
Reply:

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.


0

Response Number 4
Name: Judago
Date: August 31, 2009 at 19:49:34 Pacific
Reply:

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 :

http://www.robvanderwoude.com/print...


0

Response Number 5
Name: cypster
Date: August 31, 2009 at 22:01:39 Pacific
Reply:

Thanks Judago I'll give it a lookup tommorrow.


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Batch to Print all psd images in a folder

Batch to del first x lines of text www.computing.net/answers/programming/batch-to-del-first-x-lines-of-text/16887.html

VB Macro www.computing.net/answers/programming/vb-macro/2325.html

delete files in a folder (batch) www.computing.net/answers/programming/delete-files-in-a-folder-batch/14570.html