Home » Support » Index of All Documentation » Wing IDE Reference Manual » Trouble-shooting Guide »

16.6. Trouble-shooting Failure to Print

This section provides some hints to get printing working if it doesn't work "out of the box".

On Windows

Wing has trouble printing with some printer drivers. One known issue is failure to transfer the correct font to the printer. The symptom is correctly printed header and footer but gibberish in the body of the source code. The problem can be solved in the Advanced menu under Print Properties in Windows by changing TrueTypeFont from "substitute with device font" to "download as soft font".

On Linux

For Python files, Wing prints PDF formatted output directly to the printer. This does not work on at least some Linux distributions and can be worked around by setting the Print Spool Command preference to pdf2ps %s - | kprinter --stdin.

Wing uses kprinter by default on Linux when it is present. Another problem on Linux occurs when using a buggy version of kprinter. To rule that out, try pdf2ps %s - | lpr or simply lpr %s instead for the Print Spool Command preference

Turning on the Print Python as Text preference may also solve some printing problems, although on some systems with plainer output for Python files. When this is enabled, Python files are also passed through the the command given in the Text Print Cmd preference instead of generating syntax highlighted PDF. In all cases, all non-Python files are passed through this command.

« 16.5. Trouble-shooting Failure to Open Filenames Containing SpacesTable of Contents17. Preferences Reference »