PDA

Click to See Complete Forum and Search --> : Print Raw Data to Printer


FrogmanL
Mar 21st, 2005, 09:31 AM
I've been trying to send a raw PRN file to a printer in MS Access VB, and I've had a bit of trouble. In DOS I can send the file using

copy intermec.prn "\\ventura006\easycoder 3400E"

When I try the similar vb execution

filecopy "c:\intermec.prn", "\\ventura006\easycoder 3400E"

I get the error: "Invalid Procedure Call or Argument"

Is my syntax incorrect in VB? Is there a better way to do this (without getting insanely difficult)?