Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8447895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T10:17:22+00:00 2026-06-10T10:17:22+00:00

I have a WCF Service Operation that receives an image as a Byte stream,

  • 0

I have a WCF Service Operation that receives an image as a Byte stream, and should print that image locally on the server silently. No dialogs or popups, when the service is called it should send the image to the printer straight away.

I am trying with a local image stored on the server using PrintDocument.Print().

The weird thing is that it works on Visual Studio’s integrated development server, but not on IIS 7.5. I have given the app pool admin rights (I’m actually using the identity of the logged on user, which is an admin) but no luck.

From both Visual Studio’s server and from IIS I can see the available printers, but when I call the service from IIS nothing happens, and I mean nothing. No error, no exception, no sign of what’s going on at all.

I have tried using ProcessStartInfo with Verb = "print" and Verb = "PrintTo" but the same thing happens. Works on Visual Studio but not on IIS.

I have also tried creating a PrintTicket and a LocalPrintServer with PrintSystemDesiredAccess.AdministratePrinter rights but I don’t know what to actually do with it, I don’t know how to tell it to print an image file.

I know printing can be a tricky task on any language/platform, but is it really that hard to print an image from a WCF Data Service?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T10:17:23+00:00Added an answer on June 10, 2026 at 10:17 am

    OK. Wanna bang my head against the wall now. It was obviously a permissions issue, so
    setting the Owner of the printer to the Admin users group (it was set to System) did the trick.

    I’m really missing Linux right now 😛

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a WCF service operation that accepts a byte array as part of
I have a WCF service with an operation contract that returns null values. That
I have a wcf restful service with a operation contract that contains two values
I experience this issue: I have a WCF service, that exposes this operation contract:
I have a WCF Service that should not enter the faulted state. If there's
I have a WCF service operation that accepts a data contract parameter of custom
We have an asynchronous WCF service operation that gets log files from all of
I have a WCF service that will serve multiple clients. They will have operation
I have a WCF service which performs CRUD operation on my data model: Add,
I have a WCF service that accesses a SQL database to fetch data .

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.