'print to file' in OS X

Discussion in 'OS X' started by Am3822, Feb 12, 2007.

  1. macrumors 6502

    Am3822

    Joined:
    Aug 16, 2006
    Location:
    Groningen, The Netherlands
    #1
    Hi people,

    Is there a way to define a 'file printer' in OS X? I use matlab (which does not support saving m-files as PDF from the editor), and I'm looking for a way to print them to a PDF/PS file.

    Thanks,
    Am.
     
  2. macrumors 601

    dpaanlka

    Joined:
    Nov 16, 2004
    Location:
    Illinois
    #2
    File -> Print

    There should be a "PDF" option if the program uses a standard Apple printer dialog. If it does not use this dialog, then there is usually an option to switch to the standard Apple printer dialog.

    Picture 1.png
     
  3. thread starter macrumors 6502

    Am3822

    Joined:
    Aug 16, 2006
    Location:
    Groningen, The Netherlands
    #3
    Thanks, however, since I don't have any printers connected to my machine, all I get when I select File->Print is the following error message:
     

    Attached Files:

  4. TEG
    macrumors 604

    TEG

    Joined:
    Jan 21, 2002
    Location:
    Langley, Washington
    #4
    Just set the system up to use a fake printer, then it will work.

    TEG
     
  5. thread starter macrumors 6502

    Am3822

    Joined:
    Aug 16, 2006
    Location:
    Groningen, The Netherlands
    #5
    That's what I want to know how to do. Do I simply select any printer and set it up?
     
  6. macrumors 6502

    Joined:
    Nov 10, 2005
    Location:
    New South Wales, Australia
    #6
    Looks like you can't set up a printer unless it's connected. Maybe just connect a printer, install it, and then do it.
     
  7. macrumors 601

    dpaanlka

    Joined:
    Nov 16, 2004
    Location:
    Illinois
    #7
    You should still be able to access the printer dialog even without a printer installed. The program you're using must not use the standard Apple dialog.
     
  8. macrumors P6

    IJ Reilly

    Joined:
    Jul 16, 2002
    Location:
    Palookaville
    #8
  9. thread starter macrumors 6502

    Am3822

    Joined:
    Aug 16, 2006
    Location:
    Groningen, The Netherlands
    #9
  10. macrumors newbie

    Joined:
    Oct 15, 2012
    Location:
    London, Canada
    #10
    Problem re-rears its head

    Is it possible to set a printer location (ie the ip address when adding printer) to be a socket or pipe or something that dumps into a file?

    I'm using os X 10.8 (Mountain Lion) and the instructions, above, in this thread don't work. Actually the provided link includes a note that it does not work with Leopard but provides no solution.

    The problem is that there is no longer an "output options" option in the list where it used to be in earlier versions of the OS.

    Sadly I have a package that prints acceptably to my letter sized ps printer, but the resolution it uses on the PDF option in the print dialog is terrible. They must have it set for 72dpi, and they always generate letter sized pdf files. There appears to be no way for me to change the resolution generated when printing to pdf.

    I need to create an EPS or PDF file using postscript driver so I am able to preserve the resolution on a Super B sized page. I need to be able to send an EPS or PDF to a shop that will print the large format for me.

    Would be so happy if someone could resolve this.
     
  11. r0k
    macrumors 68040

    r0k

    Joined:
    Mar 3, 2008
    Location:
    Detroit
    #11
    I already have multiple printers set up on ML, so I don't know if this will work for you but... In System Preferences, pick Print and Fax. Then pick new printer and IP should show up as one of the options/icons you can choose. Once you pick IP, put in localhost for the ip address and pick generic postscript printer.

    This gives you a local printer that the system thinks you own and you should now get a system print dialog and from there you can choose PDF to save to a pdf file. If you don't have an IP icon for picking a new printer, I suggest you add a brother printer, telling the machine it's on the network. Of course OSX won't find the printer but perhaps it will add the IP icon to your printer pane in system preferences. I mention brother because all of my printers are brother printers and they are all network printers.
     
  12. macrumors regular

    Joined:
    Apr 17, 2011
    Location:
    Quebec, Canada
    #12
    Install CUPS-PDF as a printer and you will kill two birds with one stone

    (no animal was harmed in this post)
     
  13. NevilRead, Oct 15, 2012
    Last edited: Oct 15, 2012

    macrumors newbie

    Joined:
    Oct 15, 2012
    Location:
    London, Canada
    #13
    Yes, this generates the same terrible pdf file I get with my ps printer driver.

    I was trying to not use the "pdf" button in the print dialog but capture actual print output.

    ----------


    Thanks works great... now if I can just get cups-pdf to give me large paper sizes, but still a big improvement even at letter size.
     

Share This Page