have you tried: "xcopy /B mypdf.pdf //<some port>" or "xcopy /B LPT1" ?
Open a command prompt and type: "net help use"
...
get LPT1 pointed at some printer.
...
you're done.
Would this be run through the command prompt? (Sorry for obvious questions).
I dont understand?
if the xcopy method works...
(startapp (strcat "xcopy /B " (getfile) " //LPT1"))
Why dont you explain what you have and what you want to do.
-e.g.
I would like to send the PDFs created in this office to a HP laser jet 8150 Plotter.
The PDFs we make are made through a program called: PDF995.This would give us much more information then we are getting (right now your not really telling us anything). Those two sentences would tell us:
1. the PDFs are created in house (no surprises) with the same standards.
2. the PDFs are a Postscript type of PDF (PDF995 uses Ghostscript).
3. the Plotter has both a PS and an HPGL driver (I can look it up on the HP website).
Right now i can only assume that you are either creating a fancy routine to post in the show your stuff forum or you are doing this as a request. Both of those situations are going to be trouble for you because PDFs are not really a "standard" thing (there is a bunch of different programs that create them and they all have their own methods--the PDF file format is very "loose" so to speak) and you will get a bunch of bug fixes.
Look, its this simple: If you have a Postscript type PDF (created with Ghostscript, PDF995, PDFCreator, etc) and your plotter has a PS driver, either send the file via a windows XCOPY or have Ghostscript or Redmon send the file for you. If you have an HPGL type of PDF then use the software that created it (Kip request, Oce reprodesk).
You can issue the XCOPY command to windows or call Ghostscript like the above example.