printing from a webservice

Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default printing from a webservice

    Hi,

    Background to the story :

    Calling a webservice from an IPAQ to a server , wevservice prints to
    networked printers
    Server 2003
    IIS 6.0
    Framework 1.1
    Pocket PC with framework installed.

    What is working :

    Printing from the server to network printers works fine in test prints.
    calling webservices on the serv works fine.

    What I ahve done so far :

    Running locally on the dev machine this works fine , the call goes to the
    webservice and the printer prints ( I guess this is because its all under
    the same account !?! )

    However moving it over to the server causes errors - saying that the network
    resource deosnt exist. From waht I have read Im presuming this is because a
    webservice is running under ASPNET. I have read a solution to this is the
    following :

    Rename the process username in machine.config to SYSTEM
    Copy the printer settings from the registry from local user to
    HKEY_USERS\.DEFAULT
    Restart IIS

    Which I have done and still havent gotten any furthur.

    Now I have read that Framework 1.1 actually runs under IWAM_Machine name. As
    I have limited knowledge of User Accounts im at a loss to know what to do
    next. Do the changes above have the same impact on IWAM_Machine as they
    would on ASPNET ? Or have I overlooked something quite fundemental ?

    Thanks

    Jon


    Jon Vaughan Guest

  2. Similar Questions and Discussions

    1. Freehand printing - right margin decreases when printing multiple copies of file.
      I'm using Freehand mx. Everytime I print more than one copy of a file, the right margin decreases. Thus, if I print five or six copies of a file,...
    2. Printing Dynamically Insantiated MovieClips (multi-page printing)
      I can create multiple pages with just one prompt with new PrinJob() object in Flash MX2004; but ... .... when I try to addpages which is one...
    3. Printing without showing the printing dialog window
      hey - did you ever figure out a solution to the printing without dialog issue? i'm trying to get around the same problem myself. thanks! -jason
    4. Webservice calling a webservice.....Error
      Hi Ihave a strange problem .....or?? On one machine 1 i have a webservice A calling an other webservice B on a other machine 2 . the B service are...
    5. Printing a external text file or printing a text field cast member...
      use BuddyApi Xtra to use external app. for print a file like MSWord,
  3. #2

    Default RE: printing from a webservice

    I would try to run the process under a domain admin account just so you can
    prove or disprove that this is really a permissions issue.
    --
    G.


    "Jon Vaughan" wrote:
    > Hi,
    >
    > Background to the story :
    >
    > Calling a webservice from an IPAQ to a server , wevservice prints to
    > networked printers
    > Server 2003
    > IIS 6.0
    > Framework 1.1
    > Pocket PC with framework installed.
    >
    > What is working :
    >
    > Printing from the server to network printers works fine in test prints.
    > calling webservices on the serv works fine.
    >
    > What I ahve done so far :
    >
    > Running locally on the dev machine this works fine , the call goes to the
    > webservice and the printer prints ( I guess this is because its all under
    > the same account !?! )
    >
    > However moving it over to the server causes errors - saying that the network
    > resource deosnt exist. From waht I have read Im presuming this is because a
    > webservice is running under ASPNET. I have read a solution to this is the
    > following :
    >
    > Rename the process username in machine.config to SYSTEM
    > Copy the printer settings from the registry from local user to
    > HKEY_USERS\.DEFAULT
    > Restart IIS
    >
    > Which I have done and still havent gotten any furthur.
    >
    > Now I have read that Framework 1.1 actually runs under IWAM_Machine name. As
    > I have limited knowledge of User Accounts im at a loss to know what to do
    > next. Do the changes above have the same impact on IWAM_Machine as they
    > would on ASPNET ? Or have I overlooked something quite fundemental ?
    >
    > Thanks
    >
    > Jon
    >
    >
    >
    Georgi Vajarov Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139