OS/2 port of CUPS

Paul Smedley paul at smedley.info
Sun Nov 12 01:42:05 PST 2006


Paul Smedley wrote:
> Paul Smedley wrote:
>> Michael Sweet wrote:
>>> Paul Smedley wrote:
>>>> ...
>>>> I'm been mucking around some more with pstoraster.  TO grab to debug 
>>>> output, I appended 2>debug to the command line run.
>>>>
>>>> The log is at http://smedley.info/debug - it dies with:
>>>> Unexpected interpreter error -12.
>>>> Error object: (f80)op(0)0x221cb3
>>>> Operand stack at 0x8f23d0:
>>>> 0x8e69b4: 0x03 file --S-rx--- 0x0001 0x008d6fb0
>>>> 0x8e69bc: 0x03 file --S-rx--- 0x0001 0x008d6fb0
>>>> 0x8e69c4: 0x12 str  --Gwrx--- 0x0004 0x009acc9d = %!
>>>>
>>>> Any ideas?
>>>
>>> No clue.  ESP Ghostscript has only been tested on UNIX/Linux.
>>>
>> OK I'm sure I'll work it out eventually.  Can you help with syntax for 
>> the various programs in order to test from the command line? ie 
>> rastertohp & lpd?  Some of the options are straightforward, others not 
>> so.  ie how to tell lpd which printer to print to?
> 
> OK I worked out how to drive rastertohp from the command line - and 
> checked the pcl output with a PCL viewer and it's OK.
> 
> What about lpd?
> 
> I know to set the environment variable: DEVICE_URi=lpd://192.168.1.253
> but when I call:
> lpd 127 psmedley dilbert 1 options=any output.pcl
> I get:
> ERROR: Unable to reserve port: Invalid argument
> 
> So obviously I'm missing something...

OK I found the missing link in lpd.exe and printing images (ie lpr -P 
ljet image.jpg -o fitplot) works perfectly.... now to diagnose my 
pstoraster problems!

Cheers,

Paul.




More information about the cups-devel mailing list