Netscraps

A windsurfing, CSS-grudging, IE-hating, web-developing, gigantic-machine-puzzling blog

Category: tips (Page 2 of 2)

Thunderbird ignores Windows’ default printer setting

I bought a new printer, a Canon MX860. As all-in-one printers go, it’s fantastic. Soon it was knighted as my new Windows’ default printer.

Everything was happy in Printerland until I tried to print an email from Thunderbird. Thunderbird kept selecting my old printer — I had left the old printer driver installed — and each time I had to change the printer back to my new Canon. Granted, that’s a pretty minor annoyance, but let enough minor annoyances pass you by & soon they get together & storm the castle.

Turns out Thunderbird stores its own default printer setting & if it’s set, the Windows default printer gets completely ignored. Worse, Thunderbird’s default printer setting is about as hidden as it gets:

  1. Tools menu -> Options -> Advanced -> General tab -> Config Editor button
  2. filter the list by typing “printer” in the Filter box (top of the screen)
  3. find the print.print_printer setting (who names these settings, anyway?)
  4. right-click & click “Reset”.

That does the trick!

UPDATE 12/11/12: Recently some people have reported back that:

  • print.print_printer doesn’t show up in the settings anymore & it’s print_printer now
  • they had to reset both print.print_printer and print_printer

Hope that helps!

Resize script in Paint Shop Pro X2

PSP X2 resize scriptI batch-process-resized some photos in PSP X2, & realized too late (after I had emailed 90 photos off to various relatives) that everyone appeared a little taller & thinner than they normally are. Not so bad right? Except that headshots look a little weird. The photos were taken with different cameras with slightly different aspect ratios.

So here’s an easy way to batch process/resize photos with a PSP X2 script, each to their correct aspect ratio (fixed width, variable height):

  • Open any one image.
  • File, Script, Start recording … resize the image.
  • File, Script, Save recording … save it under your scripts folder, which is generally Documents/My PSP Files/Scripts-Restricted/
  • File, Script, Edit.. browse to your scripts folder & select the resize script that you just saved.
  • click the Text Editor button
  • delete or comment out (# in front of the line) the ‘Height’ AND ‘AspectRatio’ lines. Setting them both to None works too. Make sure ‘MaintainAspectRatio’ is set to True.
  • Save & enjoy not looking warped.

IE6/IE7 PNG gAMA bug makes PNGs appear darker

IE PNG gAMA bug
The link PNGs appear darker, except for Email A Friend, which has the gAMA chunk removed.

In setting up the new vehicle details page for DDC, I noticed that the background color for the 24-bit PNGs did not match the css background color, but only in IE6.

Searching online, I found this is a known bug with IE that stems from a flawed interpretation of the PNG’s gAMA setting. It’s fantastic that the IE team added PNG alpha transparency to IE7, but apparently they kept the gAMA bug in IE7 to make sure browser compatibility specialists keep their jobs for years to come.

In short, the fix is to remove the gAMA chunk using a tool such as TweakPNG or Pngcrush — I used TweakPNG (freeware, super easy to use, no installer) which worked great for fixing one image at a time. Fun stuff.

Page 2 of 2

Powered by WordPress & Theme by Anders Norén