Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printer Object
Message
De
30/09/1999 14:38:05
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Titre:
Printer Object
Divers
Thread ID:
00271242
Message ID:
00271242
Vues:
46
Hi everybody. I'm having problem with printing. I'm making a printing module that will print invoices. I am currently using the Printer object. Everything work's fine (Printer.CurrentX, CurrentY...) except for a single thing. When I have finish with the printer object and sending the job to the printer (EndDoc), the printer always seems to think that the page is 8.5 X 11 (or something like that). But my paper is not. My printer is a Fujitsu DL3800 and it's a Pin Printer. That meens that it's not suppose to have the concept of "page" , my invoices are 9 by 4 and the printer should never put blanks between pages. I don't know if I'm clear ...I have try to set the printer directly (on the printer...) to tell him that my pages are 4 inches height but windows seems to override thoses setting. I have also try to put it in my code by setting the ScaleHeight but it still "ejecting" the page after the printing job. My question is : Is there any way, in VB, to tell to the printer no to make an "NewPage like" (simply to tell to the cursor of the printer to stay where he is). I also have try to print on about 5 invoices but because the printer is trying to fit the output in one page (I think that's the reason...) the output is "off set" on every invoice. Any help will be really appreciate cause I think that I'm gonna find another job to code in MS-DOS...

Patrice Merineau
Répondre
Fil
Voir

Click here to load this message in the networking platform