Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing Customer Paper Size In Windows 2000
Message
From
08/02/2001 21:02:49
 
 
To
08/02/2001 03:32:55
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00473825
Message ID:
00474289
Views:
32
>This may be not a suitable place to ask, but I've got an VFP application printing on custom paper size, and there is no where (may be just I can't find it) to set a custom paper size in Windows 2000??
>
>TIA



Normal Way to do:

At Report Designer, File Menu -> Page Setup -> Printer Information -> Paper Size Tab.....


Hacker way to do:
Open the frx file and assign the information directly!
Backup b4 you do if you are beginner!
Use MyReport.Frx
* As the Printer Info. at Record 1, (Oh yes! frx is a VFP table!)
Blank Field expr, Tag, tag2
Replace expr with [PAPERSIZE=256] + CHR(13) + ;
      [PAPERLENGTH=2970] + CHR(13) + ;
      [PAPERWIDTH=2100] + CHR(13)
* PaperSize 256 is Custom Size Flag
* Length and Width are in 0.1 mm, Above is Std A4 size, 29.7 x 21 cm
* If you need Landscape, Add [ORIENTATION=1]
Use && Close the file!



but One thing I need to mention:
Custom Papersize will Cause FORMFEED per page automatically and Un-Controllable!

If your report is receipt with continuous paper..... ~_~
You need to drop this report and use coding to print!

Anyway, I use up to Win 98 only, it may be different in W2k!
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Previous
Reply
Map
View

Click here to load this message in the networking platform