This project is read-only.

Print ticket name doesn't account for forward slashes


Simply need to add a String.Replace to handle forward slashes in the print ticket 'GetSaveLocation' method


notonyournelly wrote Dec 29, 2012 at 7:33 PM

This fix needs to be generalized to deal with any illegal filename characters.

For example, my printer (for some reason) was named "foo printer:#4". So I needed to strip the colon character.

Any/all illegal characters should be stripped ... \ / : * ? " < > |

I'd also be happier if GetSaveLocation() used backward slashes rather than forward slashes in the String.Format specifier, i.e. "{0}\{1}" rather than "{0}//{1}" as is currently the case.

wrote Feb 14, 2013 at 2:46 AM