Results 1 to 3 of 3

Thread: Image to Postscript

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2001
    Location
    New Delhi
    Posts
    34

    Image to Postscript

    Guys,
    How can i convert an image(BMP,GIF,JPEG only) to PostScript format?
    Thanx in advance

    Regards

    Amprat
    **** Happens!

  2. #2
    jim mcnamara
    Guest
    You have to have a PS printer installed on the PC. Re-direct print output to FILE. The printer driver makes postscript files. You can do this in api with PrinterProperties
    Code:
    Private Declare Function OpenPrinter Lib "winspool.drv" Alias "OpenPrinterA" (ByVal pPrinterName As String, phPrinter As Long, pDefault As Any) As Long
    Private Declare Function ClosePrinter Lib "winspool.drv" (ByVal hPrinter As Long) As Long
    Private Declare Function PrinterProperties Lib "winspool.drv" (ByVal hwnd As Long, ByVal hPrinter As Long) As Long
    Private Sub Form_Load()
        'KPD-Team 2001
        'URL: http://www.allapi.net/
        'E-Mail: [email protected]
        Dim hPrinter As Long
        OpenPrinter Printer.DeviceName, hPrinter, ByVal 0&
        PrinterProperties Me.hwnd, hPrinter
        ClosePrinter hPrinter
    End Sub
    There are no direct conversion tools (other than ones you buy from Adobe - because they own the rights to postscript) that are free. If there were, I'm sure Adobe would be suing them to stop publishing the tool.

  3. #3
    jim mcnamara
    Guest
    Here is some freeware from GNU - it's meant for unix. I believe there is a port to MS. It's basically a printer driver that runs at high level.

    http://www.inf.enst.fr/~demaille/a2ps/

    Anyway, it's as close as I can get for free.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width