Code Blog

Displaying 1-2 of 2 results.
2016/11/23 MacOSX

On Mac OS X / Unix start a terminal window and run the following commands:

Modified timedate

touch -mt YYYYMMDDhhmm filepath
touch -mt 201611231200 *

The example above will update all files in the current folder with modified datetime of 2016/11/23 12.00AM. This helped me solve some file upload sorting order problem in the past.

Create and modified timedate

Dropping the "-m" flag will update both created and modified datetime

touch -t 201611231200 *

 

2016/11/22 MacOSX

I had some problems getting a Fuji-Xerox DocuPrint to print from my Mac, I tried multiple drivers but it still only printed garbage (see photo below). Turns out that the Mac requires the printer to support postscript. It's a bit confusing as this printer (FX DocuPrint 2065) says it supports Mac and it also gets autodetected when I try to add the printer. Problem is, the printer I tried to add doesn't have the postscript module (it's actually an optional addon!) so in order to get it to print correctly I need to install a non-ps printer driver! This is quite tricky to find out, and also not so easy to find where to download this driver. 

Links for downloading the non-ps driver at http://macintoshhowto.com/printing/printing-to-a-non-postscript-fuji-xerox-printer.html 

Printer output using postscript driver when printer doesn't support postscript! 

Note that the autodetected driver says "PS", but if the printer doesn't have the postscript module this will not work.

Need to click "View All" to show the download link for the "Non PS" driver.

After installing the downloaded "Non PS" driver, you need to manually select it when adding the printer.