bibhas / sampleraster Goto Github PK
View Code? Open in Web Editor NEWThis project forked from fruitsamples/sampleraster
This project forked from fruitsamples/sampleraster
The SampleRaster project implements a CUPS printer driver that simulates a typical CMYK inkjet raster printer. The driver provides the following components: - CUPS raster filter (rastertosample) - CUPS command filter (commandtosample) - CUPS backend (sampletopdf) - Cocoa-based printer utility application (SampleUtility.app) - Cocoa-based print dialog plugin (SampleRasterPDE.bundle) - Printer icon - ICC color profiles - iPhoto/Preview printer presets - Custom printer-state-reason keywords - On-line help - Driver information file (sample.drv) which is compiled into a PPD file (sample.ppd). The CUPS backend is provided for testing purposes only. Most printer drivers do not require their own backend - the system-supplied backends handle all standard interfaces and network protocols for printing - and very few backends are as complicated as the sampletopdf backend. INSTALLATION You must be running Mac OS X 10.6 or higher to compile or install from source. The "makepackage.sh" script can be used to create an installable driver package, or you can just install from source directly with the following command: sudo xcodebuild -target SampleRaster -configuration Debug_10.6 install DSTROOT=/ Once you have installed the software, open the Print & Scan preference pane and click on the "+" button to add a printer. Choose the "Sample Raster Driver" listing from the list and click "Add". NOTES Products requiring PPC support must be built on 10.6.x or 10.5.x using XCode 3. Products with only Intel support can be build with 10.6.6 or later using Xcode 4. The ink level monitoring supported by the printer utility and help will only work with Mac OS X 10.5.3 and higher. The driver as a whole works with Mac OS X 10.6 and higher. Builds targeting Mac OS X 10.6 and higher use the Grand Central Dispatch version of the ink level monitoring code. The backend writes the virtual printed pages to PDF files in a per-queue directory in /Library/Caches, typically /Library/Caches/Sample_Raster_Driver if the default printer name is used when you add the printer. If you use this sample project as the start point for your product, before releasing your product, make sure you adjust the VALID_ARCHS value of each target in the project file and the RC_ARCHS value to be passed to 'xcodebuild' in your build script, based on the versions of OS you support.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.