ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Florian Wobbe <Florian.Wobbe@awi.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: problem with printing pdf files (MKIV on Mac)
Date: Fri, 25 Mar 2011 18:43:23 +0100	[thread overview]
Message-ID: <077B2524-8CDF-44F0-B6F7-5849C7FAB7F9@awi.de> (raw)
In-Reply-To: <AANLkTinpLozG=Doh0CZWeu=PgoduP+2xwhT+PvTtnJYb@mail.gmail.com>

>> 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
___________________________________________________________________________________


  parent reply	other threads:[~2011-03-25 17:43 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-25 13:31 Mojca Miklavec
2011-03-25 13:35 ` luigi scarso
2011-03-25 15:52 ` Hagmann Jörg
2011-04-01 17:50   ` Florian Wobbe
2011-04-01 19:31     ` Mojca Miklavec
2011-04-21 21:10       ` Mojca Miklavec
2011-05-01 11:55         ` Leo Razoumov
2011-03-25 16:40 ` Florian Wobbe
2011-03-25 17:18   ` Mojca Miklavec
2011-03-25 17:28     ` Mojca Miklavec
     [not found]       ` <AANLkTimm6PjxbzKft=pwdNu6CSz2yWVEOzZH7bEDMVcO@mail.gmail.com>
2011-03-25 18:17         ` Florian Wobbe
2011-03-25 17:43     ` Florian Wobbe [this message]
2011-03-25 17:46       ` Hans Hagen
2011-03-25 18:02 ` Mojca Miklavec
2011-03-25 18:28   ` Hans Hagen
2011-03-25 21:38     ` Mojca Miklavec
2011-03-26 18:07       ` Mojca Miklavec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=077B2524-8CDF-44F0-B6F7-5849C7FAB7F9@awi.de \
    --to=florian.wobbe@awi.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).