General information
Category:
Coding, syntax & commands
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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only