Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Custom Size Problem
Message
De
11/02/2006 09:38:00
 
 
À
11/02/2006 08:14:37
Reza Meamar
Homa Programming Group
Shiraz, Iran
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Database:
Visual FoxPro
Divers
Thread ID:
01095128
Message ID:
01095632
Vues:
19
Reza,

Yes, new problems started showing up with custom forms in XP that used to work okay in Win98 for me and my clients also.

The only way I've been able to get them to work consistantly is to open the report as a table and delete the contents of the fields Expr, Tag, and Tag2 of the first record. Have you tried this?

Everytime you open the report in the Report Designer, the printer information is put back into these fields so you need to check the fields and delete their contents anytime the printer information reappears.

Dale

>Dear Dale,
>I see if i use from LQ-2170 my custom size is present in dropdown list. it is ok for me.
>But now another problem.
>I set PaperSize=256 ( custom paper size ) in my report in WIN98. but when i make a custom paper size in WINXP and set my report to it, and when i check value of PaperSize in report it is 138 (For example).
>i have a big width report that i must install a big printer (LQ-2170) and only when user want to see this report, i set the printer to LQ-2170 and run report.
>so i return to default printer.
>it work very good in WIN98. But in WINXP because the PAPERSIZE is not equal to 256,
>some portion of report is not showing.
>EXCUSE ME FOR MY ENGLISH!
>i use from below code in my program:
>
>
>IF thisform.optiongroup2.value = 1  && User Select to see report in big size
>   NumOfInstalledPrn = APRINTERS(gaPrinters)
>   Found2170Prn = .F.
>   IF NumOfInstalledPrn > 0
>      FOR PrnCounter = 1 TO NumOfInstalledPrn
>          IF AT("2170",gaPrinters(PrnCounter,1)) <> 0
>             SET PRINTER TO NAME (gaPrinters(PrnCounter,1))
>             Found2170Prn = .T.
>          ENDIF
>      ENDFOR
>   ENDIF
>
>   IF !Found2170Prn
>      = MsgGet(5837)  && You Must Install LQ-2170 with 3530 * 2790
>   ELSE
>      &FirstRepPart   && preview Report
>   ENDIF
>
>   SET PRINTER TO DEFAULT
>   RELEASE NumOfInstalledPrn, Found2170Prn, NumOfInstalledPrn, PrnCounter, gaPrinters
>ELSE
>   &FirstRepPart
>ENDIF
>
>
>Please help me as soon as possible
>Thank you very much
>
>
>>I checked in the page setup of a report, and I see what you mean. A custom paper size named billing did not show up.
>>
>>In the paper size window of the report printer setup, I typed the letter b and opened the dropdown and it was there?? Strange!
>>
>>Hopefully this will work for you.
>>
>>>Yes , I use from "Save Form" and i can see defined size in "Print Server Properties" window, but it is not show in page setup window.
>>>
>>>
>>>>What I meant to say was, between your Steps 4 and 5 to define the custom paper size there is a "Save Form" button on the Print Server Properties screen that is used to save your new custom size form.
>>>>
>>>>That's the only thing I can see that would prevent it from showing up in the page setup of your report.
>>>>
>>>>>i set printer setting in report manually . i want to can select custom paper size from list in page setup. but the created custom size is not present in list of page setup.
>>>>>
>>>>>>The only thing that appears to be missing is you don't mention saving the new form after you have created it??
>>>>>>
>>>>>>>Hi all,
>>>>>>>I want to define custom paper size in WinXP/2000
>>>>>>>I do below steps :
>>>>>>>1 - Start menu, Setup, Printers option.
>>>>>>>2 - File menu, Server Properties option.
>>>>>>>3 - Check "Create New Form" and type one name.
>>>>>>>4 - Type the size you need.
>>>>>>>5 - Go in your report and change the paper size for the new paper size.
>>>>>>>
>>>>>>>but when i go in my report and want to change paper size, i can not see this new size and it is not in the paper size list?
>>>>>>>what i must to do?
>>>>>>>i have a form that is designed in WIN98 with Custom paper size (3530*2790 on LQ-2550) and with below setting:
>>>>>>>
>>>>>>>DRIVER=
>>>>>>>DEVICE=
>>>>>>>OUTPUT=
>>>>>>>ORIENTATION=0
>>>>>>>PAPERSIZE=256
>>>>>>>PAPERLENGTH=2790
>>>>>>>PAPERWIDTH=3530
>>>>>>>DEFAULTSOURCE=8
>>>>>>>
>>>>>>>it work correctly in WIN98 but not in WINXP.
>>>>>>>Thanks for your help
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform