TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
milad reisi
NA
5
8.9k
problem with generating xps document
Aug 24 2012 1:54 AM
i want to create a virtual printer,then get data from virtual printer and process data
i use Passthrough XPS driver to get data in xps type
then i install redmon to redirect the virtual printer to my c# program
my c# program get data and save it in a file,but i can't open file with xps viewer
this is my c# code
static void Main()
{
string fname = Environment.GetEnvironmentVariable("TEMP") + @"\";
fname += "1.xps";
FileStream fs = new FileStream(fname, FileMode.Create);
StreamWriter sw = new StreamWriter(fs);
StreamReader sr = new StreamReader(Console.OpenStandardInput());
sw.Write(sr.ReadToEnd());
sw.Flush();
sw.Close();
sr.Close();
}
thanks
Reply
Answers (
0
)
Unrecognized attribute 'TargetFramework'. Note that attribute names are case-sensitive.
How to use join query to fetch data from more than two table