Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement