It is currently Fri Aug 28, 2026 12:50 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Automatic print script
PostPosted: Sun Aug 07, 2011 3:33 am  (#1) 
Offline
New Member

Joined: Aug 07, 2011
Posts: 2
GIMP Version: 2.6.11
Operating System: Windows
OS Version: 7
GIMP Experience: Beginner Level

List any relevant plug-ins or scripts:
"""C:\Program Files\GIMP-2.0\bin\gimp-2.6.exe"" -b batch-rotate90 C:\Users\Anders\swc\swc_0600.gif -b batch-print C:\Users\Anders\swc\swc_0600.gif -b gimp-quit 0"



Hello,
I want to in a script print out an image with Gimp, rotated to landscape. I can not find anywhere how to automatically print the image with the gimp batch command.
Can anyone please help me. I wrote the above command, but it did not work.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Automatic print script
PostPosted: Sun Aug 07, 2011 12:15 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jun 25, 2011
Posts: 914
Location: Mount Olive, North Carolina
Did you mean print as in send to the printer?

I wonder if ImageMagick would be more appropriate for this task. I've never used command line GIMP, but that seems like a big program to use for such a small task.


Top
 Post subject: Re: Automatic print script
PostPosted: Sun Aug 07, 2011 5:03 pm  (#3) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5241
Location: Gimpville
Yes, I think your suggestion is a good solution, merrak. Use imageMagick to manipulate the image and use one of the numerous Window's utilities available that sends a file to the printer via batch files. Aside from the standard "print" command, a quick search turned up PrintFile and JPTI.

I'm sure there are other suitable utilities so my advice would be to pick the best tool(s) for the task.

_________________
“If you reach for the stars, you just might land on a decently sized hill.” - Stuart Hill


Top
 Post subject: Re: Automatic print script
PostPosted: Sun Aug 07, 2011 6:14 pm  (#4) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
IMHO, given that the print driver is also going to massage the picture there is no need to rotate it first. A picture with a 90° rotation on a portrait printout is the same as one with a 0° rotation on a landscape print.

_________________
Image


Top
 Post subject: Re: Automatic print script
PostPosted: Sun Aug 07, 2011 10:26 pm  (#5) 
Offline
New Member

Joined: Aug 07, 2011
Posts: 2
You guys are right, thanks. I setted Irfanview to print in Landscape and best fit to page, and I just printed the image. It was so much easier.


Top
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group