Hi,
Trying out developer version 12.1.2d on OS X/Yosemite. Printing does not work; no print output generated.
Steps to reproduce:
1. Create simple graphics in GID. (I drew a circle.) Save as test.gid.
2. Hit "print" icon in toolbar.
3. Notes written to status bar: 'png file /var/tmp/gid3SOFLI_/_mypdf.png.png created' and 'pdf file /var/tmp/gid3SOFLI_/_mypdf.png.pdf/ created.
4. Mac print dialog appears. Hit print. No output sent to printer.
5. Try again, this time selecting print to PDF file from Mac print dialog: no PDF file generated, printing silently fails.
6. Check /var/tmp/gid3SOFLI_/ to see if temp file (png) was generated; it was not, nor was the temp PDF.
The issue here seems to be that GID is not generating the temporary files necessary for printing.
Printing fails on OS X with 12.1.2d
Moderator: GiD Team
Re: Printing fails on OS X with 12.1.2d
Hi,
thanks for the report.
Foudn the error and corrected it.
The files that appear in the status bar: 'png file /var/tmp/gid*****/_mypdf.png.png created' and 'pdf file /var/tmp/gid*****/_mypdf.png.pdf/
are just temporary files used to create the pdf file that is sent to the printer, and are meant to be deleted.
The problem was that while the Print dialog was shown, and the user interacted with it, this temporary file was deleted and nothing was sent to the printer.
The next developer version will have the correction.
Thanks for the report.
Miguel
thanks for the report.
Foudn the error and corrected it.
The files that appear in the status bar: 'png file /var/tmp/gid*****/_mypdf.png.png created' and 'pdf file /var/tmp/gid*****/_mypdf.png.pdf/
are just temporary files used to create the pdf file that is sent to the printer, and are meant to be deleted.
The problem was that while the Print dialog was shown, and the user interacted with it, this temporary file was deleted and nothing was sent to the printer.
The next developer version will have the correction.
Thanks for the report.
Miguel
-
- Posts: 3
- Joined: Fri Feb 06, 2015 2:45 pm
Re: Printing fails on OS X with 12.1.2d
Thank you.
In a similar vein, printing from the help viewer does not work. That brings up a dialog box: "hpdf file open error."
Any suggestions there?
In a similar vein, printing from the help viewer does not work. That brings up a dialog box: "hpdf file open error."
Any suggestions there?
Re: Printing fails on OS X with 12.1.2d
Hi,
the help does not use the standard printing tools, but a more complex system.
This system uses the X11 fonts, located at
/usr/X11R6/lib/X11/fonts/TTF/...
But the X11 system is not present by default since Max OS X 10.8.
The next version will use Mac OS X own fonts.
You can use them now by just uncompressing the attached file and copy the file into
To solve the previous problem, and if you can't wait for the next version, you can also edit the file
with any text editor and change the line ( around line 5036):
to
and that's it.
thaks for the reports!
best,
miguel
the help does not use the standard printing tools, but a more complex system.
This system uses the X11 fonts, located at
/usr/X11R6/lib/X11/fonts/TTF/...
But the X11 system is not present by default since Max OS X 10.8.
The next version will use Mac OS X own fonts.
You can use them now by just uncompressing the attached
Code: Select all
.zip
Code: Select all
pdfwriter_pdf.tcl
Code: Select all
/Applications/GiD-12.1.2d.app/Contents/MacOS/scripts/compass/pdfwriter/
Code: Select all
/Applications/GiD-12.1.2d.app/Contents/MacOS/scripts/tclfileP.tcl
Code: Select all
cocoaprint::print $filename .gid
Code: Select all
cocoaprint::print $filename {}
thaks for the reports!
best,
miguel
- Attachments
-
- pdfwriter_pdf.zip
- uncompress and copy pdfwriter_pdf.tcl to /Applications/GiD-12.1.2d.app/Contents/MacOS/scripts/compass/pdfwriter/
- (14.21 KiB) Downloaded 335 times
-
- Posts: 3
- Joined: Fri Feb 06, 2015 2:45 pm
Re: Printing fails on OS X with 12.1.2d
Those fixes worked. Thank you!