Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Receipt Report
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00594001
Message ID:
00594102
Views:
30
Modify the report and click on File [VFP menu], Page Setup. Then click the Print Setup button. You can select a user defined size for your report there. OK out of all that and save the report [you may want to do this on a copy of the report because you can trash it real easy this way].

Open the report -- use myrepo.frx -- and browse it. Edit the EXPR field. You should see a PaperLength property.

What kind of printer is this? Is it a real receipt printer? If so, what kind?

>>Next open the report - use myrepo.frx. Look in Expr field. Their you will see the properties you need to manipulate. Delete the DRIVER, DEVICE and OUTPUT lines. Replace the TAG and TAG2 fields with nothing.
>
>>How did you set the length in the first place?
>

>That's the same thing that Steve Gibson had me try with clearing out those properties and fields. Clearing those fields doesn't seem to make a difference. I don't have a property in the Expr field call PaperLength. This is what I do have
>
>DRIVER=
>DEVICE=
>OUTPUT=
>ORIENTATION=0
>PAPERSIZE=48
>DEFAULTSOURCE=15
>YRESOLUTION=180
>TTOPTION=2
>COLLATE=0
>
>I set the papersize based on options that I have from the printer driver. All are fixed width and height.
>
>The options that I have are:
>
>6 in Page 3.14 x 6 in
>A4 Length 80x297mm
>B5 Length 80x257mm
>Executive Length 3.14 x 10.5 in
>Letter Length 3.14 x 11 in
>Receipt Length 80 x 3276mm
>Reserved48
>Reserved49
>
>I've tried them all, both setting them as default for the printer and on the report. And also trying them as the default for the printer, with the blank entries from above.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform