How to pipe postscript into Preview.app

I thought it couldn't be done, but on MacOSX hints, someone suggested this to view postscript-formatted man output:
pman() { man -t "$@" | /usr/bin/open -f -a Preview; }
I still couldn't get it to work on a generic postscript stdout. Then I decided to try adding the header that appears as the first line of the man -t command. This now works:
( echo "%\!PS-Adobe-3.0" ; cat generic.ps ) | /usr/bin/open -f -a Preview
(Substitute in your favorite utility that spits postscript into standard out for the cat generic.ps entry.)

Cool! Old-discussion-system points for you...

Similar Messages

  • My iphone 3GS gives me this message: Your Apple ID has been disable. How can I get into the apps?

    My iphone 3GS gives me this message: Your Apple ID has been disable. How can I get into the apps?

    Apple ID FAQ
    http://support.apple.com/kb/HE37
    Apple ID Security Alert
    http://support.apple.com/kb/TS2446

  • How can i ge into the app store without using a credit card?

    How do i get into the app store without using a credit card?

    Unless you can find an item in the store that costs the same as your balance then you will need to contact iTunes Support and ask them if they can remove the balance : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • How do I log into the App Store after my friend logged in to his from mine

    How do I log into the App Store after my friend logged in to his from mine?

    Go into settings > iTunes and App store.. your friends email will appear there.. tap and hold until it highlights gray.. then a box will come up  press sign out and then enter your user cardentials where your friends were.

  • How do I get into the App Store for my mac mini ?

    How do I get into the App Store for my mac mini ?
    To get Apps FOR my mac mini NOT iPhone or iPad.

    BT ...
    Your profile shows you are running LIon v10.7 so you should be able to launch the App Store from your Apple menu > App Store, or from your Dock, or your Applications folder.
    If you can't locate the App Store, installing the OS X Lion Update 10.7.3 (Client Combo) will reinstall the App Store for you.
    Restart your Mac after the combo is installed.

  • How to integrate OMR into Apex app?

    Hi guys,
    My app would be ideal for OMR data entry.  OMR is Optical Mark Recognition.  Remember marking answers on tests by coloring in bubbles?  That's what I'm talking about.  ScanTron is the market leader in the field.  Anyway, can anyone share advice about how to integrate OMR into an Apex app?
    Thanks,
    Kim

    Hi,
    You can find lot of discussion from this forum how integrate devices like scanner or bar code reader with APEX.
    And you might find that HTML and JavaScripts are not best chose to communicate with local devices.
    Regards,
    Jari

  • How do I log into the App Store after not logging out and deleting an account

    I deleted an account and didn't log out of the App Store and it won't let me log back in.

    What happens when you go to Settings>iTunes and App Store and tap on the ID and then tap on log out?
    Also how did you "delete" the account?

  • How to open image added to Pages doc in Preview app?

    Hello,
    Anyone know hot to open images added to Pages in preview app on Mac? When I click on any image with right mouse button I have in menu these options - "Open in Pixelmator and Capture selection from screen".
    I tried to make my own Automator service "Open img in Preview" and it work well in Finder and other apps (I selected it in Automator option to work in all apps) but this service is not show in Pages > Services.
    Anyone know how to fix it or how to make this service visible in Pages? I tried to found "Open in Pixelmator" workflow on my Mac to rewriting or save my "Open img in Preview" workflof into same folder but no chance. In (Library > Services etc)
    Thank you for you kind, sorry for my English
    Jan.S

    I don't know how Pixelmator created their Service, but I suspect it involves programming that is beyond my abilities.
    The following AppleScript will copy the selection in Pages and open a new preview window from the clipboard. It could be run as a Service with Automator. (It will also leave the image on the clipboard; if that is a problem, it could probably be modified, but I didn't get that sophisticated with it.)
    tell application "System Events"
              tell process "Pages"
                        set frontmost to true
      click menu item "Copy" of menu 1 of menu bar item "Edit" of menu bar 1
              end tell
              tell process "Preview"
                        set frontmost to true
                        click menu item "New from Clipboard" of menu 1 of menu bar item "File" of menu bar 1
              end tell
    end tell

  • How do I open pdf files stored in iCloud from iMac preview app on my iPad

    I save a PDF file to iCloud using Preview on my iMac or MacBook Pro. What app opens this on my iPad? Numbers files I open w numbers, pages with pages, but what on the iPad opens Preview app pdf files that are stored in iCloud?

    I don't see an icloud connection in ibooks, so how do I get a pdf file from icloud into ibooks

  • How to delete locked files on Preview app?

    when i right click on the preview app on my dock, a list of files i have previewed appears. how do i delete the list so there is nothing there?

    Hi Melissa! A step by step instruction:
    I suppose you are not sure about Terminal. (Would be easier to explain).
    1. Go into the Finder (click the desktop).
    2. Click on top on the "Go" Menu and click the ALT key. Go into Library
    3. Then from Library to Preferences
    4. Search in this Folder for "Preview". If there are too many files, you have searched "This Mac". So click on the "Preferences" on top of the window frame, too search this folder only.
    5. Remove the items:
    a) com.apple.Preview.LSSharedFileList.plist
    b) com.apple.Preview.LSSharedFileList.plist.lockfile
    c) com.apple.Preview.SandboxedPersistentURLs.LSSharedFileList
    d) com.apple.Preview.SandboxedPersistentURLs.LSSharedFileList.plist.lockfile
    6. Restart your computer
    marek

  • How do you delete an image in the preview app?

    An unwanted image is still present when I look for it in the spotlight. It is classified in the "images" section. when I try to open it, it opens up in the preview app. From there I don't know how to permanently delete it. The delete option is not available and I am unable to move  to my trash. help?

    Hello there,
    Any file that you have deleted to moved it into the trash will not be completely deleted unless empty the trash. For the verification you can search for the file in the spotlight that you have deleted and click get info there you will see the file is located into the trash.
    Hope it helps,
    Thank you

  • I have an Ipad My apple ID and password works for Ibooks and Icloud but when I try to get into the app store it doesn't show my entire email address on the account. When I try to get into the app store it tells me my password is incorrect.  How can I corr

    I have an Ipad My apple ID and password works for Ibooks and Icloud but when I try to get into the app store it doesn't show my entire email address on the account. When I try to get into the app store it tells me my password is incorrect.  How can I correct this? I have been emailing support but so far they have been no help

    Open the App Store app, go to the Featured pane, swipe to the bottom, tap the Apple ID and sign out. Tap again and sign in with the Apple ID of your choosing.

  • The voice that was on when I first set up my ipad came back on and now I have to double click to get into my apps and can't use my apps because her voice is always talking.  How do I make her voice go away and my IPAD work like it should.

    The voice that was on when I first set up my ipad came back on and now I have to double click to get into my apps and can't use my apps because her voice is talking.  How do I make the voice stop and my IPAD work again. 

    If you've turned VoiceOver on then see if triple-clicking the home button turns it off, and then change what Settings > General > Accessibility > Triple-Click Home is set to.
    Otherwise, via 'the touch to select double-tap to activate' process you need to go into Settings > General > Accessibility > VoiceOver and turn it off
    The manual (http://support.apple.com/manuals/#ipad) also says that you should be able to switch voice-over off by connecting to your computer's iTunes :
    Turn VoiceOver on or off in iTunes: Select iPad in the iTunes sidebar. In the Options section of the Summary pane, click Configure Universal Access. Select VoiceOver, then click OK.
    So select Configure Universal Access at the bottom of the Summary tab and set Seeing to Neither

  • Trying to get into the app store and it asks for my password. The problem is that it is showing an Apple ID I don't use ghosted in. I can't figure out how to use my correct ID.

    Trying to get into the App Store to update some apss. It asks for my password but the problem is that it is showing ghosted an Apple ID I don't use. Can't figure out how to fix it.

    You installed a hacked app, originally from the Mac App Store. It contains the receipt for a different app, downloaded using an account that you don't control. You need to identify and remove the hacked app.
    Important: The app you need to remove is not necessarily the one named in the App Store alert. For example, if the App Store says you need to update "Twitter," the hacked app may be "Angry Birds" or something else entirely. Don't make any assumptions about which app you're looking for. To find it, you have to carry out a systematic search.
    Triple-click anywhere in the line of text below on this page to select it:
    kMDItemAppStoreHasReceipt=1
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    In the Finder, press command-F to open a search window, or select
    File ▹ Find
    from the menu bar. In the search window, select
    Search: This Mac
    from the row of tokens below the toolbar. Below that is a popup menu initially showing Kind. From that menu, select  Other...
    A sheet will drop down. In that sheet, select Raw Query and click OK or press return.
    Now there will be a text box to the right of popup menu. Click in that box and paste (command-V).
    The search window will show all the App Store products you've installed. Compare those search results with the list of your purchases from the App Store. To see the complete list, you may need to unhide hidden purchases. If any apps were download from the App Store using other Apple ID accounts that you control, sign in to the store under each of those ID's and check the purchases.
    At least one of the items listed in the search window is not among your purchases in the App Store. Move each such item to the Trash. You may be prompted for your administrator password. Empty the Trash.
    Log out and log back in. Test.

  • Parental controls - how can I remove the preview of apps on the iTouch that aren't appropriate?

    We recently bought 2 itouches for our 8 and 10 year old -- how can I remove the preview of inappropriate apps from showing up on their screens?  I've set the security of apps at age 4+, but the previews are still showing up?  Any advice on how to remove?

    The only thing I can think of is to restrict the App Store.

Maybe you are looking for