From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67393 Path: news.gmane.org!not-for-mail From: Florian Wobbe Newsgroups: gmane.comp.tex.context Subject: Re: problem with printing pdf files (MKIV on Mac) Date: Fri, 25 Mar 2011 18:43:23 +0100 Message-ID: <077B2524-8CDF-44F0-B6F7-5849C7FAB7F9@awi.de> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1301075028 19579 80.91.229.12 (25 Mar 2011 17:43:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 25 Mar 2011 17:43:48 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 25 18:43:44 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q3B30-0006I6-NB for gctc-ntg-context-518@m.gmane.org; Fri, 25 Mar 2011 18:43:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 04D8ECAB58; Fri, 25 Mar 2011 18:43:26 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Gi45GskqEQRC; Fri, 25 Mar 2011 18:43:22 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D7DF6CAB4E; Fri, 25 Mar 2011 18:43:22 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5DF46CAB4E for ; Fri, 25 Mar 2011 18:43:21 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id zwW3c+nglqmS for ; Fri, 25 Mar 2011 18:43:10 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 28573CAB3D for ; Fri, 25 Mar 2011 18:43:10 +0100 (CET) Original-Received: from mails3.awi.de (mails3.awi.de [134.1.2.14]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p2PHhPHx001315 for ; Fri, 25 Mar 2011 18:43:25 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by mails3.awi.de (Postfix) with ESMTP id 26C0811E1DE for ; Fri, 25 Mar 2011 18:43:24 +0100 (MET) X-Virus-Scanned: amavisd-new at awi.de Original-Received: from localhost ([127.0.0.1]) by localhost (mails3.awi.de [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id j9-cAFXz3jGI for ; Fri, 25 Mar 2011 18:43:23 +0100 (MET) Original-Received: from msg.awi.de (msg.awi.de [134.1.3.16]) by mails3.awi.de (Postfix) with ESMTP id 520CF11E1D9 for ; Fri, 25 Mar 2011 18:43:23 +0100 (MET) Original-Received: from vpn-172-26-0-104.awi.de ([unknown] [172.26.0.104]) by msg.awi.de (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with ESMTPSA id <0LIM00HILJWBZ960@msg.awi.de> for ntg-context@ntg.nl; Fri, 25 Mar 2011 18:43:23 +0100 (MET) In-reply-to: X-Mailer: Apple Mail (2.1082) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=134.1.2.14; country=DE; region=03; city=Bremerhaven; latitude=53.5500; longitude=8.5833; http://maps.google.com/maps?q=53.5500,8.5833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bEntHpLJ - 9936a5aa91a4 - 20110325 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:67393 Archived-At: >> Do you have multiple versions of the TeXGyre Pagella installed? Maybe one of them is corrupt. > > I don't have it installed. It is in my TeX tree. But if mine is > corrupt, everyone's font is corrupt (or my disk is corrupt). I have multiple versions from context alone: fonts/type1/public/tex-gyre fonts/opentype/public/tex-gyre I guess, if you add those from TexLive you have several possibilities of what could end up in your pdf depending on whether you use MKII or MKIV. >> You might want to try outline the fonts and strip them from the document: >> >> gs -sDEVICE=pswrite -dNOCACHE -sOutputFile=nofont-Myfile.ps -q -dbatch -dNOPAUSE Myfile.pdf -c quit >> >> Optionally convert back to pdf with ps2pdf and try print that file. If ghostscript complains right away the problem is not your printer. > > Ghostscript doesn't complain and the resulting file prints out fine. > (The original one still doesn't.) Next thing I would try is update CUPS. I installed Gutenprint (http://gimp-print.sourceforge.net/MacOSX.php) after experiencing some other issues with the standard CUPS from Apple. >>> (Can I send a document to >>> PostScript printer on specific IP from a Mac without having to use >>> Apple's libraries for handling PDF?) >> >> Why not? PostScript printers should handle nofont-Myfile.ps (see above). > > My question is more like "how can I do that". I remember using > something like "copy \path\to\printer" on windows long time ago, but > I'm not sure how to do the same on Mac. For a PS printer: cat nofont-Myfile.ps | netcat ip-address port Or with perl sockets if you don't want to use lpr. > Btw: printer specifications says "direct PDF (v 1.4) printing", so I > guess that I should be able to send the PDF straight to printer ... if > I only knew how to do that. Then you should make sure you get PDF/X-3:2003 output from context. Default seems to be v1.6 for MKIV. I don't know for MKII. Florian ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________