aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-09-22 18:23:40 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-09-22 18:23:40 +0300
commitcd5a926df30ea7e7a4f4f4a55d71b43ec7aee3e1 (patch)
tree9120c194b18b4f7e3e781803971684673d26a970 /Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs
parent8e49a8041391c9aa946060aed2c538b1ce958a68 (diff)
downloadTango-cd5a926df30ea7e7a4f4f4a55d71b43ec7aee3e1.tar.gz
Tango-cd5a926df30ea7e7a4f4f4a55d71b43ec7aee3e1.zip
Implemented auto process selection on color space volume.
Implemented number of units on Device. Fixed issue with color conversion process index. Increased max volume to 200 on PPC. Implemented Thread cloning on MS!
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs12
1 files changed, 2 insertions, 10 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs
index f9615199a..41a231932 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs
@@ -52,15 +52,7 @@ namespace Tango.PPC.UI.Printing
#if STUBPRINT
handler = await _machineProvider.MachineOperator.PrintStub(job);
#else
-
- if (job.ColorSpace.Code != ColorSpaces.Volume.ToInt32())
- {
- handler = await _machineProvider.MachineOperator.Print(job);
- }
- else
- {
- handler = await _machineProvider.MachineOperator.Print(job, job.Rml.GetActiveProcessGroup().ProcessParametersTables.FirstOrDefault());
- }
+ handler = await _machineProvider.MachineOperator.Print(job);
#endif
handler.Completed += async (x, e) =>
@@ -152,7 +144,7 @@ namespace Tango.PPC.UI.Printing
public async Task<JobHandler> PrintSample(Job job, ObservablesContext context)
{
ThrowIfJobInvalid(job);
-
+
LogManager.Log("Cloning job...");
Job sampleDyeJob = job.Clone();
sampleDyeJob.Guid = job.Guid;