If the Microsoft XPS Document Writer already has a check next to it download the QuickBooks Tool Hub and run the PDF and Print Repair tool under Program problems. It works with all image formats except WMF and EMF. I want the resulting XPS to be in vector format, like the WMF/EMF is. I can't select the same file name a second time without getting an error, and if I select a different name, then no files are present after the print action completes. Find Microsoft XPS Document Writer and turn on this feature by selecting the check box. For Windows XP / Windows Server 2003 Im trying to print an EMF (or WMF) file format to the virtual printer 'Microsoft XPS Document Writer' using Windows Picture and Fax Viewer (shimgvw.dll) from the command line. The last XPS file is created (and is shown as present in the second "Save as." dialog box). I enter a valid name, click 'Ok', and then a SECOND "Save as." dialog box appears again, prompting me for another XPS file name. The application then specifies the full path to a file in the DOCINFO.lpszOutput structure member when calling the StartDoc function. However, if I select the 'Microsoft XPS Document Writer' for my printer, and then press the 'Ok' button, then things get wonky.Ī "Save as." dialog box appears, prompting me for the XPS file name - which I expect. Software developers can avoid this problem in their 32-bit applications by having these applications detect when the user is printing to the XPS Document Writer printer or to the Adobe PDF printer. I created a Print action which displays a TPrintDialog box which allows the user to select a printer, as well as a range of pages to print.Īll of it works flawlessly when I try to print to my network printer. In my app, I display the results using a TIpHtmlPanel. Lazarus seems to have come a LONG way since the last time I looked it, and am very impressed so far. Instead of developing my next app in Delphi, I thought that I would shoot for a truly multi-platform app and use Lazarus for the first time.
0 Comments
Leave a Reply. |