Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>>If I load the Window 98 driver, or laserjet 4 driver the
>> command simply prints in the footer instead of executing the PCL.
>> I've tried calling a UDF to send the PCL codes, but that sends
>> a separate job to the printer instead of imbedding the code
>> into the print job of the report. Any comments are appreciated.
>
>You should be able to use UDF() in your report form
>which sends the PCL code to the printers.
>
>the field on report form:
>
> pclcode(1)+TABLE1.FIELD1
>
>where pclcode() is:
>
>function pclcode
>parameter m.select
> do case
> case m.select=1
> ?? chr(27)+...
> case m.select=2
> ?? chr(27)+...
> endcase
>return ""
Thanks for the help. When I have tried this in the past, it seems to send PCL commands outside of the report print job. In other words, if I watch the print manager, I will see the report print job and then a separate job with the PCL code. However, I used ??? not ??. Do you think this makes a difference? I know I can get it to work if I bypass the print driver and just copy the ASCII file to the printer, but I would really prefer to use the windows driver.
Marcus.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement