Web services printing

monrav

New member
Joined
Apr 5, 2006
Messages
1
Programming Experience
Beginner
Hi

I am using webservices for pda development every thing work fine except printing.

Here is the scenrio:

I have dll called printstuff.dll

ex code:

SharedPrinter is on the other Computer.
CreateReceipt is the function which return a String.
Basically iam tring to print a sales receipt

Dim PrinterPath as String = "\\SharedPrinter\Epson"

Dim Test as new Printstuff.printer

Test.oWriteLine(CreateReceipt(ID, true), PrinterPath)

It prints fine if run the service from debuggmode for ex:

http://localhost:1067/webservice/service.asmx

but if instead of local host i put computer name or ip it doesn't print. basically i am not able to open the print at all.

http://computername/webservice/service.asmx

Test.openPrinter always returns false

Can anyone tell what settings i have to change to print.

Thank you Very much
 
Back
Top