Welcome to the KeepItPrinting.com forums! The doctor is IN.

Your business can be seen here! Prime spots available!

Please consider making a voluntary donation if you find these forums helpful. Thank you.
Home of the Kip Doctor!            REGISTER: In order to register for our forums please send an E mail to [email protected] stating what user                                                               name and password you would like. This is now required due to all the spambots that have been registering.
KeepItPrinting.com Forum Index KeepItPrinting.com
The "unofficial' and "unauthorized" KIP info site.


Kip 2000 Halftoning

 
Post new topic   Reply to topic    KeepItPrinting.com Forum Index -> KIP software info.
View previous topic :: View next topic  
Guest






 PostPosted: Fri May 25, 2007 8:41 am    Post subject: Kip 2000 Halftoning Reply with quote Back to top

Hi all, great site you have here, let me pose a toughie for you.

We have a Kip 2000 running PowerPrint 5.5 on the internal NT controller. Our office is pretty much 100% Macintosh, and we print directly to the Kip over TCP/IP using the Windows XP PPD. Thus, we don't use Request to send jobs, we just print from our workstations through the built-in PostScript printer driver and the operating system handles the rest. Under the hood, the workstation spools a PDF file to the Kip controller, and then the controller parses the file into the plotter's native format.

The Kip rips these files very quickly for the most part, and output is quite good except in one area, halftoning. We can run photographs, maps, or whatever you can come up with through the Kip scanner, and they print out wonderfully. We can also take those scanned files and print them from Photoshop or our cad program, and they come out wonderfully so long as they're 1-bit 400 dpi images at the correct scale (diffusion dither looks the best, but other dither patterns work ok too). Yet if we print a photograph from our computers that's in color or grayscale, if we send send a CAD drawing with color or gray fills in it, or if we take one of those 1-bit images and rescale it even slightly, the plotter chooses a very rough (i.e. low resolution) dithering pattern.

It's not a huge deal for most of our CAD drawings, since things like wall fills and most shading doesn't need a very high resolution dithering pattern. However, sometimes we put photos in our drawings, such as vicinity maps, and those print very poorly. The only way we can get full quality prints is if we convert the image to 1-bit 400 dpi and make sure it doesn't get re-scaled. It's also a problem because we use halftoned lines and hatch patterns a lot, and since the dithering pattern is so rough it can make parts of those lines disappear.

I can work around this in two ways. First, I can print to a PDF file, then rasterize the PDF in Photoshop to 400 dpi and convert it to a 1-bit (black & white) image, and print it from there. That can take a very very long time though, especially if it's a very complicated drawing. I can also print to a PDF file, open it in Adobe Acrobat, and set up advanced print settings using custom color separations with 200 lpi and 45 degree angle and telling it to "emit halftones".

The first method is time consuming and cumbersome, not to mention easy to mess up. We'll do it for our vicinity maps, but that's about it. Ideally there would be a setting somewhere that I could change that would just fix the halftoning on all plots. The fact that Acrobat can force high quality halftones through suggests that it is possible somehow, but I don't know how to make it work globally.

I've tried every edit I can think of on both the PPD file and the WinUntd.ini file on the controller. Nothing in the PPD seems to have any effect. I changed the screening options to 200 lpi and 45 degrees, but that didn't do anything. In the WinUnt.ini file I tried whatever different settings I could find from discussions here and at one or two other sites for AddHpglCmd, AddRasterCmd, and RasterScaling. None of those had any effect either. The only setting that had any effect was changing EnhancedColor under PDFDefaults to true. This produces great dithering, but it turned the whole print into a low resolution raster image. I couldn't find any way to increase the resolution of this resulting image, and even so, it takes a much much longer to rip.

I tried entering some GhostScript commands in the pscript.exe prompt, but none of them seem to work. I tried -dDITHERPPI=200, and it spit back an Error: /undefined... Pretty much any command I found for GhostScript returned one of those errors. That's my last idea, since it appears that GhostScript's dithering leaves much to be desired. Since none of the commands work though, I'm at a loss. I'm no programmer, and I'm not even a Windows guy, so I don't know what else to do. I would guess it's possible to change this, I just need the correct syntax and settings, and I'm not sure where to find that. I'd appreciate any help you can offer.

Thanks Smile
 
cjwilt
doctor


Joined: 24 Jan 2007
Posts: 1041

 PostPosted: Fri May 25, 2007 1:10 pm    Post subject: Reply with quote Back to top

I know the Unattend Version 6.2.168 allows you to add postcript switches to the INI file. This might be your easiest route at this point, but you will have to ghost the hard drive to 6.0 first and then get a copy of 6.2.168. I am no Mac guy, so my help is limited. Best of Luck.
 
View user's profile Send private message
Guest






 PostPosted: Fri May 25, 2007 1:21 pm    Post subject: Reply with quote Back to top

Actually I do have 6.2, but what I don't have is 6.0. Either way, I'm not up for upgrading the controller from NT to XP, which I understand would be required for upgrading to 6.
 
Neil Johnston
doctor


Joined: 23 Dec 2005
Posts: 402
Location: Seattle, WA

 PostPosted: Fri May 25, 2007 6:26 pm    Post subject: Reply with quote Back to top

In 5.5 you can effect the dither used when a file is scaled down by the Unattend software. Here's an explaination of the [RasterScaling] switches. Direct from the manual... (winuntd.ini is found on the controller in C:\program files\windows unattend)

Added Enhancements to full and half Size Printing of Raster Data – designed to improve full and half size printing of heavy Raster data. The INI settings allow the technician to specify at what “Raster Density” the Powerprint software applies a Dither Pattern and Density Setting. This is very similar to applying a Dither Pattern and Density Setting to RTL data, but this now applies for Raster Data (TIF, Cals, TLC, NOT JPEG).

[RasterScaling]
RasterThreshold1=2.8
RasterThreshold2=11
RasterSetting1=
RasterSetting2=-Z –W 100 –u 0
RasterSetting3=-q 1 –W 75

Here’s how the features work:
A. Below RasterThreshold1, it best to apply a no setting command, (EG: RasterSetting1=
“blank”). Leave blank. Most “line” images fall under 2.8, these don’t need any further
settings.
B. Between RasterThreshold1 and RasterThreshold2; RasterSetting2 will be used.
C. Above RasterThreshold2; RasterSetting3 will be used.
Switches

These three switches must be used in conjunction with each other .
-Z - Photo Mode ON
-W 100 - Raster Density, lower numbers will “lighten” data.
-u 0 - Raster Dither Pattern, values include 0,4,6, or 8. Same as RTL Density values.

These two switches must be used in conjunction with each other and BOTH must be used
together.
-q 1 – utilizes a “random” dither pattern, better for non-continuous tone images.
-W 75 - Raster Density, lower numbers will “lighten” data.

Try messing with these settings. The RasterScaling setting weren't ment to effect PS files but they do. The PS file gets ripped by the pscript.exe first. Then Unattend resizes the file and uses the dither options set in the RasterScale section.
_________________
Neil Johnston
Sales / Support
www.TheWideFormatCompany.com
www.PlotTrackerPro.com - Kip Accounting Software
 
View user's profile Send private message Send e-mail Visit poster's website
Guest






 PostPosted: Tue May 29, 2007 9:48 am    Post subject: Reply with quote Back to top

It appears though that those raster settings only affect the file after it's been ripped. I didn't play around with the settings too much, but I was able to see a definite change in the output by adjusting the -W values. Unfortunately, all it did was lighten or darken the entire image, but with nice dithering. I could still see the dithering of photos and other CAD objects was the same however. Let me illustrate.

Here's an image I want to print.



If I print it with the normal settings, here's what the output looks like:



Let's call this the "postscript dither", which is only about 60 lpi.

Now if I make the file a bitmap image with a dpi to match the printer (400), here is what I get:



This is the same as if I ran the photo through the scanner, or if I use Adobe Acrobat's custom print settings that I mentioned above. As you can see it's much better.

Back to printing the original color image, if I change the raster scaling settings, this is what I get:



The blocky "postscript dither" of the ripped image is the same, only now the printer's "raster dither" is applied over that, making it lighter. Strangely, I found that HIGHER -W numbers made the image lighter, not the other way around.

Note that I just faked all these images with Photoshop, but it's a good illustration of what I'm talking about. In the last image, you would need to look very close at the print to see the dithering that's making it gray.

So even though there's some control over the output in the raster scaling settings, it doesn't seem to matter since the image is already ripped into the blocky dithering by GhostScript before the raster scale settings have a chance to work on it. At least that's what it looks like to me, feel free to correct me if I'm wrong.
 
Neil Johnston
doctor


Joined: 23 Dec 2005
Posts: 402
Location: Seattle, WA

 PostPosted: Tue May 29, 2007 11:27 am    Post subject: Reply with quote Back to top

Try this...

[RasterScaling]
RasterThreshold1=2.8
RasterThreshold2=11
RasterSetting1=-q 1 –W 90
RasterSetting2=-q 1 –W 90
RasterSetting3=-q 1 –W 90
_________________
Neil Johnston
Sales / Support
www.TheWideFormatCompany.com
www.PlotTrackerPro.com - Kip Accounting Software
 
View user's profile Send private message Send e-mail Visit poster's website
Guest






 PostPosted: Tue May 29, 2007 3:02 pm    Post subject: Reply with quote Back to top

It's still showing the postscript dithering with those settings. I'm tired of fighting with this, it's too much hassle.
 
Kipintern
doctor


Joined: 04 Dec 2004
Posts: 378
Location: Infinity & Beyond Here on Earth Too!

 PostPosted: Tue May 29, 2007 9:51 pm    Post subject: Reply with quote Back to top

send me the file pls

i will get er done !!!!
 
View user's profile Send private message Send e-mail Visit poster's website
mark@EOS
medical school freshman


Joined: 13 Dec 2004
Posts: 24

 PostPosted: Thu May 31, 2007 9:49 am    Post subject: Don't waste your time... Reply with quote Back to top

The 2000 doesn't do smoothing, print the same drawing on a 6000 and I bet it looks a helluva lot better.
 
View user's profile Send private message
Guest






 PostPosted: Thu May 31, 2007 9:58 am    Post subject: Re: Don't waste your time... Reply with quote Back to top

mark@EOS wrote:
The 2000 doesn't do smoothing...


It CAN print things quite well, it just doesn't want to. As I've illustrated above, there are workarounds to force it to print with high quality dithering, but they are just workarounds, not day-to-day solutions.
 
Display posts from previous:   
Post new topic   Reply to topic    KeepItPrinting.com Forum Index -> KIP software info. All times are GMT - 3.5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum