Views
670
Replies
2
Status
Closed
Dear All,
Requirement: The requirement is that i want to automate the printing of the photoshop document in all version of Adobe Photoshop, without launching the GUI of the Adobe Photoshop application. That is The Adobe photoshop application GUI should be in a hidden mode when Photoshop document is opened, printed and closed.
Steps Done: I studied the Photoshop Automation document and find there is a way to automate the printing of the document. The steps for which is as follows
1) When photoshop is installed i gave the reference of the COM Dll ( Photoshop 4.0 type library ) in my C# project
2) Then i did the following steps as shown below
PhotoshopTypeLibrary.PhotoshopApplicationClass ps = new PhotoshopApplicationClass();
IAutoPSDoc doc;
ps.Visible = false;
doc = ps.Open(@"c:\port\abc.psd");
bool b = false;
b = ps.PlayAction("Prn");
doc.Close();
ps.Quit();
Problem : The application is launched in a hidden mode , when document is opened, printed and closed in Adobe Photoshop 5.5 version.
But when the executable is run on a machine in which Adobe Photoshop 6.0 is installed, when the object of the Photshop application is made, then the GUI of the application is laucnhed. The Application should launch in HIDDEN mode always. Is there any way to do it? any document or help will be greatly appreciated
regards
Vikram Singh Lamba
Requirement: The requirement is that i want to automate the printing of the photoshop document in all version of Adobe Photoshop, without launching the GUI of the Adobe Photoshop application. That is The Adobe photoshop application GUI should be in a hidden mode when Photoshop document is opened, printed and closed.
Steps Done: I studied the Photoshop Automation document and find there is a way to automate the printing of the document. The steps for which is as follows
1) When photoshop is installed i gave the reference of the COM Dll ( Photoshop 4.0 type library ) in my C# project
2) Then i did the following steps as shown below
PhotoshopTypeLibrary.PhotoshopApplicationClass ps = new PhotoshopApplicationClass();
IAutoPSDoc doc;
ps.Visible = false;
doc = ps.Open(@"c:\port\abc.psd");
bool b = false;
b = ps.PlayAction("Prn");
doc.Close();
ps.Quit();
Problem : The application is launched in a hidden mode , when document is opened, printed and closed in Adobe Photoshop 5.5 version.
But when the executable is run on a machine in which Adobe Photoshop 6.0 is installed, when the object of the Photshop application is made, then the GUI of the application is laucnhed. The Application should launch in HIDDEN mode always. Is there any way to do it? any document or help will be greatly appreciated
regards
Vikram Singh Lamba
MacBook Pro 16” Mockups 🔥
– in 4 materials (clay versions included)
– 12 scenes
– 48 MacBook Pro 16″ mockups
– 6000 x 4500 px