Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows XP and Dot Matrix printers
Message
De
11/07/2002 08:34:22
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00676715
Message ID:
00677473
Vues:
22
Yes, I'm testing Sergey's idea now. I already check for registry values in other areas of my app, so I will check for this value and add it if it does not exist and see if that works. I haven't been able to test it across all of the OSs we have out there yet though. I'll let you know!

Tracy

>Tracy,
>Thanks for your help and I think , the ability to set up forms in Xp, should solve my problem.
>
>As to yours:-
>
>I noticed one of the replies indicated that these forms are set up in the registry. If your main program did somethiung like the following:
>
>
>If MySpecial_Form exists in the registry
> Dont do anything
>Else
> Add My Form to the registry
>Endif
>
>(I have seen utiities that can update the Registry but have not used any of them)
>
>I'd be interested to know if this, or any other method, solves your problem.
>
>Regards,
>
>Gerard
>
>
>
>
>
>
>
>
>
>>Actually, that was answered in another message in this thread. It is done under settings, printers, file, server options. You have to create a new formsize and that works in Windows 2K and Windows XP. The problem is that I need to do it programmatically from within VFP during an install or upgrade so the form exists on all machines that run my app. We're talking anywhere from 700-1200 systems or more where the app is installed via the net or from a cd and I need to automate creating the formsize somehow. There must be a way!
>>
>>Tracy
>>
>>>Tracy,
>>>What I said about Xp I think also applies to Win2000 (I had forgotten )
>>>
>>>In Win 98, when you went into the Printer Driver , and selected Paper Size, there was usually Letter, A4, Us Std Fanfold but also an option called User Defined, where you could specify both the Height and the width.
>>>
>>>I usually went in here and defined a new printer with the exact dimensions that I wanted. I then pointed the FRX to this and it worked fine.
>>>
>>>But now , In Xp (and 2000) the option for User defined Size is gone !!
>>>I could not face at this stage going back to @ say ....surely there must be another way !!!!
>>>
>>>regards,
>>>
>>>Gerard
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>>Under W2k were you printing reports on special size paper using the VFP report generator? Or were you using ?? or @...says to accomplish the printing? I have had to use ?? or @...says to print to special sized paper in w2k so I would be interested in knowing your solution in Windows 2000. It is my understanding that in Windows 2000, Windows NT, and Windows XP (all NT really) that the form has to be setup in windows as a pagesize in order to do this.
>>>>
>>>>Tracy
>>>>
>>>>>Has anybody a solution to this probelm ?
>>>>>
>>>>>Our clients use Dot Matrix printers a lot for printing forms (e.g. Multiple part Invoices, Delivery dockets etc (Different clours on each part)
>>>>>
>>>>>Up to Win XP, the Printer Drivers worked because there was always an option within the Printer driver called 'Form Depth'. So if a form was 6 inches, a Printer could be set up for this.
>>>>>
>>>>>I cant find this anywhere now in XP, with any of the printer drivers.
>>>>>
>>>>>Any help appreciated.
>>>>>
>>>>>Regards,
>>>>>
>>>>>Gerard
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform