Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing Labels
Message
De
13/04/2005 23:48:09
Ignatius Ong
Hock Tong Bee Pte Ltd
Singapore, Singapour
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Printing Labels
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows '98
Database:
Visual FoxPro
Divers
Thread ID:
01004463
Message ID:
01004463
Vues:
77
Hi Friends

I need help.

Problem: Printing a label (size 4cm(L) x 7cm(W)) on NEC Pinwriter P2200 printer, after printing, the paper scroll to the next page. I want it NOT to scroll but remain at the position after printing

I have tried the following program

SET CONSOLE OFF
SET DEVICE TO PRINTER
SET PRINTER TO NAME (lcPrinterName)
SET PRINT ON

SET PRINTER FONT 'Courier New', 10
?'Company Name'
SET PRINTER FONT 'Courier New', 8
?'Address 1'
?'Address 2'
?'Country'
?'ZipCode'
?''

SET PRINT OFF
SET PRINTER TO
SET DEVICE TO SCREEN
SET CONSOLE ON

While this print the label in the format I want. The printer eject a full A4 size carriage return so that I have a big gap between printing labels.

Any way to stop the page eject in VFP6??

I also tried using ??? directly accessing the printer and supplying the printer with codes eg. CHR(10) for advance papaer one line, etc . While this way works perfectly, my program will be dependant on the printer NEX pinwriter P2200. I want to make it printer independant. Any help??

Thank you.

Ignatius Ong
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform