From: Mark H. <ha...@us...> - 2003-04-04 17:10:00
|
> In other words, it's trying to use the compiled mode, not the XML > mode. What am I doing wrong? Yes. The -sDeviceName=XXX is the parameter to say which device library to use. The compiled devices are still valid but are not compiled by default. Instead the is only one device library (libXMLOmniDevice.so) now. This device library can emulate any omni device with a required job property XMLMasterFile=XXX. So, the correct gs options are: gs -q -dPARANOIDSAFER -dBATCH -dNOPAUSE -sOutputFile=- -sDEVICE=omni -sDeviceName=libXMLOmniDevice.so -sproperties='XMLMasterFile="/opt/Omni/share/IBM Infoprint 70.xml" form=iso_a4_2100.00x2970.00mm tray=TRAY_AUTO media=MEDIA_PLAIN resolution=600x600 printmode=PRINT_MODE_1_ANY dither=DITHER_STUCKI_DIFFUSION orientation=portrait HardwareScaling=0' - I have put a new docs/Usage and OmniDeviceOptions.cpp in CVS to make it easier for users. Mark Take a look at the Linux Omni Printer Driver Framework at http://www.ibm.com/linux/ltc/projects/omni/ |