VASmalltalk – Ghostscript wrapper

Assuming that you have read all the postings over the last two days it should be clear, that I am working on my Ghostscript wrapper code. I published now a new version of the Ghostscript wrapper and now “gsprint” is also wrapped.

Not all options are tested – but the stuff is working.

Example for usage:

| instance |
	
instance := MSKGSPrintWrapper new initialize.
	
instance
  printer: 'myprintername' ;
  copies: 1 ;
  print: 'f:\mypdffile.pdf' hidden: true

The printing blocks the calling process. Therefore you should put it into a Smalltalk background process – good for server usage.

Actually only tested under Windows – and you need the Registry product from TotallyObjects.

This entry was posted in Smalltalk and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s