Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows XP and Dot Matrix printers
Message
De
10/07/2002 08:51:42
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
10/07/2002 08:37:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00676715
Message ID:
00677001
Vues:
26
>Yes, this is how I'be been doing it in development. However, I need the formsize available on all workstations when the app is distributed too. Is there anyway to do that programmatically from within VFP7?

For my own purposes, when the user uses a dot-matrix printer, he usually wants to print in text-mode.

Sending codes to the printer sets the page-length, as far as the printer is concerned.

For instance: sending ESC (i.e., chr(27)) + "C" + chr(33) will set the printer to 33 lines - half the standard of 66. If I later issue chr(12) (form-feed), the printer will advance to the next half-page.

However, all this is only if you print in text-mode. Also, I didn't test this under Windows XP.

Regards, Hilmar.

>
>TIA,
>Tracy
>
>>In Win2K or WinXP, to set up custom paper size: Select Printers and Faxes from the "Start" button. Then select "Server Properties" from the "File" menu. From the "Forms" tab of the next screen, you can create a new form.
>>
>>>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
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform