Skip to content

rjungbeck/rasterizer

Repository files navigation

Rasterizer

Features

  • Rasterize PDF files (page by page) into PNG files.
  • Convert PNG file into printer specific PRN file with Windows printer driver.
  • Convert PNG into PCX or RLL file
  • Command line and pipe interface

Command Line

rasterizer --help

rasterizer convert [<option>]... <pdf> <pngPrefix> 
    --help
    --angle <angle>
    --resolution <resolution>
    --xdelta <xdelta>
    --ydelta <ydelta>
    --aalevel <aalevel>
    --prnPrefix <prnPrefix>
    --pcxPrefix <pcxPrefix>
    --rllPrefix <rllPrefix>
    --printer <printerName>

rasterizer pipe
    --help
    --angle <angle>
    --resolution <resolution>
    --xdelta <xdelta>
    --ydelta <ydelta>
    --aalevel <aalevel>
    --printer <printer>
    --page <page>
    --pngPrefix <pngPrefix>
    --prnPrefix <prnPrefix>
    --tmpPrefix <tmpPrefix>
    --pcxPrefix <pcxPrefix>
    --rllPrefix <rllPrefix>
    --keep <keep>
    
rasterizer.exe serve
    --help
    --port <httpPort>
    
rastersvc.exe -p <port> install

rastersvc.exe -p <port> update

rastersvc.exe remove

rastersvc.exe start

rastersvc.exe stop

rastersvc.exe restart
    
rastersvc.exe debug

Technology

Python program using ctypes for interfacing with mupdf library and Windows GDI. The web server uses Twisted.

Releases

No releases published

Packages

No packages published