FileCopy and Network printing

georgea

Member
Licensed User
Hello to all.

I am trying to print a simple text file from my device to a network printer. If i try to pass the printer path e.g. "\\computername\printername" as the File Name argument to FileOpen function, i get some strange messages about Createfile,etc.

So i tried creating the text file locally on the PDA and then do a FileCopy to the path my printer is shared.
Trying this way, my printer prints successfully but i always get an annoying messagebox with title "Pocket PC Networking" saying that "Print job .. on queue ... has finished printing. Size of job is .. bytes."

After i searched a lot, i found that this is something that has to do with .NET Compact Framework, but unfortunately i didn't manage to disabled it someway. :BangHead:

Is there anyone that has any clue that might help?
Is there any simpler way to print something from the device?

I really don't want to use another desktop application to manage the printing jobs.

Thank you in advance.
 
Top