Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Use Ed Rauh's Dirprtclass class librarry. It's excellent and I use it for direct printing.
>Hi friends
>
>Till now I was printing codebar labels through Clipper with these simple instructions:
>
>SET PRINTER TO (PORT)
>SET DEVI TO PRINT
>? NARCHI
>
>"NARCHI" is a variable that contains a set of particulars commands which cause nice codebar labels are printed.
>
> Now I want to do the same in VFP. Since I have no problems to print other documents on LPT1 I thought this would work
>
>SET CONSOLE OFF
>SET PRINTER TO NAME (ETIQ_PIMP)
>SET PRINTER ON
>SET DEVICE TO PRINT
>
>?? NARCHI
>
>SET PRINTER OFF
>SET CONSOLE ON
>SET DEVICE TO SCREEN
>SET PRINTER TO
>
>But printer prints literal commands
>
>I create a file with the same commands I'm sending to print. If I try to print that file from DOS it prints correctly.
>
>I know I could try to print that file using COPY FILE NARCHI TO LPT1.DOS and it will work but I must considere perhaps a non LPT printer could be used.
>
>Any idea?
>
>Thank you.
>
> Héctor
Précédent
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