Richard,

 > Is there a way I can send raw postscript (i.e. my file) to the printer
 > for a try?

Ah yes I was forgetting about the filtering.

Create a new postscript print q to your printer that does *not* use the 
foomatic/PPD stuff, something like ...

   # lpadmin -p <printer> -T PS -I postscript -D "No PPD" \
     -m netstandard -o dest=<printer> -o protocol=tcp -v /dev/null
   # accept <printer>
   # enable <printer>

   (I think that's right - Norm/Wendy ? or is there a better way?)

and then send your ps file to that printq telling 'lp' it is of type 
'postscript', something like (so it doesn't filter it) ...

   # lp -d -c -T postscript hp2840-file.ps

Regards
Paul


Richard PALO wrote:
> Paul Cunningham wrote:
>> Richard PALO wrote:
>>> Well,  after installing the postscript driver found on the HP site on 
>>> windows (its was only PCL before), I printed the webpage with duplex 
>>> 'on' to a postscript file [attached]...
>>>
>>> does this give any more indication?
>>
>>
>> The postscript file (hp2840-windoze.ps) from ms windows seems to have 
>> the following stuff in it relating to "Manual Duplex" ....
>>
>>   @PJL SET MANUALDUPLEX=ON
>>   ....
>>   ....
>>   featurebegin{
>>   %%BeginFeature: *HPManualDuplexDialogItems
>>                   InstructionID_01_FACEDOWN-NOROTATE
>>   %%EndFeature
>>   }featurecleanup
>>   ....
>>   ....
>>   featurebegin{
>>   %%BeginFeature: *HPManualDuplexDialogModel Modeless
>>   %%EndFeature
>>   }featurecleanup
>>   featurebegin{
>>   %%BeginFeature: *HPManualDuplexPageOrder EvenPagesFirst
>>   %%EndFeature
>>   }featurecleanup
>>   ....
>>   ....
>>   featurebegin{
>>   %%BeginFeature: *ManualDuplex True
>>   %%EndFeature
>>   }featurecleanup
>>   ....
>>   ....
>>   ....
>>
>>
>> I'm wondering if its the PJL (Printer Job Language) line at the top of 
>> the ps file that actually makes it work in "Manual Duplex" mode on MS 
>> Windows.
>>
>> Have you tried sending that ps file to the printer on your solaris box 
>> ? Eg. ...
>>
>>   > dos2unix hp2840-windoze.ps hp2840-file.ps
>>   > lp -d myprinter hp2840-file.ps
>>
>> and does it work "Manual Duplex" then?
>>
>> If it does you could try removing the PJL line and see if it still works?
>>
>> If that still works, try removing all the HPManualDuplex* features 
>> lines from the file, leaving the '*ManualDuplex True', and see if it 
>> still prints in "Manual Duplex" mode ?
> 
> 
> Unfortunately, the initial file doesn't print duplex, neither do the 
> subsequent tries...
> I must imagine that there is some "filter" getting in the way. No? 
> (foomatic?)
> Is there a way I can send raw postscript (i.e. my file) to the printer 
> for a try?
> 
> 

Reply via email to