Link LPT1 to PDF995 printer

Posted on 2006-06-07
Last Modified: 2012-06-27
Hello All,

I have a older dos based Database system that all documents are send directly to the local printer located on LPT1. Some of the print jobs are large and waste lots of paper at times. I want to be able to create the documents with pdf instead of printed at times. I have used PDF995 and the converter that comes with the package to convert documents to PDF with code in the past and all works great.

The problem here is all print jobs are sent directly to printer on lpt1. I would like to map lpt1 to the pdf995 printer object on the local machine. I have tried the Net Use commands to link the two. The mapping is created as expected and a file is created when the job is started. The problem is the document (pdf) that is created is empty, a blank document. I have even tried piping text files to lpt1 (type test.txt >>lpt1) and get same results, a blank pdf document.

Any input or help is greatly appreciated.

Thanks in advance.
Question by:RBloodworth
    LVL 2

    Author Comment

    I think I have this underway.

    What I did was to create a virtual printer with a postscritp driver, using Adobe Postscript driver, to print to a file. Once the file is created The file can then be converted to pdf manually or code cound be put in place to convert the file to pdf.
    LVL 31

    Expert Comment

    Have a look at Ghostscript.
    LVL 31

    Accepted Solution


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    As the Marketing Director for the company I work for, time is a commodity that I have relatively little of.  My time is divided between coaching my team, creating a direction for our company's future AND actually getting stuff done.  As a result, I …
    Messaging apps are amazing tools with the power to do a lot of good, but the truth is the process of collaborating with coworkers requires relationships established through meaningful communication - the kind of communication that only happens face-…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now