I am trying to run the sample code for tftp server. I get no complaints when synthesizing my hardware or compiling the code. However, when I add the lwip_init() statement, it seems to stop working (it doesn't output any of the print statements). This is very frustrating and I have no idea what is causing it. Any ideas? Thanks
#include <...
Hi all,
I’m in the design phase of a project at the moment and the client wants a desktop app they can use to view and annotate “any” type of document. I’ve been doing some research into the WPF document viewer and XPS documents and it seems like a perfect fit because using the XPS document writer, you can print anything to an xps docum...
Hello there fellow Stackers!
I wonder if anybody could tell me what the following file format is? If you print it as-is then your print out will be, er, as-is BUT if you send it directly to the printer (for example using NET USE in a DOS/Windows batch file) it will actually print a very nice Parcelforce posting label:
:Printer Setti...
Hi,
I am using a derived class of DocumentPaginator for generating reports in WPF,
But I have problem with fonts I am using a special font which should be embedded
into the document otherwise the XpsDocumentWriter will convert the text to image automatically and it doesn't look good when printing in high dpi modes.
I have searched a lot...
Has anyone delt with this exception from ABCpdf? We're running on Server 2008 and only have issues converting Office files (Word and Excel). This all worked well on Server 2003. Because we're only having issues with Office files I wonder if it's related to the XPS support on Server 2008? The code that calls into this function is runni...
Is there any C/C++ codes available to view XPS document
EDIT
Is there any C++ codes available to Edit (add watermark) in XPS document
...
hi,
I am new to the xps documents. I have requirement like convert xps doucment to Pdf format. Can any body have an idea how to do this.
Can u give me any code samples.
Thanks in Advance..
Mehar
...
Ok, I've got a reaaally simple bit of code here which is meant to set the borderless property of the printer to .. well, borderless!
So I try and set it, but no matter how much I try, the imagable area is never the whole width of the page, and therefore I cannot size the picture correctly for the paper before printing.
I've tried with...
Hi
I want to save content of a RichTextBox to varbinary (= byte array) in XamlPackage format.
I need technicial advise on how to it.
I actually need to know how to convert between FlowDocument to byte array.
Is it even recommended to store it as varbinary, or this is a bad idea?
Update
Code snippet:
///Load
byte[] document = GetD...
At the moment I have a DocumentViewer in a WPF window that displays an XPS file. I have created my own "Next Page" and "Previous Page" buttons and have set the DocumentViewer.Background property to be completely transparent.
All that is left of the DocumentViewer's own controls is the menu bar at the top (displaying zoom settings, print...
Hi,
Can multiple xps documents be merged to one xps document in WPF and shown in DocumentViewer?
An application has 4 small xps documents each displayed seperately, but in one of the places all 4 documents should be shown as one document. How to go about it?
Thanks,
Ershad
...
Are there any free tools that I can use to convert a PDF document into an XPS document? Although a nice programmatic API would be nice, I'm not opposed to shelling out to a command line tool to do the conversion.
Thanks!
...
How secure are XPS documents? After looking from the inside of an XPS document, found the Unicode-string property. Could someone inject e.x. a script into the Unicode string property?
How the XPS viewer, treats the Unicode string property? As a collection of glyphs or what?
UPDATE: I added the following string as UnicodeText
!@#$%^&*...
I'm looking for a reporting/printing solution that does not involve RDLC/SSRS. I'd like to use the DocumentViewer, which I know supports XPS. I have found plenty of examples that use Visual to XPS but I haven't found many examples where I can take an existing WPF page, with various controls like labels, listboxes, grids, etc and create t...
Here's the bottom line: I'm trying to avoid using RDLC/SSRS and instead create XPS files from my XAML.
I've combined pieces of code from various articles here and I am (1) cloning the XAML objects I need from my page and (2) passing those to a new page in an XPS object
This process seems to work just fine with non data-bound objects th...
Here's the bottom line: I'm trying to avoid using RDLC/SSRS and instead create XPS files from my XAML.
I've combined pieces of code from various articles here and I am (1) cloning the XAML objects I need from my page and (2) passing those to a new page in an XPS object
This process seems to work just fine with non data-bound objects th...
I get this error while printing multiple .xps documents to a physical printer
Dim defaultPrintQueue As PrintQueue = GetForwardPrintQueue(My.Settings.SelectedPrinter)
Dim xpsPrintJob As PrintSystemJobInfo
xpsPrintJob = defaultPrintQueue.AddJob(JobName, Document, False)
Documents are spooled succesfully till, a print job exception o...
I have a Silverlight application which uses a web service in order to create XPS documents. The document templates are created as XAML controls in a WCF class library.
public void GenerateXPS()
{
Type typeofControl = Type.GetType(DOCUMENT_GENERATOR_NAMESPACE + "." + ControlTypeName, true);
FrameworkElement control = (FrameworkE...
Hello, i guess OpenXml is designed for Office products, but editing XPS files with OpenXml is out of question?
...
I'm planning to write a program that calculates the costs of users' print jobs and, for expensive jobs, prompts them if they want to continue printing anyway. (I know that there are existing utilities like GreenPrint that do something similar; my approach is a bit different.)
I am curious if there is a straightforward way to intercept X...