Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is it possible to LPR print from my app?

Status
Not open for further replies.

JAFrank

Technical User
Nov 16, 2002
84
US
I am in the planning stages of writing an application that will make a small modification to a Postscript file & then send it to a printer.

I can't find any information on LPR in any of the VB help or in the MS KB.

It's easy from the command line:

lpr -S <server> -P <port/printer> <filename>

I'd really rather avoid running them back through the Windows spooler - they are already print ready, so there is no point in adding the overhead.

Any ideas?
 
Microsoft has a class available called the PrintHelper (I thing, either that or RawPrint...) That can handle post script files I beleive. I should be available out on the knowledgebase.

-Rick

VB.Net Forum forum796 forum855 ASP.NET Forum
[monkey]I believe in killer coding ninja monkeys.[monkey]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top