Print Driver And Print Driver And XPSDrv Testing In XPSDrv Testing In Windows Vista Windows Vista Manski Fransazov Manski Fransazov Test Development Lead Test Development Lead Digital Documents Platform and Digital Documents Platform and Solutions Solutions
41
Embed
Print Driver And XPSDrv Testing In Windows Vista Manski Fransazov Test Development Lead Digital Documents Platform and Solutions.
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Print Driver And XPSDrv Print Driver And XPSDrv Testing In Windows VistaTesting In Windows Vista
Manski FransazovManski FransazovTest Development LeadTest Development LeadDigital Documents Platform and SolutionsDigital Documents Platform and Solutions
AgendaAgenda
TopicsTopicsTest strategy and test areasTest strategy and test areas
Test tools and distribution vehiclesTest tools and distribution vehicles
Justin Slone, Microsoft – Justin Slone, Microsoft – XPS ConformanceXPS Conformance
Jim Zuber, QualityLogic – Jim Zuber, QualityLogic – XPS XPS Test StrategiesTest Strategies
Should leave today withShould leave today withAwareness of the test areasAwareness of the test areas
Awareness of the available test toolsAwareness of the available test toolsAssumes basic familiarity with v3 print driver Assumes basic familiarity with v3 print driver architecture and the new XPSDrv print pathsarchitecture and the new XPSDrv print paths
Test StrategyTest Strategy
Facilitate quality driver developmentFacilitate quality driver development
Facilitate Windows Logo qualificationFacilitate Windows Logo qualification
Test Strategy ImplementationTest Strategy Implementation
Microsoft to provide in Windows Driver Microsoft to provide in Windows Driver Kit (WDK)Kit (WDK)
Test tools for format conformanceTest tools for format conformance
Baseline XPS contentBaseline XPS content
Test tools targeting print driver (and device) Test tools targeting print driver (and device) robustness and securityrobustness and security
Improve print driver quality by using Improve print driver quality by using Application VerifierApplication Verifier
Test AreasTest Areas
GDI-based print drivers and devicesGDI-based print drivers and devicesRobustness and securityRobustness and security
PrintTicket conformance and manipulationPrintTicket conformance and manipulation
XPSDrv print drivers and devicesXPSDrv print drivers and devicesRobustness and securityRobustness and security
XPS conformance and manipulationXPS conformance and manipulation
PrintTicket conformance and manipulationPrintTicket conformance and manipulation
XPS Content Library for printingXPS Content Library for printingConformant XPS content from Conformant XPS content from diverse producersdiverse producers
Not conformant or invalid XPS contentNot conformant or invalid XPS content
Driver or printer device rendering testsDriver or printer device rendering testsPGremlin and PGremlin2 rendering testsPGremlin and PGremlin2 rendering tests
Print Area testPrint Area test
Photo Print testPhoto Print test
Cancel Job testCancel Job test
Test Tools Summary Test Tools Summary
Easy to use test tools are available nowEasy to use test tools are available now
They cover a wide range of test areasThey cover a wide range of test areas
XPS and PrintTicket conformance tools XPS and PrintTicket conformance tools are critically importantare critically important
XPS Conformance XPS Conformance And isXPSAnd isXPS
Justin SloneJustin SloneTest Development EngineerTest Development EngineerDigital Documents Platform and SolutionsDigital Documents Platform and Solutions
XPS ConformanceXPS Conformance
XPS conformance enabled throughXPS conformance enabled throughStrict standard, strict test tools, Strict standard, strict test tools, strict implementationsstrict implementations
isXPS.exeisXPS.exe (codenamed (codenamed isReachisReach) is a ) is a strict test tool designed and developed strict test tool designed and developed by Microsoftby Microsoft
Assists in determining if an XPS Assists in determining if an XPS document conforms to the document conforms to the XPS specificationXPS specification
Process package relationshipsProcess package relationshipsDigital SignaturesDigital Signatures
Core PropertiesCore Properties
ThumbnailsThumbnails
EtcEtc
_rels/.relsDocThumb.jpg
_rels/FixDocSeq.fdseq.rels
Image_1.jpg Font_0.ttf
_rels/1.fpage.rels
Package Root
FixDocSeq.fdseq
FixDoc.fdoc
1.fpage
Conformance ChecksConformance Checks
XPS validationXPS validationStart from Start from fixedrepresentationfixedrepresentation relationshiprelationship
Validate markup of FixDocSeqValidate markup of FixDocSeqFollow <DocumentReference> Follow <DocumentReference> to FixedDocsto FixedDocs
Validate markup of FixDocValidate markup of FixDocFollow <PageContent> Follow <PageContent> to FixedPagesto FixedPages
Validate markup of 1.fpageValidate markup of 1.fpageDiscover Resource PartsDiscover Resource Parts
FixDocSeq.fdseq
FixDoc.fdoc
1.fpage
_rels/.relsDocThumb.jpg
_rels/FixDocSeq.fdseq.rels
Image_1.jpg Font_0.ttf
_rels/1.fpage.rels
Package Root
Conformance ChecksConformance Checks
Markup referencesMarkup references Font referencesFont references
Image referencesImage references
ICC profile referencesICC profile references
Resource dictionariesResource dictionariesProcessing similar to a FixedPageProcessing similar to a FixedPage
Process relationships from Process relationships from FixedPage partFixedPage part
Confirm that there are matching Confirm that there are matching required-resourcerequired-resource relationships to relationships to all markup referenced partsall markup referenced parts
FixDocSeq.fdseq
FixDoc.fdoc
1.fpage
_rels/.relsDocThumb.jpg
_rels/FixDocSeq.fdseq.rels
Image_1.jpg Font_0.ttf
_rels/1.fpage.rels
Package Root
Most Common UsageMost Common Usage
Most Used SwitchesMost Used Switches-f=<-f=<FilePatternFilePattern> >
The file on which to perform the validationThe file on which to perform the validation
e.g. file.xps or *.xpse.g. file.xps or *.xps
/s/sApply Apply FilePatternFilePattern to all subdirectories to all subdirectories
-logger:<-logger:<LogTypeLogType> > The logger to use (File, Console, WTT)The logger to use (File, Console, WTT)
-logfile:<-logfile:<LogFileLogFile>>The log file to write to when using the File loggerThe log file to write to when using the File logger
Default logfile is “isXPSLog.txt”Default logfile is “isXPSLog.txt”
isXPS isXPS LogfileLogfile
+Start Test: /Documents/1/Pages/3.fpage Markup Info: Validating Markup of Part 3.fpage using target namespace … Fail: Markup is not Conformant: Number of errors: 1 Info: Error #1: At position (4,93) Message: The ‘Stretch’ attribute is not declared.-End Test: /Documents/1/Pages/3.fpage Markup Result: Fail
Identify the symptomsIdentify the symptomsIs it a crash or a visual anomaly?Is it a crash or a visual anomaly?
Do you get an error report?Do you get an error report?
Try viewing the file in the XPS ViewerTry viewing the file in the XPS ViewerDoes the same error occur?Does the same error occur?
Get a big picture viewGet a big picture viewUnzip – What parts are in the package?Unzip – What parts are in the package?
Statistics – Stream sequence and Statistics – Stream sequence and element usageelement usage
XPS Consumer AnalysisXPS Consumer Analysis
Schema ValidationSchema ValidationMicrosoft’s Microsoft’s isXPS isXPS program will quickly program will quickly validate the schema, as well as relationships validate the schema, as well as relationships and resource file integrityand resource file integrity
Test Code FragmentsTest Code FragmentsIf problem also occurs in XPS Viewer, cut If problem also occurs in XPS Viewer, cut and paste suspect markup into XamlPad to and paste suspect markup into XamlPad to isolate problemisolate problem
XPS Consumer AnalysisXPS Consumer Analysis
Problem occurs only in device under testProblem occurs only in device under testUse ZIP utility and XML Editor to modify the Use ZIP utility and XML Editor to modify the XPS markup in the containerXPS markup in the container
Reduce to smallest number of XPS elements Reduce to smallest number of XPS elements that reproduce problemthat reproduce problem
Suspect PrintTicketsSuspect PrintTicketsExtract PrintTicket part and run Extract PrintTicket part and run PTConformPTConform to find syntax problemsto find syntax problems
Use PrintTicket editor to modify PrintTicket Use PrintTicket editor to modify PrintTicket settings inside container to isolate problemssettings inside container to isolate problems
SummarySummary
XPS has the potential to quickly achieve a XPS has the potential to quickly achieve a high degree of interoperabilityhigh degree of interoperability
Tools are available NOW to start testing Tools are available NOW to start testing and debugging your XPS implementationsand debugging your XPS implementations
Call To ActionCall To Action
Familiarize yourself with XPS and PrintTicket Familiarize yourself with XPS and PrintTicket specifications and XPSDrv technology specifications and XPSDrv technology in particularin particularUse Microsoft test tools to validate your Use Microsoft test tools to validate your implementationsimplementationsBe ultra strict as far as XPS and PrintTicket Be ultra strict as far as XPS and PrintTicket conformance is concernedconformance is concernedTest for compatibility now!Test for compatibility now!
Test the GDI Print Path, XPS Print Path, and Test the GDI Print Path, XPS Print Path, and compatibility pathscompatibility pathsTest your company’s XPSDrv and Test your company’s XPSDrv and XPS-capable printersXPS-capable printersReport problems immediatelyReport problems immediately
Invest in testing – it pays out!Invest in testing – it pays out!
Call To ActionCall To Action
Understand your company logo goals and review new Understand your company logo goals and review new logo requirementslogo requirements
Basic and PremiumBasic and Premium
At WinHECAt WinHECPractice driver dev and testing skills in XPS Printing hands Practice driver dev and testing skills in XPS Printing hands on labson labs
Ask the Experts at lunch todayAsk the Experts at lunch today
Visit the Microsoft Pavilion to see XPS demos Visit the Microsoft Pavilion to see XPS demos
Attend related sessionsAttend related sessionsPRI050 Inside Printer Installation on Windows VistaPRI050 Inside Printer Installation on Windows Vista
PRI039 Using the Windows Color System in Device DriversPRI039 Using the Windows Color System in Device Drivers
PRI102 Using XPSDrv Print Drivers to Extend Windows PRI102 Using XPSDrv Print Drivers to Extend Windows Print FunctionalityPrint Functionality
Windows Digital Documents Platlform Team Newsletter Windows Digital Documents Platlform Team Newsletter https://profile.microsoft.com/RegSysProfileCenter/subscriptionwizard.aspx?wizidhttps://profile.microsoft.com/RegSysProfileCenter/subscriptionwizard.aspx?wizid=77d9786e-9500-40a4-ba20-a4c7504d83ca&lcid=1033=77d9786e-9500-40a4-ba20-a4c7504d83ca&lcid=1033
it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.