Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Escape Codes (PCL) within Report Designer
Message
De
18/07/2001 12:02:25
 
 
À
18/07/2001 08:21:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00531924
Message ID:
00532066
Vues:
13
>Greetings,
>
>I am trying to add PCL- (HP Printer Control Language ver 5) to the Report Designer, example: to print out (secure) Signature Font. Storing (the known PCL) in a cursor or variable has not worked, nor has browse myreport.frx . Also I have viewed (hex editor) "myreport.prn" {report form myreport to file myreport.prn} and can see the PCL code but difficult to understand, and know where to insert desired code.
>
>Welcome: Suggestions / Help
>
>Sincerely,
>Arthur

Hi Arthur,
I was trying to once simillar thing but for ordinary matrix printers
e.g. sending control sequences to matrix printer. Result - no way directly from
frx. What I did manage to do is to send control sequences to printer but prior & after shooting frx.

***something like this changes size of paper to six inches
local aa
aa=getprinter() &&select printer
set printer to name (aa) &&selected (matrix) printer
set printer to
??? CHR(27)+CHR(67)+CHR(0)+CHR(6)
set printer to name (aa)
report form myreport.frx to printer
*** this is just a hint - code is taken out of context

I never tried with laser printer but it might help you fish out something.
Good luck
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform