Click here to Skip to main content
15,902,032 members
Home / Discussions / C#
   

C#

 
GeneralRe: need your help Pin
Pete O'Hanlon25-Sep-14 4:44
mvePete O'Hanlon25-Sep-14 4:44 
GeneralRe: need your help Pin
gsn197025-Sep-14 20:53
gsn197025-Sep-14 20:53 
GeneralRe: need your help Pin
Pete O'Hanlon25-Sep-14 21:07
mvePete O'Hanlon25-Sep-14 21:07 
GeneralRe: need your help Pin
gsn197025-Sep-14 21:14
gsn197025-Sep-14 21:14 
QuestionPrinting Bytes to printer in MVC Pin
nitin_ion7-Jul-14 23:32
nitin_ion7-Jul-14 23:32 
AnswerRe: Printing Bytes to printer in MVC Pin
Kornfeld Eliyahu Peter7-Jul-14 23:58
professionalKornfeld Eliyahu Peter7-Jul-14 23:58 
GeneralRe: Printing Bytes to printer in MVC Pin
nitin_ion8-Jul-14 0:01
nitin_ion8-Jul-14 0:01 
AnswerRe: Printing Bytes to printer in MVC Pin
Kornfeld Eliyahu Peter8-Jul-14 0:05
professionalKornfeld Eliyahu Peter8-Jul-14 0:05 
GeneralRe: Printing Bytes to printer in MVC Pin
nitin_ion8-Jul-14 0:07
nitin_ion8-Jul-14 0:07 
AnswerRe: Printing Bytes to printer in MVC Pin
Kornfeld Eliyahu Peter8-Jul-14 0:14
professionalKornfeld Eliyahu Peter8-Jul-14 0:14 
GeneralRe: Printing Bytes to printer in MVC Pin
nitin_ion8-Jul-14 1:15
nitin_ion8-Jul-14 1:15 
AnswerRe: Printing Bytes to printer in MVC Pin
Kornfeld Eliyahu Peter8-Jul-14 1:20
professionalKornfeld Eliyahu Peter8-Jul-14 1:20 
AnswerRe: Printing Bytes to printer in MVC Pin
Richard MacCutchan8-Jul-14 1:14
mveRichard MacCutchan8-Jul-14 1:14 
GeneralRe: Printing Bytes to printer in MVC Pin
nitin_ion8-Jul-14 1:16
nitin_ion8-Jul-14 1:16 
GeneralRe: Printing Bytes to printer in MVC Pin
Pete O'Hanlon8-Jul-14 1:33
mvePete O'Hanlon8-Jul-14 1:33 
AnswerRe: Printing Bytes to printer in MVC Pin
Dave Kreskowiak8-Jul-14 5:06
mveDave Kreskowiak8-Jul-14 5:06 
You can't do it using that code. It's that simple.

That code is written to launch the application that knows how to edit the file and then tells that application to print the file that is passed to it.

This technique will NOT work with an array of bytes because you have no way of getting those bytes to the application that will actually handle the printing operation.

You cannot do what you want and most certainly can't do it from ASP.NET code running on the server.
A guide to posting questions on CodeProject

Click this: Asking questions is a skill.
Seriously, do it.

Dave Kreskowiak

QuestionWindows services Not starting with c# codes Pin
Chinedu Nwankwo7-Jul-14 21:04
Chinedu Nwankwo7-Jul-14 21:04 
SuggestionRe: Windows services Not starting with c# codes Pin
Richard Deeming8-Jul-14 1:40
mveRichard Deeming8-Jul-14 1:40 
QuestionSession Timeout Pin
Member 106416987-Jul-14 19:57
Member 106416987-Jul-14 19:57 
AnswerRe: Session Timeout Pin
Bernhard Hiller7-Jul-14 20:46
Bernhard Hiller7-Jul-14 20:46 
AnswerRe: Session Timeout PinPopular
Karen Mitchelle7-Jul-14 20:55
professionalKaren Mitchelle7-Jul-14 20:55 
GeneralRe: Session Timeout Pin
Richard MacCutchan7-Jul-14 22:22
mveRichard MacCutchan7-Jul-14 22:22 
AnswerRe: Session Timeout Pin
Richard MacCutchan7-Jul-14 22:23
mveRichard MacCutchan7-Jul-14 22:23 
SuggestionRe: Session Timeout Pin
ZurdoDev9-Jul-14 2:19
professionalZurdoDev9-Jul-14 2:19 
QuestionTexbox OnKeyPress event thru javascript executes a button click event Pin
bjay tiamsic7-Jul-14 15:37
bjay tiamsic7-Jul-14 15:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.